← ClaudeAtlas

forge-skill-from-session-frictionlisted

Turn what just happened in a session into a reusable skill, or harden an existing one, by mining the friction (repeated manual steps, dead-ends, non-obvious flags, decisions the user had to make) into a fast shortcut. Triggers on: forge-skill (old name), make a skill for this, turn this into a skill, create a reusable skill, skillify this, add a skill, harden a skill, improve a skill, mine this session for a skill, capture this workflow, so I can do this faster next time.
sblattj/agent-chandlery · ★ 0 · AI & Automation · score 72
Install: claude install-skill sblattj/agent-chandlery
# forge-skill-from-session-friction: mine session friction into a skill Use when a task in this session is worth repeating and you want the *next* session to do it in one step instead of re-deriving it. Works for both **new** skills and **hardening** an existing one. The value is not just the main-path commands; it's the friction: the wrong turns, the non-obvious flags, the gotchas, and the decisions the user was forced to make. ## Procedure 1. **Name the repeatable task** in one sentence ("check my PRs for activity since I pushed", "prove a bug-fix PR with red/green evidence"). If it isn't repeatable, don't forge a skill. 2. **Decide new vs harden.** List existing skills (`ls ~/.claude/skills`, or your client's skills dir, plus the project's own skills dir) and read any whose description overlaps. Harden if one already owns this area (add the missing case / gotcha / cross-ref); create new only for a genuinely distinct task. Never make a near-duplicate. 3. **Mine the friction** from the transcript (see checklist below). This is the core step. 4. **Extract the commands that actually worked**: copy the real, tested invocations, not a cleaned-up guess. If the runtime logic is more than a couple of lines, put it in a helper script in the skill dir rather than inlining fragile commands in prose. 5. **Write `SKILL.md`** with the frontmatter + structure below. 6. **Validate before claiming done**: run the helper script / commands and confirm real output. A sk