intent-driven-development

affaan-m/ecc

Превращает неоднозначные или важные продуктовые и инженерные изменения в ограниченные проверяемые критерии приёмки до или вместе с реализацией. Для уточнения фич и снижения рисков.

Звёзды305 753
Авторaffaan-m
Установок5,3K

Установка

SKILL.md

Intent-Driven Development

Produce useful acceptance criteria without turning specification into ceremony. Inspect available context first, expose genuine ambiguity, and choose verification methods that fit the work and its risk.

When to Activate

  • User asks to clarify a feature, define acceptance criteria, or de-risk a change before implementation
  • Request touches security, authentication, persistent data, migrations, external APIs, or compliance
  • User wants to prepare a handoff artifact for another agent or team
  • Request is ambiguous enough that the expected outcome is not yet observable or testable
  • User explicitly invokes this skill with /intent-driven-development

Do not activate for trivial edits, straightforward one-line fixes, active debugging sessions, code review requests, or implementation requests whose acceptance conditions are already clear.

How It Works

  1. Inspect context first — reads the repository, docs, schemas, and test infrastructure for technical facts before asking any question, while treating product/business constraints as something only the user or a product artifact can supply
  2. Choose depth — selects Quick Capture (3-7 criteria, low/moderate risk) or Full Acceptance Brief (security, data, migration, cross-system changes) based on the risk profile
  3. Ask minimally — only asks questions whose answers cannot be inferred and that materially change scope or behavior
  4. Write observable criteria — each AC-NNN describes a starting condition, trigger, expected outcome, prohibited side effect, verification method, and priority; no vague words like "correctly" or "securely" without evidence
  5. Proceed or hand off — for clear requests with no blocking risks, records criteria and continues; for risky changes, presents blockers and waits for confirmation
  6. Handle revision — if an AC fails mid-implementation due to architectural constraints, marks it [revised], updates scope or verification method, increments the revision number, and re-presents only the changed criteria

Examples

Quick Capture — "Add CSV export to the dashboard"

Goal: Authenticated users can download dashboard data as a CSV file.
In scope: Export of currently filtered rows; filename includes date.
Out of scope: Scheduled exports, email delivery, Excel format.
Assumptions: Max row count is under 10k; no PII in exported fields.

AC-001: Export generates file with correct headers
- Scenario: authenticated user, at least one data row visible
- Action: click "Export CSV"
- Expected: browser downloads file with columns [id, name, created_at]
- Must not: expose internal fields or rows belonging to other users
- Verification: automated integration test + manual schema spot-check
- Priority: Required

Full Acceptance Brief trigger — "Migrate user auth to OAuth"

Auth change + external dependency + existing session data → Full Brief with Risk Review table, blocking decisions on session invalidation strategy, and explicit rollback AC.

Existing spec review — user pastes a PRD

Skill reviews it for missing scope boundaries, unverifiable requirements ("the system shall be fast"), and silent assumptions, then returns corrected or supplemental criteria without restarting discovery.

Operating Rules

  1. Inspect the available repository, documentation, issue, design, and test context before asking for technical facts that can be discovered locally.
  2. Do not infer product or business constraints from code. Business rules, compliance and regulatory obligations, contractual SLAs, pricing, data-retention policy, prioritization, and target users cannot be read from a repository. Treat them as unknown until the user supplies them or an authoritative product artifact (PRD, contract, policy document) states them. Record them as assumptions flagged for confirmation, never as discovered facts. The repository tells you how the system behaves today, not what the business requires it to do.
  3. Ask only questions whose answers are required and cannot be safely inferred. Group short, related questions when that saves unnecessary turns.
  4. Do not block implementation by default. When the user has asked to implement a sufficiently clear change, record key assumptions and acceptance criteria briefly, then proceed or hand them to the implementation workflow.
  5. Require explicit user confirmation before proceeding only when an unresolved decision could create material security exposure, data loss, irreversible migration, contractual/API breakage, meaningful cost, or destructive external action.
  6. Do not write an acceptance document into a repository, alter project files, create a branch, commit, or invoke another skill unless the user requests it or the active repository workflow explicitly requires it.
  7. Treat automated tests as evidence, not truth. Prefer automation when reliable and proportionate; allow manual UX, accessibility, security, legal, or operational verification where automation cannot establish the outcome.
  8. Never include real secrets, credentials, tokens, private keys, personal data, or sensitive production payloads in acceptance criteria, fixtures, examples, or saved artifacts. Use redacted or synthetic values.
  9. Do not run destructive tests, migrations, security probes, load tests, paid external calls, or operations against production/live data without explicit authorization and an identified safe environment.
  10. When an acceptance criterion cannot be satisfied due to an architectural, platform, or external constraint discovered during implementation, do not silently drop or workaround it. Update the affected criterion (mark it [revised], state the constraint, and adjust scope or verification method), increment the revision number, and re-present only the changed criteria to the user before continuing. Require explicit confirmation only if the revision changes a blocking decision or materially reduces safety or correctness guarantees.

