SSkilltecabyclaudinhocode
Enviar skill
← Voltar para o catálogo

torque

Design e Frontend

Torque: a Claude Code skill that converts GSD (project management) and Superpowers (engineering discipline) into one coherent workflow. Prevents double-planning, conflicting subagent models, and overlapping design capture by providing a single routing decision at task start.

6estrelas
Ver no GitHub ↗Autor: mattjaikaranLicença: MIT

Torque — GSD + Superpowers, United

Core Rule

Check for .planning/ directory in the project root. This single check determines routing.

Primary Routing Table

Scenario.planning/ exists?SystemEntry Point
New project (greenfield)No → creates itGSD/gsd:new-project
Brownfield onboardingNo → creates itGSD/gsd:map-codebase then /gsd:new-project
New feature in GSD projectYesGSD/gsd:discuss-phase/gsd:spec-phase/gsd:plan-phase/gsd:execute-phase
AI/LLM integration phaseYesGSD/gsd:ai-integration-phase/gsd:plan-phase/gsd:execute-phase/gsd:eval-review
Quick task in GSD projectYesGSD/gsd:quick
Trivial fix in GSD projectYesGSD/gsd:fast (inline, no subagents)
Standalone feature (no GSD)NoSPREQUIRED: brainstormingwriting-planssubagent-driven-development
PRD-driven featureEitherSP → GSDwrite-a-prdprd-to-issues/gsd:new-project or /gsd:add-phase
Bug fix (any context)EitherSP firstREQUIRED: systematic-debugging ALWAYS first, then route fix through appropriate system
Code review (send)EitherSPREQUIRED: requesting-code-review (fills GSD's missing review step)
Code review (receive)EitherSPreceiving-code-review — verify feedback before implementing blindly
Stress-test a planEitherSPgrill-me — interview until all ambiguity is resolved
Architecture improvementEitherSPimprove-codebase-architecture — surface friction, propose refactors as RFC issues
Ship / PR creationYesGSD/gsd:ship or /gsd:pr-branch (filters .planning/ commits)
Ship (standalone)NoSPfinishing-a-development-branch
Resume workYesGSD/gsd:resume-work
Resume workNoSPRe-read plan files in docs/plans/

Extended Routing (GSD 1.34+)

ScenarioEntry PointNotes
Spec refinement/gsd:spec-phaseSocratic clarification of WHAT a phase delivers — produces SPEC.md before planning
AI/LLM design contract/gsd:ai-integration-phaseFramework selection, implementation guidance, evaluation strategy → AI-SPEC.md
AI eval audit/gsd:eval-reviewRetroactive audit of AI phase evaluation coverage
Spike (feasibility test)/gsd:spike/gsd:spike-wrap-upThrowaway experiment to validate approach before committing
Sketch (UI mockup)/gsd:sketch/gsd:sketch-wrap-upRapid HTML mockups with multi-variant exploration
UI/frontend phase/gsd:ui-phase/gsd:ui-reviewDesign contract (UI-SPEC.md) before implementation
Security audit/gsd:secure-phaseVerify threat mitigations post-implementation
Codebase intelligence/gsd:intelQuery, refresh, or inspect .planning/intel/
Code review + auto-fix/gsd:code-review/gsd:code-review-fixTwo-step: find issues, then fix atomically
Autonomous execution/gsd:autonomousRuns all remaining phases: discuss → plan → execute
Parallel workstreams/gsd:workstreamsManage concurrent work across features
Persistent debugging/gsd:debug4-phase debugging with knowledge base persistence
Phase assumptions/gsd:list-phase-assumptionsSurface Claude's assumptions before planning
Nyquist validation/gsd:validate-phaseAudit and fill validation gaps for a completed phase
Milestone audit/gsd:audit-milestone/gsd:plan-milestone-gapsVerify intent delivered, fill gaps
Ship / PR creation/gsd:shipCreate PR, run review, prepare for merge
Clean PR branch/gsd:pr-branchFilter out .planning/ commits for clean code review
Safe revert/gsd:undoRoll back phase or plan commits using phase manifest
Project statistics/gsd:statsPhases, plans, git metrics, timeline
Session report/gsd:session-reportToken usage estimates and work summary
Docs generation/gsd:docs-updateGenerate/update project docs verified against codebase
Changelogchangelog-generator (SP)Auto-generate user-facing changelogs from git commits
Diagnostics/gsd:healthDiagnose and repair .planning/ directory issues
Post-mortem/gsd:forensicsInvestigate failed GSD workflows
Learnings extraction/gsd:extract_learningsExtract decisions, patterns, surprises from completed phases

Idea Capture & Backlog

ScenarioEntry PointNotes
Quick note/gsd:noteZero-friction idea capture — append, list, or promote
Add todo/gsd:add-todoCapture task from conversation context
Check todos/gsd:check-todosList pending todos and select one to work
Backlog idea/gsd:add-backlogPark an idea in 999.x numbering
Review backlog/gsd:review-backlogPromote backlog items to active milestone
Plant seed/gsd:plant-seedForward-looking idea with trigger conditions
Explore idea/gsd:exploreSocratic ideation — think before committing

Browser & E2E Testing

ScenarioEntry PointNotes
Test web appwebapp-testing (SP)Playwright-based: screenshots, form fills, link checks
Full browser automationplaywright-skill (SP)Auto-detect dev servers, write test scripts

Two-Layer Model

  • GSD = macro layer: project structure, milestones, phases, plans, state tracking, pause/resume
  • Superpowers = micro layer: TDD, debugging methodology, verification, code review per task

GSD orchestrates WHAT to build and in what order. Superpowers enforce HOW to build each piece correctly.

Torque Commands

CommandPurpose
/torque:statusWhere am I? Single view across GSD + SP state
/torque:checkVerify GSD + SP installation and detect misconfigurations
/torque:nextSmart next-action — reads state, suggests one command
/torque:migrateUpgrade path to Meridian

Integration Rules (Summary)

  1. Plan location: GSD uses .planning/phases/, SP uses docs/plans/. Never mix.
  2. Brainstorming: Use discuss-phase for GSD work, brainstorming for standalone only. Never both.
  3. Subagent execution: GSD execute-phase OR SP subagent-driven-development. Never nested.
  4. Debugging: SP systematic-debugging runs first for all bugs. GSD deviation Rule 1 covers only incidental executor bugs.
  5. Code review after GSD: Run requesting-code-review after GSD verify-work, before merge.
  6. Code review receiving: When receiving review feedback, use receiving-code-review to verify suggestions before implementing blindly.
  7. UI discipline: For frontend phases, run /gsd:ui-phase to produce UI-SPEC.md before implementation, then /gsd:ui-review after.
  8. AI discipline: For AI/LLM phases, run /gsd:ai-integration-phase to produce AI-SPEC.md before implementation, then /gsd:eval-review after.
  9. Spec before plan: For medium+ features, run /gsd:spec-phase between discuss and plan to lock falsifiable requirements.
  10. Spike before commit: When feasibility is uncertain, run /gsd:spike before discuss-phase. Wrap findings with /gsd:spike-wrap-up.
  11. Ship cleanly: Use /gsd:ship or /gsd:pr-branch to create PRs that exclude .planning/ commits from code review.
  12. Learnings persist: GSD captures execution patterns automatically. Review with /gsd:intel to inform future phases.

Anti-Patterns (Never Do These)

  • Run brainstorming inside a GSD phase (use discuss-phase)
  • Create docs/plans/ in a GSD project (use .planning/phases/)
  • Nest SP subagent-driven-development inside GSD execute-phase
  • Skip systematic-debugging for bugs in GSD projects
  • Create

Como adicionar

/plugin marketplace add mattjaikaran/torque

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Comentários · Nenhum comentário

Entre para comentar. Entrar

  • Ainda não há comentários. Seja o primeiro.