openspec-implementation

forztf/open-skilled-sdd

Реализация утверждённых спецификаций с последовательным выполнением задач, тестированием и валидацией.

Звёзды10
Форки4
Авторforztf
Обновлённоя 28 2025

Установка

SKILL.md

Specification Implementation

Systematically implements approved spec proposals by executing tasks sequentially with proper testing and validation.

Quick Start

Implementation follows a read → execute → test → validate cycle for each task:

  1. Read the full proposal and task list
  2. Execute tasks one at a time, in order
  3. Test each completed task
  4. Mark complete only after verification

Critical rule: Use TodoWrite to track progress. Never skip tasks or mark incomplete work as done.

Workflow

Copy this checklist and track progress:

Implementation Progress:
- [ ] Step 1: Load and understand the proposal
- [ ] Step 2: Set up TodoWrite task tracking
- [ ] Step 3: Execute tasks sequentially
- [ ] Step 4: Test and validate each task
- [ ] Step 5: Update living specifications (if applicable)
- [ ] Step 6: Mark proposal as implementation-complete

Step 1: Load and understand the proposal

Before starting, read all context:

# Read the proposal
cat spec/changes/{change-id}/proposal.md

# Read all tasks
cat spec/changes/{change-id}/tasks.md

# Read spec deltas to understand requirements
find spec/changes/{change-id}/specs -name "*.md" -exec cat {} \;

Understand:

  • Why this change is needed (from proposal.md)
  • What the expected outcomes are
  • Which specs will be affected
  • What the acceptance criteria are (from scenarios)

Step 2: Set up TodoWrite task tracking

Load tasks from tasks.md into TodoWrite before starting work:

**Pattern**:
Read tasks.md → Extract numbered list → Create TodoWrite entries

**Example**:
If tasks.md contains:
1. Create database migration
2. Implement API endpoint
3. Add tests
4. Update documentation

Then create TodoWrite with:
- content: "Create database migration", status: "in_progress"
- content: "Implement API endpoint", status: "pending"
- content: "Add tests", status: "pending"
- content: "Update documentation", status: "pending"

Why this matters: TodoWrite gives the user visibility into progress and ensures nothing gets skipped.

Step 3: Execute tasks sequentially

Work through tasks one at a time, in order:

For each task:
1. Mark as "in_progress" in TodoWrite
2. Execute the work
3. Test the work
4. Only mark "completed" after verification

NEVER skip ahead or batch multiple tasks before testing.

Task execution pattern:

## Task: {Task Description}

**What**: [Brief explanation of what this task does]

**Implementation**:
[Code changes, file edits, commands run]

**Verification**:
[How to verify this task is complete]
- [ ] Code compiles/runs
- [ ] Tests pass
- [ ] Meets requirement scenarios

**Status**: ✓ Complete / ✗ Blocked / ⚠ Partial

Step 4: Test and validate each task

After each task, verify it works:

For code tasks:

# Run relevant tests
npm test # or pytest, cargo test, etc.

# Run linter
npm run lint

# Check types (if applicable)
npm run type-check

For database tasks:

# Verify migration runs
npm run db:migrate

# Check schema matches expected
npm run db:schema

For API tasks:

# Test endpoint manually
curl -X POST http://localhost:3000/api/endpoint \
  -H "Content-Type: application/json" \
  -d '{"test": "data"}'

# Or run integration tests
npm run test:integration

Only mark task complete after all verifications pass.

Step 5: Update living specifications (if applicable)

During implementation, if you discover the spec deltas need updates:

  1. Document the discovery in proposal.md or a notes file
  2. Do NOT modify spec deltas during implementation
  3. After implementation completes, consider whether spec needs adjustment

Note: Spec deltas are merged during archiving (Step 6), not during implementation.

Step 6: Mark proposal as implementation-complete

After all tasks are complete:

# Create a completion marker
echo "Implementation completed: $(date)" > spec/changes/{change-id}/IMPLEMENTED

Tell the user:

## Implementation Complete

**Change**: {change-id}
**Tasks completed**: {count}
**Tests**: All passing

**Next step**: Archive this change to merge spec deltas into living documentation.
Say "openspec archive {change-id}" or "archive this change" when ready.

Best Practices

Pattern 1: Blocked Tasks

If a task cannot be completed:

**Mark as blocked**:
- Keep status as "in_progress" (NOT "completed")
- Document the blocker clearly
- Create a new task for resolving the blocker
- Inform the user immediately

**Example**:
Task: "Implement payment processing"
Blocker: "Missing API credentials for payment gateway"
Action: Create new task "Obtain payment gateway credentials"

Pattern 2: Task Dependencies

If tasks have dependencies, verify prerequisites before starting:

# Example: Database migration must run before API code
# Check migration status
npm run db:status

# Only proceed with API task if migration succeeded

Pattern 3: Incremental Testing

Test incrementally, not at the end:

Good:

Task 1: Create model → Test model → Mark complete
Task 2: Create API → Test API → Mark complete
Task 3: Add validation → Test validation → Mark complete

Bad:

Task 1, 2, 3 → Implement all → Test everything → Debug failures

Pattern 4: Living Documentation

Keep README, API docs, and comments up to date as you go:

When adding a new API endpoint, also:
- Update API documentation
- Add example request/response
- Update OpenAPI/Swagger spec
- Add inline code comments

Advanced Topics

Parallel work: If tasks are truly independent (e.g., separate modules), you can work on them in parallel, but each must be tested independently.

Integration points: When task dependencies exist, use integration tests to verify the connection works.

Rollback strategy: For risky changes, create rollback tasks before deploying.

