mayurpise/draft/new-track
Claude Code and agent skill by mayurpise/draft
- community
Checking that the SKILL.md file is still in the repository.
Start a new feature or bug track. Collaborative intake process with structured questions, AI guidance, and progressive refinement before generating spec.md and plan.md. Use when the user asks to 'start a new track', 'create a feature track', 'add a bug fix track', or says 'I want to build X', 'fix the Y bug', 'plan a refactor'.
Install
npx vskill@latest install mayurpise/draft/new-trackSKILL.md
The same SKILL.md was published earlier as mayurpise/draft/new-track.
Create New Track
Create a new track (feature, bug fix, or refactor) for Context-Driven Development. This is a collaborative process — be an active participant providing guidance, fact-checking, and expertise grounded in vetted sources.
Feature Description: $ARGUMENTS
Red Flags - STOP if you're
- Creating a track without reading existing Draft context (product.md, tech-stack.md, .ai-context.md)
- Asking questions without contributing expertise or trade-off analysis
- Rushing through intake without probing deeper with "why"
- Generating spec/plan without user confirmation at checkpoints
- Skipping risk identification
- Not citing sources when giving architectural advice
Collaborative understanding, not speed.
Pre-Check
- Verify Draft is initialized:
If missing, tell user: "Project not initialized. Run /draft:init first."
- Check for
--quickflag in$ARGUMENTS:
- If present: strip `--quick` from `$ARGUMENTS` now (before Step 1) and store the cleaned text as the working description for all subsequent steps. Proceed to Step 1, then go directly to Step 1.5: Quick Mode.
- Quick mode is for: hotfixes, tiny isolated changes, work scoped to 1-3 hours
- Load full project context (these documents ARE the big picture — every track must be grounded in them):
- Read
draft/product.md— product vision, users, goals, constraints, guidelines (optional section) - Read
draft/tech-stack.md— languages, frameworks, patterns, code style, accepted patterns - Read
draft/.ai-context.md(if exists) — system map, modules, data flows, invariants, security architecture. Falls back todraft/architecture.mdfor legacy projects. - Read
draft/workflow.md— TDD preference, commit conventions, review process - Read
draft/guardrails.md(if exists) — hard guardrails, learned conventions, learned anti-patterns - Read
draft/tracks.md— existing tracks to check for overlap or dependencies - Scan recent track impact memory (overlap detection): for each completed track in
draft/tracks/*/metadata.jsonupdated within the last 30 days, read theimpactblock (if present). Build a mapmodule → [recent_track_ids]. After Step 4 (scope distillation), once the candidate modules for the new track are known, intersect them with this map. If overlap exists, surface it in the intake summary:
``text Overlap warning: track <id> recently touched modules <A>, <B>. Review draft/tracks/<id>/metadata.json#impact before proceeding. ``
This is informational, not blocking — the user decides whether to proceed, depend on the prior track, or rebase scope.
- Load guidance references:
- Read
core/templates/intake-questions.md— structured questions for intake - Read
core/knowledge-base.md— vetted sources for AI guidance
Step 1: Generate Track ID
Create a short, kebab-case ID from the description (use the stripped description if --quick was present):
- "Add user authentication" →
add-user-auth - "Fix login bug" →
fix-login-bug
Check if draft/tracks/<track_id>/ already exists. If collision detected, append -<ISO-date> suffix (e.g., feature-auth-2026-02-21). Verify the suffixed path is also free before proceeding.
Branch Creation (Toolchain-Aware)
See core/shared/vcs-commands.md for command conventions.
Step 1.5: Quick Mode Path (--quick only)
Skip if: --quick was not present in $ARGUMENTS.
Skip all intake conversation. Ask only two questions:
- "What exactly needs to change? (1-2 sentences)"
- "How will you know it's done? (list acceptance criteria)"
Then generate both files directly:
`draft/tracks/<track_id>/spec.md` (minimal — no YAML frontmatter needed):
`draft/tracks/<track_id>/plan.md` (flat — single phase, no phases ceremony):
Then execute Step 8 (Create Metadata & Update Tracks) with these overrides for quick tracks:
"type": "quick"(notfeature|bugfix|refactor)"phases": {"total": 1, "completed": 0}(plan has exactly 1 phase)
Skip Steps 2–7.
After Step 8 completes, announce:
Step 2: Create Draft Files
Create the track directory and draft files immediately with skeleton structure:
Create draft/tracks/<track_id>/spec-draft.md
MANDATORY: Include YAML frontmatter with git metadata. Gather git info first:
Create draft/tracks/<track_id>/plan-draft.md
MANDATORY: Include YAML frontmatter with git metadata (same git info as spec-draft.md):
Announce: "Created draft files. Let's build out the specification through conversation."
Step 3: Collaborative Intake
Follow the structured intake from core/templates/intake-questions.md. You are an active collaborator, not just a questioner.
Your Role as AI Collaborator
For each question:
- Ask the question clearly
- Listen to the user's response
- Contribute your expertise:
- Pattern recognition from industry experience
- Trade-off analysis with citations from knowledge-base.md
- Risk identification the user may not see
- Fact-checking against project context (.ai-context.md, tech-stack.md)
- Alternative approaches with pros/cons
- Update spec-draft.md with what's been established
- Summarize periodically: "Here's what we have so far..."
Citation Style
Ground advice in vetted sources:
- "Consider CQRS here (DDIA, Ch. 11) — separates read/write concerns."
- "This could violate the Dependency Rule (Clean Architecture)."
- "Circuit breaker pattern (Release It!) would help prevent cascade failures."
- "Watch for OWASP A01:2021 — Broken Access Control."
Red Flags - STOP if you're
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/new-track/SKILL.md
Popularity
- Repository stars
- 40
- Repository forks
- 4
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mayurpise/draft/new-track)