aggregate-logs
CommandGenerate LEARNINGS.md from skill execution logs over a configurable time window.
Scaffold new Claude Code skills with brainstorming, TDD methodology, and proper frontmatter and module structure.
> /plugin marketplace add athola/claude-night-market
name: create-skill description: Scaffold new Claude Code skills with brainstorming, TDD methodology, and proper frontmatter and module structure. usage: /create-skill [skill-description] [--skip-brainstorm] [--plugin <name>]
Creates new skills through a structured workflow: **iron-law → brainstorm → scaffold → validate**. Uses Socratic questioning to refine rough ideas into well-designed skills before generating any files.
# Start with brainstorming (recommended) /create-skill "a skill for analyzing test coverage gaps" # Skip brainstorming if you already have a clear design /create-skill analyzing-coverage --skip-brainstorm # Create in specific plugin /create-skill "debugging async race conditions" --plugin parseltongue
**This phase is required and cannot be skipped.**
1. **Create test file FIRST**: `tests/test_${skill_name}_skill.py` 2. **Write structural tests**: File exists, frontmatter valid, registered in plugin.json 3. **Run tests - capture RED state**:
pytest tests/test_${skill_name}_skill.py -v
# Expected: FAILED (skill does not exist)4. **Capture evidence**:
[E1] Command: pytest tests/test_${skill_name}_skill.py -v
Output: FAILED - FileNotFoundError
Status: RED - Interlock satisfied**Only after completing Phase -1 may you proceed.**
---
Before brainstorming, consider surfacing expert frameworks for your domain.
**Invoke the methodology-curator skill:**
Use abstract:methodology-curator to surface proven methodologies before brainstorming.
This is especially valuable when:
After methodology curation (or if skipping it), refine the skill idea through collaborative dialogue.
**Invoke the brainstorming skill:**
Use superpowers:brainstorming to refine this skill idea before scaffolding.
The brainstorming phase will:
1. **Understand the idea** - One question at a time:
2. **Explore approaches** - Present 2-3 alternatives:
3. **Validate the design** - Present in sections:
4. **Document the design**:
**Skip brainstorming** with `--skip-brainstorm` only when:
After brainstorming (or with `--skip-brainstorm`), the command prompts for:
1. **Skill name** (if not provided)
2. **Skill type**:
3. **Brief description**:
4. **Target audience** (optional):
5. **Category tags** (optional):
# Standard skill structure
skills/${skill_name}/
├── SKILL.md # Main skill file (hub)
├── modules/ # Optional modules directory
├── scripts/ # Optional automation scripts
└── baseline-scenarios.md # TDD test scenariosFor modular skills, creates additional structure:
skills/${skill_name}/
├── SKILL.md
├── modules/
│ └── README.md # Module organization guide
├── scripts/
│ └── README.md # Script usage guide
└── baseline-scenarios.mdCreates SKILL.md with:
---
name: ${skill_name}
description: ${description}
category: ${category}
tags: [${tags}]
status: draft
created: ${date}
updated: ${date}
---
# ${Skill Title}
## Overview
${description_expanded}
## When To Use
Use this skill when:
- ${condition_1}
- ${condition_2}
- ${condition_3}
Do NOT use when:
- ${anti_condition_1}
- ${anti_condition_2}
## When NOT To Use
- Simple file edits that don't need structured workflow
- Already have a working solution - just implement it
## Quick Start
### Basic Usage
${quick_example}
### Common Scenarios
1. **${scenario_1}**
${scenario_1_description}
2. **${scenario_2}**
${scenario_2_description}
## Core Principles
${principles}
## Modules
<!-- Add module references as you create them -->
## Troubleshooting
### Common Issues
**Issue**: ${issue_1}
**Solution**: ${solution_1}
## Related Skills
- See also: ${related_skill_1}
- Complements: ${related_skill_2}
## References
- ${reference_1}
- ${reference_2}Creates `baseline-scenarios.md` for documenting test-first development:
# Baseline Testing Scenarios ## Purpose Document Claude's behavior WITHOUT this skill to identify gaps and validate improvements. ## Tes
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Generate LEARNINGS.md from skill execution logs over a configurable time window.
Analyze skill file complexity metrics and generate modularization recommendations for splitting or progressive loading.
Generate context optimization report for skill directories
Create slash commands with brainstorming and best practices
Manually evaluate a recent skill execution to record qualitative feedback.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.