Choose The Depth

Use the smallest useful output.

Quick Capture

Use for a clear but non-trivial change with low or moderate risk. Produce:

  • Goal
  • In scope / out of scope
  • Assumptions
  • 3-7 acceptance criteria with verification methods
  • Blocking questions, if any

Do not delay implementation for approval unless a blocking risk from the operating rules exists or the user specifically asked for a specification first.

Full Acceptance Brief

Use for ambiguous, cross-system, security-sensitive, data-changing, migration, compliance, or high-cost changes, or when the user requests a handoff artifact. Produce the full template below and request confirmation for unresolved blocking decisions before risky implementation.

Existing Specification Review

When the user already supplied a PRD, issue, plan, or acceptance criteria:

  1. Review it instead of restarting discovery.
  2. Identify missing scope boundaries, unsafe assumptions, contradictions, and unverifiable requirements.
  3. Return corrected or supplemental criteria.

Workflow

1. Establish Goal And Risk

Extract or ask for:

  • The observable outcome for the user or system.
  • The actors affected.
  • The main failure consequence.
  • Risk dimensions that actually apply: security/privacy, persistent data, compatibility/API, migration, external dependencies, cost, concurrency, performance, usability/accessibility.

Avoid asking generic questions about irrelevant risks.

2. Discover Context

When local or connected artifacts are available, inspect only what is needed:

  • Existing behavior and directly related files or interfaces.
  • Repository conventions, product docs, API contracts, data schemas, or migration history.
  • Existing verification infrastructure and realistic commands.
  • External dependencies and whether they are testable in isolation.

Record discovered facts separately from user-provided assumptions. If context cannot be inspected, say what is unknown and ask focused questions.

The repository reveals technical facts — how the system behaves today, its conventions, and its contracts. It does not reveal product or business constraints: business rules, compliance and regulatory obligations, contractual SLAs, pricing, data-retention policy, prioritization, and target users. Never reconstruct these from code or naming. Capture them only from the user or an authoritative product artifact, and list them as assumptions to confirm until then.

3. Define Scope

State:

  • Goal: one sentence describing the intended outcome.
  • In scope: behavior this change must deliver.
  • Out of scope: tempting adjacent work explicitly excluded.
  • Assumptions: claims not yet proven.
  • Blocking decisions: unresolved choices that materially affect safety or behavior.

4. Write Acceptance Criteria

Use AC-001, AC-002, and so on. Each criterion must describe observable behavior and an appropriate verification method; criteria and tests are not required to map one-to-one.

For each applicable criterion include:

  • Scenario or starting condition.
  • Action or trigger.
  • Expected observable behavior.
  • Prohibited side effect when meaningful.
  • Verification method: automated test, integration check, manual UX review, accessibility check, security review, operational check, or stakeholder acceptance.
  • Environment/safety constraint when verification could affect data, services, cost, or secrets.
  • Priority: required, important, or optional.

Do not use words such as "correctly", "securely", "fast", "intuitive", or "robust" without defining observable evidence or recording them as a human-review judgment.

5. Cover Only Relevant Boundaries

Consider these categories, but include only categories that apply:

CategoryInclude whenTypical evidence
Happy pathNew or changed user-visible behaviorSuccessful workflow or state transition
ValidationThe change accepts inputRejected malformed or boundary value without mutation
Authorization/privacyData or actions have access boundariesDenied access and no sensitive disclosure
Persistence/migrationStored data or schemas changeBackward read, migration, rollback or backup behavior
CompatibilityPublic APIs, files, events, or clients may breakExisting contract or fixture remains valid
Failure recoveryNetwork, service, or asynchronous failure existsNo partial state or clear retry/degraded behavior
Idempotency/concurrencyRepeats or simultaneous writes are plausibleNo duplicate side effect or invalid final state
PerformanceA user or service threshold mattersDefined measurement conditions and threshold
UX/accessibilityA person interacts with the resultKeyboard, feedback, error recovery, visual/manual review

