From skillkit
Creates and validates Claude Code skills/subagents in fast/full modes, decides skills vs subagents, migrates docs to skills, estimates tokens, runs security scans.
npx claudepluginhub rfxlamia/skillkit --plugin verify-before-shipThis skill uses the workspace's default tool permissions.
**Detect user intent, route to appropriate workflow.**
commands/skillkit.mdcommands/validate-plan.mdcommands/verify.mdknowledge/INDEX.mdknowledge/application/09-case-studies.mdknowledge/application/10-technical-architecture.mdknowledge/application/11-adoption-strategy.mdknowledge/application/12-testing-and-validation.mdknowledge/application/13-competitive-landscape.mdknowledge/foundation/01-why-skills-exist.mdknowledge/foundation/02-skills-vs-subagents-comparison.mdknowledge/foundation/03-skills-vs-subagents-decision-tree.mdknowledge/foundation/04-hybrid-patterns.mdknowledge/foundation/05-token-economics.mdknowledge/foundation/06-platform-constraints.mdknowledge/foundation/07-security-concerns.mdknowledge/foundation/08-when-not-to-use-skills.mdknowledge/plugin-guide.mdknowledge/tools/14-validation-tools-guide.mdknowledge/tools/15-cost-tools-guide.mdVerifies tests pass on completed feature branch, presents options to merge locally, create GitHub PR, keep as-is or discard; executes choice and cleans up worktree.
Guides root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Writes implementation plans from specs for multi-step tasks, mapping files and breaking into TDD bite-sized steps before coding.
Detect user intent, route to appropriate workflow.
| Intent | Keywords | Route To |
|---|---|---|
| Full skill creation | "create skill", "build skill", "new skill" | Section 2 |
| Subagent creation | "create subagent", "build subagent", "new subagent" | Section 6 |
| Validation | "validate", "check quality" | Section 3 |
| Decision | "Skills vs Subagents", "decide", "which to use" | Section 4 |
| Migration | "convert", "migrate doc" | Section 5 |
| Single tool | "validate only", "estimate tokens", "scan" | Section 7 |
PROCEED to corresponding section after intent detection.
Stop Condition (Mandatory):
Workflow Value: Research-driven approach validates design before building. Sequential steps with checkpoints produce 9.0/10+ quality vs ad-hoc creation.
Prerequisites: Skill description provided, workspace available.
Detect or prompt for workflow mode before running the creation flow.
Stop Condition (Mandatory):
| Mode | Steps | Validation | Quality Target | Time |
|---|---|---|---|---|
| fast | 10 | Structural only | >=9.0/10 | <10 min |
| full | 14 | Structural + Behavioral | >=9.0/10 and behavioral >=7.0 | <20 min |
No implicit default mode is allowed when mode is not explicitly known.
Use when .skillkit-mode contains fast or marker does not exist.
→ READ references/section-2-fast-creation-workflow.md IN FULL before starting.
Create a task for each step listed in that file, then follow them in order.
The outline below is a summary only — the reference file is authoritative.
Phase 1: Decision & Research
decision_helper.py)Phase 2: Creation
init.py skill <name> --mode fast)Phase 3: Structural Validation
validate_skill.py) — runs structure + security + tokens in one callPhase 4: Packaging
test_generator.py)quality_scorer.py)package_skill.py)Use when .skillkit-mode contains full.
→ READ references/section-2-full-creation-workflow.md IN FULL before starting.
Create a task for each step listed in that file, then follow them in order.
The outline below is a summary only — the reference file is authoritative.
Phase 1: Decision and Research
decision_helper.py)Phase 2: Behavioral Baseline (extra vs fast)
references/section-2-full-creation-workflow.md → section "Full Mode Behavioral Testing Protocol" (mandatory)Phase 3: Creation
init.py skill <name> --mode full)Phase 4: Behavioral Verification (extra vs fast)
references/section-2-full-creation-workflow.md → section "Full Mode Behavioral Testing Protocol" (mandatory)Phase 5: Structural Validation
validate_skill.py) — runs structure + security + tokens in one callPhase 6: Refinement (extra vs fast)
references/section-2-full-creation-workflow.md → section "Full Mode Behavioral Testing Protocol" (mandatory)Phase 7: Packaging
quality_scorer.py --format json) — behavioral score derived from Steps 3/7/10 subagent results, not from --behavioral flagpackage_skill.py)Priority order:
--mode fast or --mode full.skillkit-mode file contentfast or fullUse when: Validating existing skill
Steps: Execute validation subset (Steps 3-6)
validate_skill.py, no flags needed)Note: --security-only and --tokens-only flags are available for Section 7 individual tool use, not for workflow validation steps.
For detailed workflow: See references/section-3-validation-workflow-existing-skill.md
Use when: Uncertain if Skills is right approach
CRITICAL: Agent MUST create a temp JSON file first. The decision_helper.py script does NOT accept inline JSON strings - it requires a file path to a JSON file.
Step-by-step invocation: See references/section-4-decision-workflow-skills-vs-subagents.md
Accuracy: Highest (90-95% confidence).
Process:
decision_helper.py with json file.For detailed workflow: See references/section-4-decision-workflow-skills-vs-subagents.md
Use when: Creating new subagent (user explicitly asks or decision workflow recommends)
Prerequisites: Role definition clear, workspace available Quality Target: Clear role, comprehensive workflow, testable examples Time: <15 min with template
STEP 0: Requirements & Role Definition
STEP 1: Initialize Subagent File
python scripts/init.py subagent subagent-name --path ~/.claude/agents~/.claude/agents/subagent-name.md with template.md files (not directories)STEP 2: Define Configuration
STEP 3: Define Role and Workflow
STEP 4: Define Response Format
STEP 5: Add Examples
STEP 6: Validation
STEP 7: Testing
STEP 8: Documentation & Deployment
For detailed workflow: See references/section-6-subagent-creation-workflow.md
Use when: Converting document to skill
Process:
Stop Condition (Mandatory):
For detailed workflow: See references/section-5-migration-workflow-doc-to-skill.md
Use when: User needs single tool, not full workflow
Entry Point: User asks for specific tool like "estimate tokens" or "security scan"
Validation Tool:
python scripts/validate_skill.py skill-name/ --format json
Guide: knowledge/tools/14-validation-tools-guide.md
Token Estimator:
python scripts/validate_skill.py skill-name/ --tokens-only --format json
Guide: knowledge/tools/15-cost-tools-guide.md
Security Scanner:
python scripts/validate_skill.py skill-name/ --security-only --format json
Guide: knowledge/tools/16-security-tools-guide.md
Pattern Detector:
# Analysis mode with JSON output
python scripts/pattern_detector.py "convert PDF to Word" --format json
# List all patterns
python scripts/pattern_detector.py --list --format json
# Interactive mode (text only)
python scripts/pattern_detector.py --interactive
Guide: knowledge/tools/17-pattern-tools-guide.md
Decision Helper:
# Analyze use case (JSON output - agent-layer default)
python scripts/decision_helper.py --analyze "code review with validation"
# Show decision criteria (JSON output)
python scripts/decision_helper.py --show-criteria --format json
# Text mode for human reading (debugging)
python scripts/decision_helper.py --analyze "description" --format text
Guide: knowledge/tools/18-decision-helper-guide.md
Test Generator (v1.2: Parameter update):
python scripts/test_generator.py skill-name/ --test-format pytest --format json
--test-format: Test framework (pytest/unittest/plain, default: pytest)--format: Output style (text/json, default: text)--output parameter still works (deprecated)Guide: knowledge/tools/19-test-generator-guide.md
Split Skill:
python scripts/split_skill.py skill-name/ --format json
Guide: knowledge/tools/20-split-skill-guide.md
Quality Scorer:
python scripts/quality_scorer.py skill-name/ --format json
Guide: knowledge/tools/21-quality-scorer-guide.md
Migration Helper:
python scripts/migration_helper.py doc.md --format json
Guide: knowledge/tools/22-migration-helper-guide.md
Subagent Initializer (NEW):
python scripts/init.py subagent subagent-name --path /path/to/subagents
Guide: references/section-6-subagent-creation-workflow.md
All 9 tools support --format json. Text mode still available via --format text (backward compatible). decision_helper defaults to JSON for automation.
JSON Output Structure:
{
"status": "success" | "error",
"tool": "tool_name",
"timestamp": "ISO-8601",
"data": { /* tool-specific results */ }
}
File & Reference Validation:
validate_skill.py now comprehensively checks file references (markdown links, code refs, path patterns)package_skill.py validates references before packaging, detects orphaned filesContent Budget Enforcement (v1.2+):
Execution Planning (v1.2+):
Quality Scorer Context:
| Skill Type | Recommended Mode | Why |
|---|---|---|
| TDD or discipline skill | full | must resist rationalization under pressure |
| Code pattern skill | fast | structural checks are usually sufficient |
| API reference skill | fast | primarily retrieval accuracy |
| Workflow orchestration skill | full | complex flow benefits from pressure checks |
| Debugging technique skill | fast | concise technique with clear method |
Full mode adds behavioral testing (pressure scenarios). Use it when discipline enforcement is core to the skill's purpose.
Strategic context loaded on-demand.
For complete reference map: See references/section-7-knowledge-reference-map.md
Follow workflows sequentially. Sequential steps with gates produce 9.0/10+ quality. Deviations are allowed with user justification.
Flexible entry points:
Load reference files on-demand from references/ when detailed implementation guidance is needed.