| Requirement | Version | Why |
|---|---|---|
| Node.js | 18+ | Runs repomix and context7 via npx |
| Docker | Any recent | Runs the ast-grep MCP server |
GitHub CLI (gh) |
2.0+ | Used by gh_grep for authenticated searches |
Verify prerequisites:
node --version # v18+
docker --version # any
gh --version # 2.0+
gh auth status # must be authenticatedFrom a local clone:
git clone https://github.com/pemcoliveira/claude-code-openspec-toolkit.git
claude plugin install ./claude-code-openspec-toolkitOr directly from GitHub:
claude plugin install github:pemcoliveira/claude-code-openspec-toolkitAfter installation, verify with:
claude /helpYou should see /ast, /repo-auth, /c7-docs, /gh-fix, and other toolkit commands listed.
The toolkit complements the OpenSpec plugin. Install it if you haven't:
claude plugin install github:openspec-dev/openspecThese plugins integrate well with the OpenSpec workflow. They are optional but recommended.
6 specialized review agents for granular post-implementation review. Complements the spec-review and post-apply skills.
claude plugin install github:nichochar/pr-review-toolkitWhat it adds: /pr-review, silent-failure-hunter agent, pr-test-analyzer agent, error-handling reviewer, type reviewer, code-quality reviewer, simplification reviewer.
OpenSpec phase: Review — run after post-apply for deeper code analysis.
PreToolUse hook that passively detects 9 security anti-patterns during implementation.
claude plugin install github:anthropics/claude-code-security-guidanceWhat it adds: Automatic warnings during /opsx:apply when code contains command injection, XSS, eval, pickle, os.system, and other security risks.
OpenSpec phase: Implement — fires automatically, no commands to run.
Post-review cleanup agent that simplifies code without changing behavior.
claude plugin install github:anthropics/claude-code-code-simplifierWhat it adds: /simplify command for cleaning up code after review.
OpenSpec phase: Review/Archive — run after post-apply passes as a final polish step.
Commit workflow shortcuts.
claude plugin install github:anthropics/claude-code-commit-commandsWhat it adds: /commit, /commit-push-pr, /clean_gone
Library documentation lookup (required by /c7-docs and /c7-fix).
claude plugin install github:anthropics/context7What it adds: context7 MCP server for resolving library docs.
After installing all plugins:
# Reload plugins
claude /reload-plugins
# Check installed plugins
claude /pluginsVerify each toolkit command works:
/ast console.log($ARG) # AST search
/c7-docs express # Library docs
/gh-examples prisma insert # GitHub code search
/repo-auth # Codebase auth mapping
- Map: Load the
pre-proposeskill on a new project - Propose:
/opsx:propose <change> - Implement:
/opsx:apply(security-guidance fires automatically) - Review: Load the
post-applyskill for go/no-go verdict - Polish:
/simplify(if code-simplifier is installed) - Archive:
/opsx:archive
For debugging: load the debug-investigate skill with your error message.