/specclaw-extras:learnfrom specclaw-extras
Captures build learnings including spec gaps, design misses, and discovered patterns. Logs categorized entries and promotes them to a repo-local knowledge base for automatic agent context.
Ships in specclaw-extras. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
First, run specclaw-ensure-init .specclaw — idempotently creates .specclaw/ if it doesn't exist (silent if already initialized; auto-inits using the current directory's basename as the project name).
Capture build learnings — spec gaps, design misses, and patterns discovered during implementation.
Log a learning:
specclaw-log-learning .specclaw <change> <category> <priority> "<detail>" ["<action>"]
Categories: spec_gap | design_gap | pattern | best_practice | agent_issue
Priorities: low | medium | high
List learnings for a change:
specclaw-log-learning .specclaw <change> --list
Promote a learning to the repo-local knowledge base:
specclaw-log-learning .specclaw <change> --promote <id>
Promote writes to .specclaw/knowledge/ — never to the plugin itself:
spec_gap, design_gap → .specclaw/knowledge/spec-guidelines.mdpattern, best_practice, agent_issue → .specclaw/knowledge/agent-hints.mdThe build agent receives agent-hints.md as context automatically on every task.
When to log:
Learnings are stored in .specclaw/changes/<change>/learnings.md and feed the pattern detection system for cross-change analysis (see /specclaw-extras:patterns).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
build-learning, spec-gap, design-miss, knowledge-base, agent-hints
8 skills in this plugin
/author-specspecclaw author-specUse when the user wants to co-author a spec interactively instead of a one-shot plan./autospecclaw autoUse when the user wants every active change advanced to its next phase without prompts./contextspecclaw contextUse when the user wants to view or change project-wide rules in .specclaw/context.md.npx claudepluginhub chan4lk/specclaw --plugin specclaw-extrasOther plugins' skills for the same job