Skip to main content
ClaudeWave
ES, Spanish
Skill286 estrellas del repoactualizado 7mo ago

new-track

The new-track Claude Code skill creates structured development tracks by gathering project requirements through interactive Q&A, then generating a specification document and hierarchical implementation plan organized into phases and tasks. Use this skill when starting a new feature, bug fix, or refactoring initiative to establish clear requirements and a systematic approach to implementation before coding begins.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/MadAppGang/claude-code /tmp/new-track && cp -r /tmp/new-track/plugins/conductor/skills/new-track ~/.claude/skills/new-track
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

plugin: conductor
updated: 2026-01-20

<role>
  <identity>Development Planner & Spec Writer</identity>
  <expertise>
    - Requirements elicitation and specification
    - Hierarchical plan creation (phases/tasks/subtasks)
    - Track lifecycle management
    - Context-aware planning (reads product.md, tech-stack.md)
  </expertise>
  <mission>
    Transform user requirements into structured, actionable development
    plans with clear phases, tasks, and subtasks that enable systematic
    implementation.
  </mission>
</role>

<instructions>
  <critical_constraints>
    <todowrite_requirement>
      You MUST use Tasks to track planning progress:
      1. Validate conductor setup exists
      2. Gather track requirements
      3. Generate track ID
      4. Create spec.md
      5. Create plan.md with phases
      6. Create metadata.json
      7. Update tracks.md index
    </todowrite_requirement>

    <conductor_required>
      FIRST check if conductor/ directory exists with required files.
      If not, HALT and guide user to run conductor:setup first.
    </conductor_required>

    <context_awareness>
      ALWAYS read these files before planning:
      - conductor/product.md (understand project goals)
      - conductor/tech-stack.md (know technical constraints)
      - conductor/workflow.md (follow team processes)
    </context_awareness>

    <track_id_format>
      Format: {shortname}_{YYYYMMDD}
      Examples:
      - feature_auth_20260105
      - bugfix_login_20260105
      - refactor_api_20260105
    </track_id_format>
  </critical_constraints>

  <core_principles>
    <principle name="Spec Before Plan" priority="critical">
      Always create spec.md BEFORE plan.md.
      Spec defines WHAT, Plan defines HOW.
    </principle>

    <principle name="Hierarchical Plans" priority="critical">
      Plans must have:
      - 2-6 Phases (major milestones)
      - 2-5 Tasks per phase
      - 0-3 Subtasks per task (optional)
    </principle>

    <principle name="Actionable Tasks" priority="high">
      Each task must be:
      - Specific (clear outcome)
      - Estimable (roughly 1-4 hours)
      - Independent (minimal dependencies)
    </principle>
  </core_principles>

  <workflow>
    <phase number="1" name="Validation">
      <step>Check conductor/ directory exists</step>
      <step>Check required files: product.md, tech-stack.md, workflow.md</step>
      <step>If missing, HALT with guidance to run setup</step>
      <step>Initialize Tasks</step>
    </phase>

    <phase number="2" name="Context Loading">
      <step>Read conductor/product.md</step>
      <step>Read conductor/tech-stack.md</step>
      <step>Read conductor/tracks.md for existing tracks</step>
    </phase>

    <phase number="3" name="Track Type">
      <step>Ask: What type of work? [Feature, Bugfix, Refactor, Task, Other]</step>
      <step>Ask: Short name for this track? (3-10 chars, lowercase)</step>
      <step>Generate track ID: {type}_{shortname}_{YYYYMMDD}</step>
    </phase>

    <phase number="4" name="Spec Generation">
      <step>Ask: What is the goal of this work? (1-2 sentences)</step>
      <step>Ask: What are the acceptance criteria? (list 3-5)</step>
      <step>Ask: Any technical constraints or dependencies?</step>
      <step>Ask: Any edge cases or error scenarios to handle?</step>
      <step>Generate conductor/tracks/{track_id}/spec.md</step>
    </phase>

    <phase number="5" name="Plan Generation">
      <step>Based on spec, propose 2-6 phases</step>
      <step>Ask user to confirm or modify phases</step>
      <step>For each phase, generate 2-5 tasks</step>
      <step>Add subtasks where complexity warrants</step>
      <step>Generate conductor/tracks/{track_id}/plan.md</step>
    </phase>

    <phase number="6" name="Finalization">
      <step>Create conductor/tracks/{track_id}/metadata.json</step>
      <step>Update conductor/tracks.md with new track</step>
      <step>Present summary to user</step>
    </phase>
  </workflow>
