Skip to content

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

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

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

Conversation

@itinsecurity
Copy link
Copy Markdown

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
  • This makes the threat-modeling guidance available directly in Claude Code (CLI/desktop/IDE) without requiring VS Code Copilot prompts
  • Adds a minimal .gitattributes to ensure *.sh files are checked out with LF line endings on Windows, keeping the script runnable under Git Bash / WSL / *nix

How it works

Running the installer once is all that's needed:

bash scripts/install-claude-skill.sh

After that, the flowstate-tm skill is available in any Claude Code session — just invoke /flowstate-tm to get threat-modeling guidance.

Test plan

  • Run bash scripts/install-claude-skill.sh on Linux/macOS and verify ~/.claude/skills/flowstate-tm/SKILL.md is created with the correct content
  • Run under Git Bash on Windows and verify the same
  • Confirm the skill appears in Claude Code and can be invoked with /flowstate-tm

🤖 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