Pre-execution static analysis skill for AI-generated code changes
npm install inspecting-changes-skillPre-execution static analysis skill for AI-generated code changes.
Analyze code changes before running them:
- Self-reflection on generated code
- Risk assessment at multiple levels
- Catching issues before they become runtime problems
| Mode | Phases | Use Case |
|------|--------|----------|
| quick | 1, 2, 8 | Fast pre-commit check |
| medium | 1, 2, 2b, 3, 5.1, 8 | Standard review |
| deep | All 9 phases | Major features, pre-deploy |
Install skills from GitHub repository using skills manager:
``bash`
npx skills add viktar-silakou/inspecting-changes-skill
If package is published to npm:
`bash`
npx inspecting-changes-skill install
npx inspecting-changes-skill install --target /path/to/project
`bash`
git clone https://github.com/viktar-silakou/inspecting-changes-skill.git
cd inspecting-changes-skill
node bin/cli.js install --target /path/to/project
Copy skills/inspecting-changes/ folder to:
- Project: ~/.claude/skills/inspecting-changes/
- Global:
After installation:
``
/inspecting-changes
/inspecting-changes quick
/inspecting-changes medium
/inspecting-changes deep
/inspecting-changes deep src/api/
`bash`
node bin/cli.js list # List available skills
node bin/cli.js install [--target /path/to/project] # Install skill
node bin/cli.js check [--target /path/to/project] # Check if installed
node bin/cli.js update [--target /path/to/project] # Update skill
node bin/cli.js remove [--target /path/to/project] # Remove skill
``
skills/inspecting-changes/
├── SKILL.md # Main skill definition
├── modules/
│ ├── workflow.md # Execution workflow with checklists
│ ├── output.md # Output format templates
│ ├── tool-rules.md # Read-only analysis rules
│ ├── phase-1-assessment.md # Scope analysis
│ ├── phase-2-flow.md # Execution flow simulation
│ ├── phase-2b-contracts.md # Contract alignment
│ ├── phase-3-architecture.md # SOLID, smells, legacy code
│ ├── phase-4-security.md # Security checklist
│ ├── phase-5-performance.md # Performance with scale context
│ ├── phase-6-errors.md # Error handling
│ ├── phase-7-testing.md # Testability
│ └── phase-8-report.md # Report generation
├── reference/
│ └── severity-guide.md # Issue classification
├── examples/
│ ├── quick-output.md # Sample quick report
│ └── deep-output.md # Sample deep report
└── scripts/
└── validate-skill.mjs # Validation script
`bash``
npm run validate
- Claude Code CLI
- Node.js >= 18 (for installer/validation)
MIT