@fr0mpy/prompt-system
v2.2.0
Published
Claude Code prompt engineering system: rules, agents, hooks, and smart context injection
Maintainers
Readme
@fr0mpy/prompt-system
Claude Code prompt engineering system with rules, agents, hooks, and smart context injection.
Installation
npx @fr0mpy/prompt-systemWhat's Included
- hooks/ - Smart context injection on every prompt (LLM-powered or keyword-based)
- rules/ - Behavioral guidelines (code standards, action announcements, etc.)
- agents/ - 26 task workers (pre-code-check, package-checker, context-loader, etc.)
- commands/ - Slash commands (/review, /test, /commit)
- CLAUDE.md - Project context (auto-loaded by Claude)
Features
Smart Injection
Two modes of operation:
- LLM-powered (requires
ANTHROPIC_API_KEY) - Uses Claude Haiku to semantically select relevant rules and agents based on your prompt - Keyword-based (fallback) - Matches keywords in your prompt to trigger rules and agents
Modular Triggers
Extension triggers can be added via triggers.d/ directory. The @fr0mpy/component-system package uses this to add styling triggers.
Usage
# Initialize
npx @fr0mpy/prompt-system
# With options
npx @fr0mpy/prompt-system --force # Overwrite existing
npx @fr0mpy/prompt-system --skip-api-key # Skip API key prompt
npx @fr0mpy/prompt-system --remove # Remove installation
# Selective updates
npx @fr0mpy/prompt-system --update-hooks
npx @fr0mpy/prompt-system --update-agents
npx @fr0mpy/prompt-system --update-rules
npx @fr0mpy/prompt-system --update-commandsRelated
For UI components and styling, also install:
npx @fr0mpy/component-systemLicense
MIT
