Skip to content

chore: add installer for FlowState-TM Claude Code skill#5

Open
itinsecurity wants to merge 1 commit into
mainfrom
chore/claude-skill-installer
Open

chore: add installer for FlowState-TM Claude Code skill#5
itinsecurity wants to merge 1 commit into
mainfrom
chore/claude-skill-installer

Conversation

@itinsecurity
Copy link
Copy Markdown
Owner

Summary

  • Adds scripts/install-claude-skill.sh, which converts .github/prompts/threat-model.prompt.md into a user-level Claude Code skill at ~/.claude/skills/flowstate-tm/SKILL.md. The script strips the existing VS Code prompt frontmatter and prepends Claude Code skill frontmatter, so the body stays in sync with the source prompt.
  • Adds a minimal .gitattributes (*.sh text eol=lf) so the script keeps LF endings on Windows checkouts and stays runnable under Git Bash / WSL / *nix.

Usage

./scripts/install-claude-skill.sh

After install, restart Claude Code and invoke with /flowstate-tm (or just ask for a threat model).

Test plan

  • Run ./scripts/install-claude-skill.sh from a fresh checkout on Linux/macOS and confirm ~/.claude/skills/flowstate-tm/SKILL.md is created with new frontmatter + original body.
  • Run from Git Bash on Windows and confirm the same result.
  • Re-run the script and confirm it overwrites cleanly (idempotent).
  • In Claude Code, verify the skill appears in the available skills list and that /flowstate-tm triggers it.

🤖 Generated with Claude Code

Adds scripts/install-claude-skill.sh, which converts
.github/prompts/threat-model.prompt.md into a user-level Claude Code
skill at ~/.claude/skills/flowstate-tm/SKILL.md so threat-model
guidance is available outside of VS Code/Copilot prompts.

Also adds a minimal .gitattributes to keep *.sh files at LF on Windows
checkouts so the script stays runnable under Git Bash / WSL / *nix.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant