skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
levnikolaevich/claude-code-skills184 installs

ln-161-skill-creator

Creates slash commands from procedural doc sections. Use when transforming documentation prose into executable commands.

How do I install this agent skill?

npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-161-skill-creator
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill automates the creation of executable slash commands by extracting procedural content from documentation. While it includes robust transformation rules and follows a template-driven approach, it possesses an indirect prompt injection surface because it transforms arbitrary documentation prose and code blocks into executable instruction files.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerpass

    2 files scanned · No issues

What does this agent skill do?

Paths: File paths (references/, ../ln-*) are relative to this skill directory.

ln-161-skill-creator

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.


Overview

AspectDetails
InputApproved procedural sections or standalone docs scan
Output.claude/commands/*.md files in target project
Templatereferences/templates/command_template.md
Read modeSection-first markdown reading

Input Modes

ModeTriggerBehavior
Provided sectionsContext contains approved_sectionsUse supplied sections directly
StandaloneInvoked directly with $ARGUMENTSSelf-discover, classify, and create commands

Standalone Discovery

When invoked without approved_sections:

  1. Read references/procedural_extraction_rules.md, references/procedural_skill_sop_guide.md, references/markdown_read_protocol.md, and references/docs_quality_contract.md
  2. Scan docs-first sources:
    • docs/**/*.md
    • tests/README.md
    • tests/manual/**/*
    • README.md
    • CONTRIBUTING.md
  3. Use AGENTS.md, CLAUDE.md, and docs/project/.context/doc_registry.json only to route discovery
  4. Classify candidate sections with the shared procedural extraction rules
  5. Present the extraction plan to the user for approval
  6. Create approved commands

Workflow

Phase 1: Prepare

Receive 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

Phase 2: Transform and Create

For each approved section:

  1. Read the source section using the shared markdown read protocol
  2. Ignore standardized doc shell content if it appears in the selected range:
    • header markers such as DOC_KIND, DOC_ROLE, READ_WHEN, SKIP_WHEN, PRIMARY_SOURCES
    • Quick Navigation
    • Agent Entry
    • Maintenance
  3. Detect allowed-tools
Content PatternTool
shell commands or fenced bash / sh blocksBash
file reads or config inspectionRead
file updatesEdit
search stepsGrep, Glob
skill callsSkill
approval gatesAskUserQuestion
  1. Transform the content with these rules:
RuleFromTo
VoiceDeclarative proseImperative instructions
Code blocksSource shell blocksPreserve when executable
Numbered listsDoc proseOrdered workflow steps
VerificationImplicit expectationsExplicit verification checks
Risky procedural stepsHidden assumptionsAction, key point, why, evidence, exception, automation/guard
Decision pointsBlended into proseExplicit IF/ELSE branch with evidence required per branch
Dependencies/preflightAssumed environmentFirst executable self-check before mutation or external invocation
ExceptionsImplied troubleshootingConcrete pause/retry/ask path
Doc shellMetadata and navigationRemove
Source provenanceImplied onlyExplicit Source section
Related docsInline refsRelated Documentation section
  1. Write .claude/commands/{command_name} if the file does not already exist

Phase 3: Report

Return:

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"

Critical Rules

  • Template-driven: All output follows references/templates/command_template.md.
  • Preserve source: Never modify or delete source docs.
  • No invention: Do not add commands, steps, or paths absent from the source.
  • Imperative voice: Every retained instruction must be actionable.
  • SOP/TWI extraction: Preserve action, decision point, exception, validation, dependency/preflight, and why for risky procedural steps.
  • No copied doc shell: Do not copy DOC_KIND, DOC_ROLE, Quick Navigation, Agent Entry, or Maintenance into commands.
  • Source provenance: Every generated command must point back to its source doc and section.
  • Relative paths: File references must stay relative to project root.
  • Idempotent: Skip existing command files; do not overwrite them.

Definition of Done

  • Approved sections received or discovered
  • Source sections read with section-first protocol
  • Allowed-tools detected per command
  • Content transformed into imperative workflow steps
  • Risky procedural steps include action, key point, why, evidence, exception, and automation/guard where applicable
  • Standard doc shell content removed from command output
  • Source provenance included in each created command
  • Existing command files not overwritten
  • Creation report returned

Version: 1.0.0 Last Updated: 2026-03-26

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/levnikolaevich/claude-code-skills/ln-161-skill-creator">View ln-161-skill-creator on skillZs</a>