mirror of
https://github.com/obra/superpowers.git
synced 2026-04-23 09:59:05 +08:00
Session start hook now: - Inlines full getting-started/SKILL.md content (no @ links in hooks) - Runs find-skills and shows complete skills list - Shows tool paths after the guide Getting-started improvements: - Removed "Just Read This Guide?" section (redundant with hook) - Removed "Last thing" announcement requirement - Tightened intro from ~80 to ~35 words - Simplified "How to Load Skills" section - Updated Workflow 2 to reference skills list shown at session start - Removed redundant find-skills path examples This eliminates friction - agents see all available skills immediately without needing to search first. No excuse for "I didn't want to spend time searching."
133 lines
5.0 KiB
Markdown
133 lines
5.0 KiB
Markdown
---
|
|
name: Getting Started with Skills
|
|
description: Skills wiki intro - mandatory workflows, search tool, brainstorming triggers, personal skills
|
|
when_to_use: Read this FIRST at start of each conversation when skills are active
|
|
version: 3.1.0
|
|
---
|
|
|
|
# Getting Started with Skills
|
|
|
|
Skills live in two places:
|
|
- **Core:** `${CLAUDE_PLUGIN_ROOT}/skills/` (from plugin)
|
|
- **Personal:** `~/.config/superpowers/skills/` (yours to create)
|
|
|
|
Personal skills shadow core when names match. To load `skills/path/name`, check personal first, then core.
|
|
|
|
## Mandatory Workflow 1: Brainstorming Before Coding
|
|
|
|
**When your human partner wants to start a project, no matter how big or small:**
|
|
|
|
**YOU MUST immediately read:** skills/collaboration/brainstorming
|
|
|
|
**Don't:**
|
|
- Jump straight to code
|
|
- Wait for /brainstorm command
|
|
- Skip brainstorming because you "understand the idea"
|
|
|
|
**Why:** Just jumping into implementation is almost never the right first step. We always understand requirements and plan first.
|
|
|
|
## Mandatory Workflow 2: Before ANY Task
|
|
|
|
**1. Check the skills list** shown at session start, or run `find-skills [PATTERN]` to filter.
|
|
|
|
**2. Check if historical context would help:**
|
|
Review Workflow 3 conditions. If applicable, dispatch subagent to search past work.
|
|
|
|
**If skills found:**
|
|
1. READ the skill - check personal first (`~/.config/superpowers/skills/path/SKILL.md`), then core (`~/.claude/plugins/cache/superpowers/skills/path/SKILL.md`)
|
|
2. ANNOUNCE usage: "I'm using the [Skill Name] skill"
|
|
3. FOLLOW the skill (many are rigid requirements)
|
|
|
|
**"This doesn't count as a task" is rationalization.** Skills/conversations exist and you didn't search for them or didn't use them = failed task.
|
|
|
|
## Workflow 3: Historical Context Search (Conditional)
|
|
|
|
**When:** Your human partner mentions past work, issue feels familiar, starting task in familiar domain, stuck/blocked, before reinventing
|
|
|
|
**When NOT:** Info in current convo, codebase state questions, first encounter, partner wants fresh thinking
|
|
|
|
**How (use subagent for 50-100x context savings):**
|
|
1. Dispatch subagent with template: `${CLAUDE_PLUGIN_ROOT}/skills/collaboration/remembering-conversations/tool/prompts/search-agent.md`
|
|
2. Receive synthesis (200-1000 words) + source pointers
|
|
3. Apply insights (never load raw .jsonl files)
|
|
|
|
**Example:**
|
|
```
|
|
Partner: "How did we handle auth errors in React Router?"
|
|
You: Searching past conversations...
|
|
[Dispatch subagent → 350-word synthesis]
|
|
[Apply without loading 50k tokens]
|
|
```
|
|
|
|
**Red flags:** Reading .jsonl files directly, pasting excerpts, asking "which conversation?", browsing archives
|
|
|
|
**Pattern:** Search → Subagent synthesizes → Apply. Fast, focused, context-efficient.
|
|
|
|
## Announcing Skill Usage
|
|
|
|
**Every time you start using a skill, announce it:**
|
|
|
|
"I'm using the [Skill Name] skill to [what you're doing]."
|
|
|
|
**Examples:**
|
|
- "I'm using the Brainstorming skill to refine your idea into a design."
|
|
- "I'm using the Test-Driven Development skill to implement this feature."
|
|
- "I'm using the Systematic Debugging skill to find the root cause."
|
|
- "I'm using the Refactoring Safely skill to extract these methods."
|
|
|
|
**Why:** Transparency helps your human partner understand your process and catch errors early.
|
|
|
|
## Skills with Checklists
|
|
|
|
**If a skill contains a checklist, you MUST create TodoWrite todos for EACH checklist item.**
|
|
|
|
**Don't:**
|
|
- Work through checklist mentally
|
|
- Skip creating todos "to save time"
|
|
- Batch multiple items into one todo
|
|
- Mark complete without doing them
|
|
|
|
**Why:** Checklists without TodoWrite tracking = steps get skipped. Every time.
|
|
|
|
**Examples:** TDD (write test, watch fail, implement, verify), Systematic Debugging (4 phases), Writing Skills (RED-GREEN-REFACTOR)
|
|
|
|
## Writing Skills
|
|
|
|
**Want to document a technique, pattern, or tool for reuse?**
|
|
|
|
See skills/meta/writing-skills for the complete TDD process for documentation.
|
|
|
|
Personal skills go in `~/.config/superpowers/skills/` and shadow core skills when names match.
|
|
|
|
## How to Read a Skill
|
|
|
|
1. **Frontmatter** - `when_to_use` match your situation?
|
|
2. **Overview** - Core principle relevant?
|
|
3. **Quick Reference** - Scan for your pattern
|
|
4. **Implementation** - Full details
|
|
5. **Supporting files** - Load only when implementing
|
|
|
|
**Many skills contain rigid rules (TDD, debugging, verification).** Follow them exactly. Don't adapt away the discipline.
|
|
|
|
**Some skills are flexible patterns (architecture, naming).** Adapt core principles to your context.
|
|
|
|
The skill itself tells you which type it is.
|
|
|
|
## Instructions ≠ Permission to Skip Workflows
|
|
|
|
Your human partner's specific instructions describe WHAT to do, not HOW.
|
|
|
|
"Add X", "Fix Y" = the goal, NOT permission to skip brainstorming, TDD, or RED-GREEN-REFACTOR.
|
|
|
|
**Red flags:** "Instruction was specific" • "Seems simple" • "Workflow is overkill"
|
|
|
|
## Summary
|
|
|
|
**Starting conversation?** You just read this. Good.
|
|
|
|
**Starting any task?** Run find-skills first, announce usage, follow what you find.
|
|
|
|
**Skill has checklist?** TodoWrite for every item.
|
|
|
|
**Skills are mandatory when they exist, not optional.**
|