Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

create-sprint

БесплатноБез исполняемых скриптовНе проверен

Guide sprint planning from scope assessment to spec artifacts.

leogodin217от leogodin217★ 65 звёзд на GitHub

Об этом скилле

Plan Sprint

This command guides the sprint planning process.

Sprint Identity

Every sprint has a kebab-case name (e.g. fork-spec, cli-v1). The name is set during scope approval (Step 2) and is used as:

  • The directory: docs/sprints/<sprint-name>/
  • The future sprint branch: sprint/<sprint-name> (created by /implement-sprint)
  • The future worktree: ../worktrees/<sprint-name> (created by /implement-sprint)

Validate the name before writing artifacts:

# Refuse if any of these collide:
test -d "docs/sprints/<sprint-name>"            # directory exists at HEAD
git show-ref --quiet "refs/heads/sprint/<sprint-name>"   # branch exists
git worktree list | grep -q "worktrees/<sprint-name>"    # worktree exists

If any collide, propose a different name (e.g. <name>-v2).

Parent Branch

The sprint commits land on a parent branch that is captured at create time. Pick the parent like this:

Current branch Parent branch Action
main or master <sprint-name>-work Auto-create the work branch and switch to it before committing the sprint dir. Tell the user.
Anything else The current branch No action — sprint will commit there

Record the choice in state.yaml:parent_branch. Step 10 reads this to fork the worktree from the right base, and /implement-sprint reads it to confirm the worktree's lineage.

Conventions

  • <src-tree> / <test-tree> — the source and test directories of the thing being changed. Under layout: monorepo that is <packages>/<pkg>/src and <packages>/<pkg>/tests; under layout: single-package it is src and tests. Substitute the real paths when emitting artifacts — the templates below use the placeholders so the same spec shape works in either repo.

Context posture

Full architecture. Run /understand architecture first — it loads the pipeline boundaries a sprint must not cross and the docs/CAPABILITIES.md outline that Step 1 assesses against. CLAUDE.md is already in context. Step 3 loads per-package design on top of the bundle, once scope is approved.

Process

1. Assess Current State

From the bundle, read docs/CAPABILITIES.md (status per capability) and docs/architecture/README.md § Status (implementation state by module).

Identify gaps: What capabilities are not started or partial?

2. Propose Sprint Scope

Based on gaps and dependencies, propose what this sprint should deliver.

Scope can be:

  • Part of one capability (a single mechanism, not its whole surface)
  • Parts of multiple capabilities that are only useful together
  • Infrastructure that unblocks a capability (config parsing before anything that reads config)

Write a scope proposal:

## Proposed Scope

**Delivers:** [What this sprint produces]

**Capabilities touched:**
- <capability>: <the slice this sprint delivers> (not <the slice it defers>)
- <capability>: <the slice this sprint delivers>

**Rationale:** [Why this scope makes sense—dependencies, complexity, coherence]

**Not included:** [What's explicitly deferred]

Present scope to user for approval before proceeding.

3. Load Detailed Context

Once scope is approved, load relevant docs:

  • docs/architecture/README.md - See reading order for which docs to load
  • Subsystem design rationale and constraints, under the subsystem-doc location the bundle declared
  • docs/architecture/pending/*.md - Pending design doc for this feature (if one exists). There is no per-subsystem pending location

If a design doc exists in pending/, extract contracts from it. The design doc provides rationale and semantics (the WHY). The sprint spec provides contracts, phases, and test cases (the WHAT). Do not duplicate prose from the design doc — reference it.

4. Define Purpose and Success Criteria

Write a clear purpose statement:

  • One sentence describing what this sprint delivers
  • How an author will use this capability
  • Observable success criteria

5. Design Contracts

Use the architect agent to design interface contracts.

Each contract needs:

  • Full function signature with type hints
  • Complete docstring (Args, Returns, Raises)
  • NO default parameters (the no-invented-values principle)
  • NO scaffolding for future work (the no-future-scaffolding principle)
  • All error conditions documented
  • NO implementation code — signatures and docstrings only
def function_name(
    param1: Type1,
    param2: Type2,
) -> ReturnType:
    """
    One-line summary.

    Args:
        param1: Description
        param2: Description

    Returns:
        Description

    Raises:
        ValueError: When X
    """
    ...

For modified functions, describe behavioral changes in the docstring. Do not show implementation diffs (for-loops, if-blocks, code to insert). The implementer writes the code; the contract says what the code should do.

Anti-scaffolding checklist:

  • No # Future: comments in contracts
  • No methods
Полный SKILL.md на GitHub

Установить create-sprint в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл create-sprint?

Guide sprint planning from scope assessment to spec artifacts.

Как установить скилл create-sprint?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл create-sprint запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить create-sprint с