6. Present And Continue

  • For a clarification/specification request, present the brief and ask for decisions only on listed blockers.
  • For an implementation request with no blocker, present a compact criteria summary as part of the work and continue with implementation.
  • For handoff to another agent or team, include enough context and verification detail for them to act without inventing requirements.
  • Save the brief to a file only when requested. Use a repository-approved path when one exists; otherwise ask for or state the chosen destination before writing.

Output Template

Use this template for a Full Acceptance Brief. Omit irrelevant sections for Quick Capture.

# Acceptance Brief: <Change Name>

**Status:** Draft | Approved | Implemented | Verified
**Revision:** <number>
**Prepared for:** <user/team/agent, when known>
**Approval required before risky work:** Yes | No - <reason>

## Revision Log

| Rev | Date | Changed criteria | Reason |
| --- | --- | --- | --- |
| 1 | <date> | — | Initial draft |

## Goal

<One observable outcome sentence.>

## Scope

**In scope**
- <behavior included>

**Out of scope**
- <adjacent work excluded>

## Context

**Discovered facts** (technical, verified from repository or artifact)
- <how the system behaves today, conventions, contracts>

**Product/business constraints** (supplied by user or product artifact, never inferred from code)
- <business rule, compliance/SLA obligation, retention policy, priority, target user — or "none supplied yet">

**Assumptions**
- <unverified claim to confirm or validate>

**Dependencies and constraints**
- <external service, local convention, compatibility obligation, environment limit>

## Risk Review

| Risk area | Applies? | Required handling |
| --- | --- | --- |
| Security/privacy | Yes/No | <redaction, authorization, review, etc.> |
| Persistent data/migration | Yes/No | <compatibility, backup, rollback, etc.> |
| External effects/cost | Yes/No | <sandbox/test environment/authorization> |
| Compatibility/API | Yes/No | <contract to preserve or version> |
| UX/accessibility | Yes/No | <manual or automated evidence> |

## Acceptance Criteria

### AC-001: <observable behavior>
- **Scenario:** <starting condition>
- **Action:** <single trigger>
- **Expected:** <observable result>
- **Must not:** <prohibited side effect, if applicable>
- **Verification:** <method and intended evidence>
- **Environment/safety:** <constraints, if applicable>
- **Priority:** Required | Important | Optional

## Blocking Decisions

- [ ] <only decisions that prevent safe or correct progress>

## Verification Plan

| Criterion | Verification evidence | Status |
| --- | --- | --- |
| AC-001 | <test/check/review command or evidence type> | Pending |

Pass/Fail Examples

Use these to judge whether the skill actually produced a verifiable brief, not planning prose.

A failing acceptance criterion

AC-001: The export works correctly and is secure.

Fails — "works correctly" and "secure" are not observable, there is no scenario, trigger, expected result, or verification method, and nothing states what must not happen. A reader cannot tell whether the implementation satisfied it.

A passing acceptance criterion

AC-001: Export generates file with correct headers
- Scenario: authenticated user, at least one data row visible
- Action: click "Export CSV"
- Expected: browser downloads file with columns [id, name, created_at]
- Must not: expose internal fields or rows belonging to other users
- Verification: automated integration test + manual schema spot-check
- Priority: Required

Passes — a concrete observable outcome, a prohibited side effect, and a named verification method. Two people would agree on whether it was met.

A failing context entry

Discovered facts: Users on the free tier are limited to 100 exports per month.

Не проходит — лимит на уровне тарифа является бизнес-правилом. Он не должен фигурировать среди установленных фактов, выведенных из кода; он относится к продуктовым/бизнес-ограничениям, предоставленным пользователем, либо должен быть указан как допущение для подтверждения.

Критерии прохождения/непрохождения

Бриф проходит только если на каждый вопрос ответ «да». Любой ответ «нет» означает необходимость доработки перед возвратом.

  • <!-- -->Для каждого обязательного критерия есть сценарий, наблюдаемый ожидаемый результат и названный метод проверки?
  • <!-- -->Все ли расплывчатые термины («корректно», «безопасно», «быстро», «надёжно») либо заменены наблюдаемыми доказательствами, либо помечены как требующие человеческого суждения?
  • <!-- -->Продуктовые/бизнес-ограничения перечислены как предоставленные/предполагаемые, и ни одно не выведено молча из кода?
  • <!-- -->Явно ли указан объём работ с перечислением того, что в него не входит?
  • <!-- -->Ограничены ли блокирующие решения только теми выборами, которые действительно влияют на безопасность или корректность, а не на предпочтения?

Проверка качества

