swain-help
Contextual help for the swain skill ecosystem.
Mode detection
Determine the mode from context:
Signal
Mode
Invoked from swain-init Phase 4, or user says "just set up swain" / "what now after init"
Onboarding
User asks a specific question ("how do I...", "what is...", "when should I...")
Question
User asks for a reference, cheat sheet, commands, or overview
Reference
Onboarding mode
Present a concise orientation — help the user understand what they just installed without overwhelming them. Adapt tone to context (first-time dev vs experienced engineer).
Present this:
Welcome to swain.
Here's how it works:
The big picture:
Swain manages your project's documentation artifacts (specs, stories, ADRs, etc.) and tracks implementation work — so nothing falls through the cracks between sessions.
Three things to know:
/swain
is your entry point.
It routes to the right sub-skill automatically. You can also call skills directly (
/swain-design
,
/swain-do
, etc.).
Design before you build.
When you want to implement something, start with
/swain
to create a spec or story. Swain enforces a "plan before code" workflow — it creates tracked tasks before implementation begins.
Health checks are automatic.
/swain-doctor
runs at session start to ensure routing rules are in place and
.tickets/
is healthy. You don't need to think about it.
Common starting points:
"I want to plan a new feature" → creates an Epic or Story
"Write a spec for X" → creates an Agent Spec
"What should I work on next?" → checks your task backlog
"File a bug" → creates a Bug artifact
"Let's release" → version bump + changelog
Need more?
Ask me anything about swain, or say
/swain help reference
for a full cheat sheet.
Then stop. Let the user ask follow-up questions — don't dump everything at once.
Question mode
Answer the user's specific question using your knowledge of swain. If you need details beyond what's in this skill, read the relevant reference:
Topic
Where to look
Artifact types, phases, relationships
skills/swain-help/references/quick-ref.md
— Artifacts section
Commands and invocations
skills/swain-help/references/quick-ref.md
— Commands section
Step-by-step walkthroughs
skills/swain-help/references/workflows.md
Artifact definitions and templates
skills/swain-design/references/
swain-help
安装
npx skills add https://github.com/cristoslc/swain --skill swain-help