skills/mine.write-skill/SKILL.md
Use when the user says: "create a skill", "write a skill", "new skill", or wants to author a new SKILL.md. Guided skill creation following Claudefiles conventions.
npx skillsauth add NodeJSmith/Claudefiles mine.write-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guided creation of a new skill for this repo. Gathers requirements, drafts the skill, validates against a quality checklist, and writes it to the correct location.
$ARGUMENTS — optional skill name or description. If provided, use as starting context.
Ask these one at a time. Skip any already answered by $ARGUMENTS.
AskUserQuestion:
question: "What task should this skill handle? Describe the problem it solves."
header: "Purpose"
AskUserQuestion:
question: "What trigger phrases should invoke it? (e.g., when the user says 'audit the codebase')"
header: "Triggers"
AskUserQuestion:
question: "What does the output look like? (e.g., a file, a report, a question, an action)"
header: "Output"
AskUserQuestion:
question: "Should this be user-invocable (slash command) or a reference skill (loaded by other skills only)?"
header: "Invocability"
multiSelect: false
options:
- label: "User-invocable"
description: "Can be called directly via /mine.<name>"
- label: "Reference only"
description: "Loaded by other skills, not directly callable"
Then explore the codebase for related skills, patterns, or existing work that should inform the new skill's design.
Derive from the purpose: mine.<kebab-case-name>. Max 30 chars total. Check that skills/mine.<name>/ doesn't already exist.
Write to skills/mine.<name>/SKILL.md using the template in REFERENCE.md. See REFERENCE.md for conventions, AskUserQuestion constraints (header ≤12 chars, max 4 options), and size guidance.
Validate the drafted skill against both checklists in REFERENCE.md. Quick list:
Structural checks:
Instruction quality checks (see rules/common/instruction-quality.md for full criteria):
9. Diagnostic questions over bare thresholds where applicable
10. Named failure modes — each behavioral rule names the trap it guards against
11. AI-specific bias acknowledgment where the skill addresses a known agent tendency
12. A generative value — one sentence that produces correct behavior even if the rest were deleted
13. "Why" before "what" on major rules
Apply 9-13 proportionally: simple factual rules need only the rule itself; behavioral and principle-level guidance should hit most of these.
Report results. Fix any failures before presenting to the user.
After the user approves the skill:
rules/common/capabilities-*.md file using the trigger phrases from Phase 1 (capabilities-core.md for mine., capabilities-impeccable.md for i-, capabilities-memory.md for cm-*)README.md (alphabetical order) and update the skill count in the section headeruv run install.py to create the symlinkdevelopment
Use when the user says: 'create an issue', 'file an issue', 'open an issue', 'write an issue', 'new issue for this'. Codebase-aware issue creation — investigates the code to produce well-structured issues with acceptance criteria, affected areas, and enough detail for automated triage.
development
Use when the user says: 'triage issues', 'classify issues by complexity', 'assess issue complexity', 'find quick wins', 'which issues are small', 'batch issue assessment'. Batch codebase-aware issue triage — parallel Haiku subagents assess actual complexity and effort by reading the code, not just titles.
development
Use when the user says: "review my changes", "run the reviewers", "code and integration review", "readability review", "maintainability review", "sniff test this", "WTF check", "code smells", "is this code any good", "fresh eyes on this branch", "review this directory", "check this module". Dispatches three parallel reviewers — code, integration, and a readability pass — and consolidates findings into one prioritized report.
development
Use when the user says: "clean code check", "style review", "LLM smell check", "code hygiene", "nitpick this", "style check", "find style sins", "nitpicker review", "anal retentive review", "exhaustive style review", "no-filter style report". Dispatches three parallel stylistic checkers — llm-checker (training-bias patterns), lazy-checker (deferred debt), and nitpicker (style hygiene) — and consolidates findings into a report organized by checker with a Summary section for orchestration consumption.