From hpc-superpowers
Use when starting C++ HPC development — scaffolding a new project or adding a parallel component to an existing codebase
How this skill is triggered — by the user, by Claude, or both
Slash command
/hpc-superpowers:hpc-buildThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Core principle:** Route HPC build requests to the right framing, grounded in current library APIs and adapted to experience level.
Core principle: Route HPC build requests to the right framing, grounded in current library APIs and adapted to experience level.
Not for: optimizing, debugging, porting, profiling — use the appropriate HPC verb instead.
digraph hpc_build {
rankdir=TB;
"Read user NL prompt" [shape=box];
"Run skills/shared/experience-infer.md" [shape=box];
"Inject skills/shared/hpc-context.md" [shape=box];
"Detect mode" [shape=diamond];
"Mode ambiguous?" [shape=diamond];
"Ask: new project or existing codebase?" [shape=box];
"Run skills/hpc-build/build-scaffold.md → superpowers-extended-cc:brainstorming" [shape=box];
"Run skills/hpc-build/build-component.md → superpowers-extended-cc:brainstorming" [shape=box];
"Read user NL prompt" -> "Run skills/shared/experience-infer.md";
"Run skills/shared/experience-infer.md" -> "Inject skills/shared/hpc-context.md";
"Inject skills/shared/hpc-context.md" -> "Detect mode";
"Detect mode" -> "Mode ambiguous?" [label="unclear"];
"Detect mode" -> "Run skills/hpc-build/build-scaffold.md → superpowers-extended-cc:brainstorming" [label="new project"];
"Detect mode" -> "Run skills/hpc-build/build-component.md → superpowers-extended-cc:brainstorming" [label="existing codebase"];
"Mode ambiguous?" -> "Ask: new project or existing codebase?" [label="yes"];
"Mode ambiguous?" -> "Run skills/hpc-build/build-scaffold.md → superpowers-extended-cc:brainstorming" [label="no — scaffold"];
"Mode ambiguous?" -> "Run skills/hpc-build/build-component.md → superpowers-extended-cc:brainstorming" [label="no — component"];
"Ask: new project or existing codebase?" -> "Run skills/hpc-build/build-scaffold.md → superpowers-extended-cc:brainstorming" [label="new project"];
"Ask: new project or existing codebase?" -> "Run skills/hpc-build/build-component.md → superpowers-extended-cc:brainstorming" [label="existing"];
}
| Signal | Mode |
|---|---|
| "new project", "start from scratch", "scaffold", "new application", "fresh repo" | scaffold |
| "my existing code", "add to this", "this codebase", "my loop here", "extend this function" | component |
| No clear signal | Ambiguous → ask one question |
Before invoking superpowers-extended-cc:brainstorming, always:
skills/shared/hpc-context.md → read the Last updated: date. If >7 days ago, surface: "Your HPC context may be stale — run /hpc-refresh-context to update before we proceed. Continue anyway? (y/n)"skills/shared/experience-infer.md — sets tone and depthskills/shared/hpc-context.md — grounds guidance in current APIsskills/hpc-build/build-scaffold.md OR skills/hpc-build/build-component.mdThen invoke superpowers-extended-cc:brainstorming with that context.
npx claudepluginhub randy1005/hpc-superpowersGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.