Trellis create-command
Scaffolds a new skill file with proper naming conventions and structure. Analyzes requirements to determine skill type and generates appropriate content. Use when adding a new developer workflow skill, creating a custom skill, or extending the Trellis skill set.
install
source · Clone the upstream repo
git clone https://github.com/mindfold-ai/Trellis
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/mindfold-ai/Trellis "$T" && mkdir -p ~/.claude/skills && cp -r "$T/packages/cli/src/templates/qoder/skills/create-command" ~/.claude/skills/mindfold-ai-trellis-create-command-191261 && rm -rf "$T"
manifest:
packages/cli/src/templates/qoder/skills/create-command/SKILL.mdsource content
Create New Skill
Create a new Qoder skill in
.qoder/skills/<skill-name>/SKILL.md based on user requirements.
Usage
$create-command <skill-name> <description>
Example:
$create-command review-pr Check PR code changes against project guidelines
Execution Steps
1. Parse Input
Extract from user input:
- Skill name: Use kebab-case (e.g.,
)review-pr - Description: What the skill should accomplish
2. Analyze Requirements
Determine skill type based on description:
- Initialization: Read docs, establish context
- Pre-development: Read guidelines, check dependencies
- Code check: Validate code quality and guideline compliance
- Recording: Record progress, questions, structure changes
- Generation: Generate docs or code templates
3. Generate Skill Content
Minimum
SKILL.md structure:
--- name: <skill-name> description: "<description>" --- # <Skill Title> <Instructions for when and how to use this skill>
4. Create Files
Create:
.qoder/skills/<skill-name>/SKILL.md
5. Confirm Creation
Output result:
[OK] Created Skill: <skill-name> File path: - .qoder/skills/<skill-name>/SKILL.md Usage: - Trigger directly with $<skill-name> - Or open /skills and select it Description: <description>
Skill Content Guidelines
[OK] Good skill content
- Clear and concise: Immediately understandable
- Executable: AI can follow steps directly
- Well-scoped: Clear boundaries of what to do and not do
- Has output: Specifies expected output format (if needed)
[X] Avoid
- Too vague: e.g., "optimize code"
- Too complex: Single skill should not exceed 100 lines
- Duplicate functionality: Check if similar skill exists first
Naming Conventions
| Skill Type | Prefix | Example |
|---|---|---|
| Session Start | | |
| Pre-development | | |
| Check | | |
| Record | | |
| Generate | | |
| Update | | |
| Other | Verb-first | , |