Write SKILL.md content by synthesizing references into actionable guidance
Synthesizes reference materials into actionable SKILL.md content with proper frontmatter triggers. Use after initializing a skill with references to create guidance that helps Claude understand when and how to use the skill.
/plugin marketplace add basher83/lunar-claude/plugin install meta-claude@lunar-claudeskill-pathskill/Write the SKILL.md content for an initialized skill by synthesizing its references into actionable guidance.
$1 - Path to the skill directory (e.g., plugins/meta/meta-claude/skills/coderabbit)# Write content for an initialized skill
/meta-claude:skill:write plugins/meta/meta-claude/skills/coderabbit
The skill must already be initialized with:
SKILL.md file (even if template with TODOs)references/ directory with source materialsIf not initialized, run /meta-claude:skill:create first.
List the skill contents:
ls -la $1/
ls -la $1/references/
Read the current SKILL.md to understand the template structure.
Read every file in references/ to understand the domain:
The frontmatter is the most critical part - it determines when the skill triggers.
---
name: <skill-name>
description: >
<What the skill does>. Use when <specific triggers>: (1) <trigger 1>,
(2) <trigger 2>, (3) <trigger 3>, or <other contexts>.
---
Description requirements:
Example:
description: >
Configure and use CodeRabbit for automated code reviews. Use when setting up
.coderabbit.yaml, configuring review rules, understanding CodeRabbit commands,
or integrating CodeRabbit with CI/CD pipelines.
Structure the body with these sections (adapt as needed):
# <Skill Name>
<1-2 sentence overview of what this skill enables>
## Quick Start
<Most common use case with concrete example>
## Key Concepts
<Essential concepts extracted from references - only what Claude doesn't know>
## Common Workflows
<Step-by-step workflows for primary use cases>
## Configuration
<Key configuration options with examples>
## References
<Links to reference files for detailed documentation>
Writing principles:
After writing, self-check:
After writing the content, report:
✅ SKILL.md content written for <skill-name>
Summary:
- Description: <brief summary of triggers>
- Sections: <list of main sections added>
- References linked: <count>
Next: Run /meta-claude:skill:review-content to validate quality
If SKILL.md not found:
❌ Error: SKILL.md not found at <skill-path>
Run /meta-claude:skill:create first to initialize the skill.
If no references found:
⚠️ Warning: No references found in <skill-path>/references/
Writing content from general knowledge only.
Consider running /meta-claude:skill:research to gather source materials.
If references are empty/minimal:
⚠️ Warning: References contain minimal content.
Content quality may be limited. Consider adding more research materials.
Write content for coderabbit skill:
/meta-claude:skill:write plugins/meta/claude-dev-sandbox/skills/coderabbit
# Reads all references in references/
# Synthesizes into comprehensive SKILL.md
# Reports completion with summary