Перед возвратом брифа проверьте:

  • Цель описывает результат, а не выбор реализации.
  • Границы объёма и допущения указаны явно.
  • Каждый обязательный критерий наблюдаем или явно помечен как требующий человеческого суждения.
  • Риски безопасности, конфиденциальности, данных, совместимости, внешних эффектов и UX рассматривались только там, где это уместно, и не были молча проигнорированы.
  • Методы проверки определяют безопасные среды для рискованных операций.
  • Никакая секретная или чувствительная для продакшена информация не была скопирована в выходные данные.
  • Никакое изменение репозитория или блокировка реализации не навязываются без обоснования или запроса.

Передача

Когда доступен другой рабочий процесс планирования или реализации, передайте ему бриф приёмки или идентификаторы критериев. Когда выделенного рабочего процесса нет, предоставьте бриф напрямую как справочник для реализации. Не предполагайте, что какой-либо именованный навык или инструмент установлен.

Вставить в README

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

[DarkPlay: intent-driven-development](https://darkplay.ru/ai/skills/affaan-m-ecc-intent-driven-development)

Описание

Превращает неоднозначные или высоковлияющие продуктовые и инженерные изменения в ограниченные по объёму проверяемые критерии приёмки до или параллельно с реализацией. Используй, когда пользователь просит прояснить фичу, определить критерии приёмки, снизить риски изменения безопасности/данных/миграции/интеграции, подготовить требования к реализации для другого агента или сделать сложный запрос тестируемым. Не срабатывает для тривиальных правок, прям...

Из того же репозитория

plan-orchestrate Читает план, разбивает его на шаги, подбирает цепочку агентов из каталога ECC и выдаёт гот ★305,8K network-interface-health Диагностика ошибок интерфейсов, потерь пакетов, CRC, несовпадения дуплекса, флаппинга, про ★305,8K nutrient-document-processing Обработка, конвертация, OCR, извлечение, редактирование, подпись и заполнение документов ч ★305,8K openclaw-persona-forge Создаёт полный «душевный» профиль лобстера для OpenClaw AI Agent: позиционирование, SOUL.m ★305,8K opensource-pipeline Открытый пайплайн: форк, очистка и упаковка приватных проектов для безопасной публикации. ★305,8K production-scheduling Экспертиза по планированию производства, упорядочиванию работ, балансировке линий, оптимиз ★305,8K quality-nonconformance Экспертиза по контролю качества, расследованию несоответствий, анализу первопричин, коррек ★305,8K network-config-validation Преддеплойментные проверки конфигурации роутеров и коммутаторов: опасные команды, дубли ад ★305,8K

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

Популярное в разделе «Скиллы»

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

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 устан.
Похожее в других разделах каталога

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

andrej-karpathy-skillsmultica-ai · Правила поведения для снижения типичных ошибок LLM при программировании: думай перед…
1 комп.
Code Exploreraffaan-m · Глубоко анализирует существующие функции кодовой базы, прослеживая пути выполнения…
225 587 ★
Feature Developmentaffaan-m · Каркас команды workflow для feature-development в everything-claude-code.
225 587 ★
Harmonyos App Resolveraffaan-m · Эксперт по HarmonyOS на ArkTS и ArkUI: состояние V2, навигация, API и производительность.
225 587 ★
Spec Mineraffaan-m · Извлекает поведенческие спецификации из кода для OpenSpec в виде блоков Requirement и…
225 587 ★
Tdd Guideaffaan-m · Специалист по TDD: сначала тесты, покрытие 80%+.
225 587 ★
agent-sdk-devanthropics · Набор для разработки с Claude Agent SDK.
34 комп.
feature-devanthropics · Полный рабочий процесс разработки функций со специализированными агентами для изучения…
34 комп.
ralph-wiggumanthropics · Интерактивные самореферентные циклы ИИ для итеративной разработки. Claude многократно…
34 комп.
agent-skillsaddyosmani · Инженерные навыки продакшн-уровня, охватывающие все этапы разработки ПО: спецификация…
118 722 ★

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

Ассистенты и автоматизация

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

Give Me Public
Есть бесплатный тариф
5.0
AITunnelAitunnel
По запросу
5.0
STIVAStiva
По запросу
5.0
Wikibot (Викибот)Wikibot
По запросу
4.9
mymeet.aiMymeet
По запросу
4.9
InsighterInsighter
По запросу
4.9
TGHuntTghunt
Есть бесплатный тариф
4.9
LegiscanLegiscan
По запросу
4.9
RouterAIRouterai
По запросу
4.9
Wikibot 1.0 (Викибот)Wikibot
По запросу
4.9

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

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

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