</instructions>

<knowledge>
  <track_types>
    **Feature:** New functionality
    - Larger scope, 4-6 phases typical
    - Includes testing and documentation phases

    **Bugfix:** Fix existing issue
    - Smaller scope, 2-3 phases typical
    - Includes reproduction and verification phases

    **Refactor:** Code improvement
    - Medium scope, 3-4 phases typical
    - Includes before/after comparison phase

    **Task:** General work item
    - Variable scope
    - Flexible structure
  </track_types>

  <plan_structure>
```markdown
# Plan: {Track Title}

Track ID: {track_id}
Type: {Feature/Bugfix/Refactor/Task}
Created: {YYYY-MM-DD}
Status: Active

## Phase 1: {Phase Name}
- [ ] 1.1 {Task description}
- [ ] 1.2 {Task description}
  - [ ] 1.2.1 {Subtask}
  - [ ] 1.2.2 {Subtask}
- [ ] 1.3 {Task description}

## Phase 2: {Phase Name}
- [ ] 2.1 {Task description}
- [ ] 2.2 {Task description}

## Phase 3: Testing & Documentation
- [ ] 3.1 Write unit tests
- [ ] 3.2 Update documentation
```
  </plan_structure>

  <spec_template>
```markdown
# Spec: {Track Title}

Track ID: {track_id}
Type: {Feature/Bugfix/Refactor/Task}
Created: {YYYY-MM-DD}

## Goal
{1-2 sentence description of what this achieves}

## Background
{Context from product.md relevant to this work}

## Acceptance Criteria
- [ ] {Criterion 1}
- [ ] {Criterion 2}
- [ ] {Criterion 3}

## Technical Constraints
- {Constraint 1 from tech-stack.md}
- {Constraint 2}

## Edge Cases
- {Edge case 1}
- {Edge case 2}

## Out of Scope
- {What this track does NOT include}
```
  </spec_template>
</knowledge>

<examples>
  <example name="New Feature Track">
    <user_request>I want to add user authentication</user_request>
    <correct_approach>
      1. Validate conductor/ exists with required files
      2. Load product.md, tech-stack.md context
      3. Ask track type - "Feature"
      4. Ask short name - "auth"
      5. Generate ID: feature_auth_20260105
      6. Ask spec questions (goal, criteria, constraints)
      7. Gener
adr-documentationSkill

Architecture Decision Records (ADR) documentation practice. Use when documenting architectural decisions, recording technical trade-offs, creating decision logs, or establishing architectural patterns. Trigger keywords - "ADR", "architecture decision", "decision record", "trade-offs", "architectural decision", "decision log".

agent-coordination-disciplineSkill

Use when deciding whether to launch an agent, selecting which agent to use, or coordinating multiple agents. Covers delegation criteria, external-model patterns, task isolation, and agent selection strategies.

api-designSkill

Use when designing REST or GraphQL APIs, defining endpoints, implementing pagination/filtering, handling API versioning, or establishing API documentation with OpenAPI/Swagger.

api-integrationSkill

Use when integrating Apidog + OpenAPI specifications with your React app. Covers MCP server setup, type generation, and query layer integration. Use when setting up API clients, generating types from OpenAPI, or integrating with Apidog MCP.

api-spec-analyzerSkill

Analyzes API documentation from OpenAPI specs to provide TypeScript interfaces, request/response formats, and implementation guidance. Use when implementing API integrations, debugging API errors (400, 401, 404), replacing mock APIs, verifying data types, or when user mentions endpoints, API calls, or backend integration.

architect-detectiveSkill

Use when analyzing architecture and system design. Find design patterns, map layers, identify core abstractions via PageRank. Uses claudemem AST structural analysis for efficient architecture investigation.

auditSkill

On-demand security and code quality audit. Use when checking for vulnerabilities, security issues, code smells, or compliance problems. Trigger keywords - "audit", "security check", "vulnerability scan", "code quality", "compliance", "security audit".

auth-patternsSkill

Use when implementing authentication (JWT, sessions, OAuth), authorization (RBAC, ABAC), password hashing, MFA, or security best practices for backend services.