with one click
ln-161-skill-creator
// Creates slash commands from procedural doc sections. Use when transforming documentation prose into executable commands.
// Creates slash commands from procedural doc sections. Use when transforming documentation prose into executable commands.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | ln-161-skill-creator |
| description | Creates slash commands from procedural doc sections. Use when transforming documentation prose into executable commands. |
| license | MIT |
Paths: File paths (
references/,../ln-*) are relative to this skill directory.
Type: L3 Worker (standalone-capable) Category: 1XX Documentation Pipeline
Creates .claude/commands/*.md slash command files from procedural documentation sections. It converts procedural prose into imperative command instructions without changing the source docs.
| Aspect | Details |
|---|---|
| Input | Approved procedural sections or standalone docs scan |
| Output | .claude/commands/*.md files in target project |
| Template | references/templates/command_template.md |
| Read mode | Section-first markdown reading |
| Mode | Trigger | Behavior |
|---|---|---|
| Provided sections | Context contains approved_sections | Use supplied sections directly |
| Standalone | Invoked directly with $ARGUMENTS | Self-discover, classify, and create commands |
When invoked without approved_sections:
references/procedural_extraction_rules.md, references/procedural_skill_sop_guide.md, references/markdown_read_protocol.md, and references/docs_quality_contract.mddocs/**/*.mdtests/README.mdtests/manual/**/*README.mdCONTRIBUTING.mdAGENTS.md, CLAUDE.md, and docs/project/.context/doc_registry.json only to route discoveryReceive or build this normalized input:
{
"approved_sections": [
{
"source_file": "docs/project/runbook.md",
"section_header": "Deployment",
"line_range": [45, 92],
"command_name": "deploy.md",
"doc_kind": "how-to",
"doc_role": "canonical"
}
]
}
MANDATORY READ: Load references/templates/command_template.md and references/procedural_skill_sop_guide.md
For each approved section:
DOC_KIND, DOC_ROLE, READ_WHEN, SKIP_WHEN, PRIMARY_SOURCESQuick NavigationAgent EntryMaintenanceallowed-tools| Content Pattern | Tool |
|---|---|
shell commands or fenced bash / sh blocks | Bash |
| file reads or config inspection | Read |
| file updates | Edit |
| search steps | Grep, Glob |
| skill calls | Skill |
| approval gates | AskUserQuestion |
| Rule | From | To |
|---|---|---|
| Voice | Declarative prose | Imperative instructions |
| Code blocks | Source shell blocks | Preserve when executable |
| Numbered lists | Doc prose | Ordered workflow steps |
| Verification | Implicit expectations | Explicit verification checks |
| Risky procedural steps | Hidden assumptions | Action, key point, why, evidence, exception, automation/guard |
| Decision points | Blended into prose | Explicit IF/ELSE branch with evidence required per branch |
| Dependencies/preflight | Assumed environment | First executable self-check before mutation or external invocation |
| Exceptions | Implied troubleshooting | Concrete pause/retry/ask path |
| Doc shell | Metadata and navigation | Remove |
| Source provenance | Implied only | Explicit Source section |
| Related docs | Inline refs | Related Documentation section |
.claude/commands/{command_name} if the file does not already existReturn:
created:
- file: .claude/commands/deploy.md
source: docs/project/runbook.md#Deployment
lines: 85
tools: [Bash, Read]
summary: "Created 1 command from 1 procedural section"
references/templates/command_template.md.DOC_KIND, DOC_ROLE, Quick Navigation, Agent Entry, or Maintenance into commands.Version: 1.0.0 Last Updated: 2026-03-26