Common Patterns

Pattern 1: Database + API + UI

Typical order:

  1. Database schema/migration
  2. Data access layer (models)
  3. Business logic layer (services)
  4. API endpoints (controllers)
  5. UI integration
  6. End-to-end tests

Pattern 2: Feature Flags

For gradual rollouts:

  1. Implement feature behind flag
  2. Test with flag enabled
  3. Deploy with flag disabled
  4. Enable flag incrementally
  5. Remove flag after full rollout

Pattern 3: Breaking Changes

For API breaking changes:

  1. Implement new version (v2)
  2. Keep old version (v1) working
  3. Add deprecation warnings to v1
  4. Migrate users to v2
  5. Remove v1 (separate task/proposal)

Anti-Patterns to Avoid

Don't:

  • Skip testing individual tasks
  • Mark tasks complete before verification
  • Ignore failing tests ("I'll fix it later")
  • Batch multiple tasks before testing
  • Modify living specs during implementation
  • Work out of order (dependencies break)

Do:

  • Test each task immediately
  • Fix failing tests before proceeding
  • Update TodoWrite in real-time
  • Document blockers clearly
  • Communicate progress to user
  • Keep commits atomic and descriptive

Troubleshooting

Issue: Tests failing after task completion

Solution:

1. Do NOT mark task complete
2. Debug the failure
3. Fix the code
4. Re-run tests
5. Only mark complete after pass

Issue: Task is too large

Solution:

1. Break into subtasks
2. Update TodoWrite with subtasks
3. Complete subtasks sequentially
4. Mark parent task complete after all subtasks done

Issue: Dependency not met

Solution:

1. Pause current task
2. Complete dependency first
3. Test dependency
4. Resume original task

Reference Materials

  • TASK_PATTERNS.md - Common task execution patterns
  • TESTING_STRATEGIES.md - Testing approaches by task type

Token budget: This SKILL.md is approximately 430 lines, under the 500-line recommended limit.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: openspec-implementation](https://darkplay.ru/ai/skills/open-skilled-sdd-openspec-implementation)

Похожие скиллы и другие разделы каталога

Похожие скиллы в категории «Программирование»

Та же категория — сравните, что ещё подойдёт под вашу задачу.

ponytailDietrichGebert · Режим ленивого сеньора для кодинга: YAGNI, сначала stdlib, без лишних абстракций
193 349 ★
graphifyGraphify-Labs · Ответы о кодовой базе через постоянный граф знаний из кода, документов и медиа
149 767 ★
add-uint-supportpytorch · Добавление поддержки беззнаковых целых (uint) в операторы PyTorch через макросы…
105 793 ★
playwright-devmicrosoft · Объясняет, как разрабатывать Playwright: добавление API, MCP-инструментов, CLI-команд и…
100 457 ★
understandegonex-ai · Анализирует кодовую базу и строит интерактивный граф знаний для понимания архитектуры…
93 066 ★
implementing-agent-modesposthog · Руководство по созданию и обновлению режима для ИИ-агента PostHog. Режимы ограничивают…
40 862 ★
copilotkit-aguicopilotkit · Применяйте при создании кастомных бэкендов агентов, реализации протокола AG-UI, отладке…
38 781 ★
turborepovercel · Руководство по Turborepo: turbo.json, пайплайны задач, кэш, --filter, CI и структура…
31 361 ★
repomix-exploreryamadashy · Анализ удалённого или локального репозитория через упаковку Repomix CLI и чтение…
29 309 ★
recommendtoss · Анализирует код или требования и рекомендует лучшие функции es-toolkit. Используйте…
11 398 ★
Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

Code Architectaffaan-m · Проектирует архитектуру функций, анализируя существующие паттерны и соглашения кодовой…
225 587 ★
Planneraffaan-m · Специалист по планированию сложных функций, архитектурных изменений и рефакторинга.
225 587 ★
Spec Mineraffaan-m · Извлекает поведенческие спецификации из кода для OpenSpec в виде блоков Requirement и…
225 587 ★
explanatory-output-styleanthropics · Добавляет обучающие пояснения о выборе реализации и паттернах кодовой базы (имитирует…
34 комп.
Constitutional Validatorshanraisshan · Проверяет пункты роадмапа, функции и технические решения на соответствие конституции…
61 912 ★
bmad-method-lifecyclebmad-code-org · Фреймворк полного жизненного цикла AI-разработки — агенты и рабочие процессы для анализа…
39 комп.
explanatory-output-styleanthropics · Добавляет образовательные пояснения о выборе реализации и паттернах кодовой базы…
100 комп.
backend-api-securitywshobson · Усиление безопасности API, реализация аутентификации, паттерны авторизации, rate limiting…
495 комп.
before-you-buildwshobson · Предварительная оценка продуктовых рисков для основателей, продуктовых команд и…
495 комп.
blockchain-web3wshobson · Разработка смарт-контрактов на Solidity, реализация DeFi-протоколов, NFT-платформы и…
495 комп.

Лучшие ИИ-инструменты для программирования

ИИ для программирования

Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные

GenAPIGenapi
По запросу
5.0
Notepad++ AINotepad-plus-plus
По запросу
4.9
GitHub CopilotGitHub
По подписке
4.9
Creatium MaxCremax
По запросу
4.8
Emacs AIGnu
По запросу
4.8
KiteKite
По запросу
4.8
Amazon Q DeveloperAmazon
По запросу
4.8
VECTA
Есть бесплатный тариф
4.8
SoftPractice
Есть бесплатный тариф
4.8
VibeForge
Есть бесплатный тариф
4.7

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8