一键导入
using-superharness
Session start guide: explains how to use superharness skills and conventions. Injected by SessionStart hook.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Session start guide: explains how to use superharness skills and conventions. Injected by SessionStart hook.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Session start guide: explains how to use superharness skills and conventions. Injected by SessionStart hook.
Superharness brainstorming skill. You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Main entry point: end-to-end workflow for building features. Use /superharness:go 'requirement' to start. Orchestrates brainstorm → plan → TDD implementation → review → QA.
Infrastructure skill: start a local visualization server that renders Mermaid diagrams in the browser. Write .mmd files with pure Mermaid code, the browser updates in real-time via WebSocket (no page reload). Used by brainstorm, writing-plans, and other skills.
Surface unresolved decisions in a development request and ask the user before implementing. Use when starting a non-trivial dev task whose requirements leave open questions that would change the implementation (scope, data shape, UX behavior, compatibility), or when the user asks to confirm first ("先确认一下", "有不清楚的先问").
| name | using-superharness |
| description | Session start guide: explains how to use superharness skills and conventions. Injected by SessionStart hook. |
This is not negotiable. This is not optional. You cannot rationalize your way out of this.
Superharness skills override default system prompt behavior, but user instructions always take precedence:
| Skill | When to Use |
|---|---|
superharness:go | Main entry: /superharness:go "requirement" for end-to-end workflow |
superharness:brainstorm | Before any creative work — explore ideas, clarify requirements |
superharness:writing-plans | After brainstorm — create detailed implementation plans |
superharness:subagent-driven-development | Execute plans with fresh subagent per task + dual review |
superharness:test-driven-development | TDD Iron Law: no production code without failing test first |
superharness:verification-before-completion | No completion claims without fresh verification evidence |
superharness:systematic-debugging | Root cause investigation before any fix attempt |
superharness:using-git-worktrees | Isolated development environments |
superharness:finishing-a-development-branch | Complete work: merge/PR/keep/discard |
superharness:sh-fix | Fix QA issues from qa-issues.json |
superharness:sh-qa | Trigger external QA evaluation |
superharness:spec-discover | Scan codebase, discover conventions, update .superharness/spec/ |
superharness:spec-update | Save user-stated conventions to .superharness/spec/ |
superharness:mindmap | Start visualization server for interactive mindmaps |
Invoke relevant or requested skills BEFORE any response or action. Even a 1% chance a skill might apply means you should invoke the skill to check. If an invoked skill turns out to be wrong for the situation, you don't need to use it.
digraph skill_flow {
"User message received" [shape=doublecircle];
"About to EnterPlanMode?" [shape=doublecircle];
"Already brainstormed?" [shape=diamond];
"Invoke brainstorming skill" [shape=box];
"Might any skill apply?" [shape=diamond];
"Invoke Skill tool" [shape=box];
"Announce: 'Using [skill] to [purpose]'" [shape=box];
"Has checklist?" [shape=diamond];
"Create visible task list per item" [shape=box];
"Follow skill exactly" [shape=box];
"Respond (including clarifications)" [shape=doublecircle];
"About to EnterPlanMode?" -> "Already brainstormed?";
"Already brainstormed?" -> "Invoke brainstorming skill" [label="no"];
"Already brainstormed?" -> "Might any skill apply?" [label="yes"];
"Invoke brainstorming skill" -> "Might any skill apply?";
"User message received" -> "Might any skill apply?";
"Might any skill apply?" -> "Invoke Skill tool" [label="yes, even 1%"];
"Might any skill apply?" -> "Respond (including clarifications)" [label="definitely not"];
"Invoke Skill tool" -> "Announce: 'Using [skill] to [purpose]'";
"Announce: 'Using [skill] to [purpose]'" -> "Has checklist?";
"Has checklist?" -> "Create visible task list per item" [label="yes"];
"Has checklist?" -> "Follow skill exactly" [label="no"];
"Create visible task list per item" -> "Follow skill exactly";
}
These thoughts mean STOP — you're rationalizing:
| Thought | Reality |
|---|---|
| "This is just a simple question" | Questions are tasks. Check for skills. |
| "I need more context first" | Skill check comes BEFORE clarifying questions. |
| "I can handle this without a skill" | If a skill exists for this, use it. |
| "Let me explore the codebase first" | Skills tell you HOW to explore. Check first. |
| "This doesn't need a formal skill" | Simple things become complex. Use it. |
| "I'll just do this one thing first" | Check BEFORE doing anything. |
| "I already know this skill" | Skills evolve. Read current version. |
When multiple skills could apply, use this order:
"Let's build X" → brainstorm first, then implementation skills. "Fix this bug" → debugging first, then domain-specific skills.
Rigid (TDD, verification, debugging): Follow exactly. Don't adapt away discipline.
Flexible (brainstorm, writing-plans): Adapt principles to context.
The skill itself tells you which.
Instructions say WHAT, not HOW. "Add X" or "Fix Y" doesn't mean skip workflows.
Project-specific conventions are defined in .superharness/spec/. Each index.md contains:
Read the relevant spec files before starting work on any task.
Current task state is tracked in .superharness/tasks/. Check .superharness/tasks/.current-task to find the active task.
Log key events to .superharness/tasks/{task}/trace.jsonl at major transitions. This enables post-mortem analysis of the development process.