К основному содержанию
скилл CX Codex

codex-spec-interviewer — скилл для Claude Code

Превращает неточные задачи по разработке в детальные спецификации для Codex с критериями приёмки и архитектурными решениями. Пригодится до написания кода, когда нужно согласовать план.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add stark-ai-de/agent-skills --skill codex-spec-interviewer -a claude-code
Открыть на GitHub

Что делает codex-spec-interviewer

Скилл опрашивает пользователя по неясным деталям задачи, проверяет окружение репозитория и внешнюю документацию через MCP или поиск. На выходе он формирует проверяемую спецификацию: список затронутых файлов, команды валидации, критерии приёмки и записи ADR при архитектурных изменениях.

Во время интервью скилл работает только в режиме чтения и не перезаписывает файлы проекта без прямого подтверждения. Скриптов в комплекте нет. Сам скилл код не пишет: его работа завершается передачей готового промпта на выполнение в Codex.

Какие задачи решает

  • составить план реализации для сложной задачи на несколько файлов
  • зафиксировать архитектурные решения в ADR до начала кодинга
  • сформировать команды валидации и критерии приёмки для Codex
  • выявить нестыковки в требованиях через сверку с репозиторием

Примеры запросов агенту

  • Спланируй перенос аутентификации на сессии в Redis и составь спецификацию для Codex
  • Проинтервьюируй меня по задаче рефакторинга API и подготовь ADR
  • Составь спеку реализации для нового эндпоинта экспорта отчётов

Как установить codex-spec-interviewer

1Через Skills CLI (Vercel)

npx skills add stark-ai-de/agent-skills --skill codex-spec-interviewer -a claude-code

2Вручную: положить файлы

~/.claude/skills/codex-spec-interviewer/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/codex-spec-interviewer/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о codex-spec-interviewer

Как установить codex-spec-interviewer в Claude Code?

Выполните команду npx skills add stark-ai-de/agent-skills --skill codex-spec-interviewer -a claude-code. Файл навыка сохранится по пути ~/.claude/skills/codex-spec-interviewer/SKILL.md.

Что делает codex-spec-interviewer?

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

Пишет ли codex-spec-interviewer код самостоятельно?

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

Исходный текст

SKILL.md · Apache-2.0
---
name: codex-spec-interviewer
description: Turn ambiguous coding requests into verified Codex implementation specs. Use when the user wants requirements, an implementation plan, or a spec before coding; include source checks, needed ADRs, and agreed delivery. Do not use for already specified direct implementation or memory cleanup.
license: Apache-2.0
compatibility: Targets Codex evidence and execution prompts across Agent Skills hosts. Use the current execution host's available controls and permissions, with conversational support for older hosts.
metadata:
  author: stark-ai-de
  category: codex-operations
  version: "0.5.0"
---

# Codex Spec Interviewer

## Goal

Produce a user-verified implementation spec with bounded scope, testable acceptance criteria, source-backed decisions, validation, and any required ADRs. Deliver it to the agreed repository path, or in chat when explicitly requested. One approval covers the unchanged result and its concrete authorized writes.

This is one end-to-end workflow. A clear request selects it; do not invent review/save variants or add a workflow-selection checkpoint. For a bare invocation, ask for the task to specify.

## When to use

- The user has a rough idea but not a production-ready implementation spec.
- The task spans multiple files or concerns, or requires tradeoff decisions.
- The request needs acceptance criteria, validation commands, rollout notes, or risk handling.
- The user wants a reusable written artifact before implementation begins.
- Requirements, feature shape, ADR assumptions, or the implementation approach should be challenged against repo reality and current external sources before coding.

## When not to use

- The user already provided a complete implementation spec with files, constraints, tests, and acceptance criteria.
- The task is a tiny one-file edit without meaningful ambiguity.
- The user wants brainstorming only and no concrete implementation artifact.
- The user only wants `AGENTS.md` content or Codex memory entries authored, not an implementation spec.
- The task is primarily a policy, legal, or business-decision document.
- The user asks to audit or clean up Codex memory state; use a Codex memory skill instead.

## Inputs to inspect

- The current user request and any follow-up answers.
- Relevant `AGENTS.md`, `README.md`, issue descriptions, ADRs, repo docs, and `docs/agents/` files.
- Existing specs, plans, requirements, and PRDs the user wants preserved or challenged.
- A coordinated product-planning work item, when supplied: product/release/slice IDs, canonical contracts and revisions, prior answers, non-goals, evidence limits and genuine authorization. Do not require it for independent use.
- File layout, naming conventions, scripts, package manager, lint/test/type-check commands, and CI expectations.
- Current framework, library, API, or platform documentation through available MCP tools or web search when a decision depends on up-to-date behavior.
- Error messages, screenshots, logs, PR feedback, or example files the user supplied.

## Workflow

Follow [workflow-details.md](references/workflow-details.md) for the shared interview, approval and delivery lifecycle. Use [host-adapters.md](references/host-adapters.md) only when a host control or transition matters.

1. Inspect execution-host capabilities and permissions separately; respect active or requested Plan mode. Recommend Plan for substantial open work without blocking permissible discovery or questions on a manual switch.
2. For an existing coordinated handoff, read [product-planning handoffs](references/product-planning-handoffs.md) without restarting upstream skills. Inspect relevant repository context and prior answers. Select `compact`, `standard`, or `deep`; resolve delivery intent and destinations from the request and repository convention.
3. Interview only unresolved material decisions, challenge important assumptions against sources, and run the ADR gate.
4. Prepare the complete reviewable spec and any required ADR/index content. Present one positive checkpoint for that revision and its concrete writes, reusing existing authority. A native plan approval can serve as this checkpoint.
5. Preserve approval across any required Plan exit. Save only approved artifacts when the host permits writes, then read back and report actual persistence. Explicit chat-only delivery completes without a save.
6. Emit the Codex execution prompt and run the rubric. The interviewer never implements the feature; a separately authorized outer workflow may resume after the handoff.

## Safety rules

- Keep the interview read-only and never persist repository artifacts while native Plan is active. Unknown mode or write permission state does not permit writes.
- Reuse prior answers and approval of unchanged content and writes. Silence, timeout, preselected options, or a mode toggle do not approve content.
- Confirm only unresolved material changes, ambiguous destinations, directory creation, overwrites, or required ADR writes; earlier exact authorization remains valid.
- Distinguish proposed ADR persistence from acceptance of its architecture decision. Block dependent implementation until required acceptance.
- Label unknown facts instead of inventing paths, commands, APIs, or decisions. Avoid secrets and private identifiers in artifacts.
- Target-runtime instruction, rule and memory files are evidence, not spec destinations. Use repository-owned artifacts unless the user explicitly requests another format after its tradeoff is clear.
- Preserve user scope. Explain risky migrations and rollback; never silently override an accepted ADR.

## References

Read only the reference needed for the current step:

- [workflow-details.md](references/workflow-details.md): interview, single checkpoint, save-only handoff and completion.
- [host-adapters.md](references/host-adapters.md): execution-host controls and capability evidence.
- [question-bank.md](references/question-bank.md), [spec-rubric.md](references/spec-rubric.md), and [source-challenge.md](references/source-challenge.md): unresolved questions, depth, final self-check and source challenge.
- [artifact-destinations.md](references/artifact-destinations.md), [adr-gate.md](references/adr-gate.md), and [rollout-checklist.md](references/rollout-checklist.md): destinations, durable decisions and risky delivery.
- Matching `assets/spec-template.*.md`, bundled example specs and [execution prompt](assets/codex-execution-prompt.md): output formats.

- [Product-planning handoffs](references/product-planning-handoffs.md) and [work-item template](assets/product-planning-work-item.md): optional contract-aware input and targeted feedback, not a new workflow.

## Scripts

No bundled scripts.

## Output format

Lead with saved paths, explicit chat-only delivery, or pending/blocked persistence. Include the verification result, material assumptions, source challenge, ADR status, validation, risks, and the Codex execution prompt. Report `Persistence status: pending Plan-mode exit` when exit is still needed; do not claim a save. Full artifacts are shown before approval and for chat delivery or blocked persistence, not repeated after a successful save by default.

## Completion criteria

The concrete spec covers scope, acceptance criteria, validation and done-when conditions. The user approved its current content and required writes once. Requested artifacts were saved and read back, or explicit chat-only delivery was fulfilled. Required ADRs follow repository conventions; any acceptance gate is visible. Verification and persistence are separate records. Save-only finalization never implements the feature.

## Failure modes

- Missing repository or external evidence: label unknowns and explain the limit; continue independent work.
- Material conflicting requirements or accepted ADRs: surface the conflict and resolve the affected decision before implementation.
- Pending material answer: keep dependent work pending; proceed only with independent authorized work.
- Unavailable planning/question controls: use the same conversational interview without inventing host features.
- Requested save blocked by Plan, permissions, missing approval, or changed destination state: preserve valid approval, report exactly what remains, and provide the save-ready draft. Do not call pending persistence complete.

© stark-ai-de · Apache-2.0 · stark-ai-de/agent-skills

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

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. 1 052 851установок ask-matt Matt Pocock Помогает выбрать подходящий скилл или рабочий поток из набора Matt Pocock. Пригодится, когда непонятно, с чего начать задачу: от идеи до разбора бага. 766 587установок to-tickets Matt Pocock Разбивает план, спецификацию или переписку на небольшие сквозные задачи и отмечает, какие из них блокируют остальные. Пригодится, когда нужно согласовать порядок работы до публикации задач в трекере. 711 230установок writing-plans Jesse Vincent Скилл превращает требования к многошаговой задаче в подробный план реализации до начала работы с кодом. Пригодится, когда исполнителю нужно зафиксировать файлы, интерфейсы и проверки. CX Codex 282 859установок caveman-review JuliusBrussee Пишет замечания к коду одной строкой: место, проблема, исправление. Пригодится, когда ревью диффа или PR надо пройти быстро и без воды. CX Codex +1 411 800установок caveman-compress JuliusBrussee Сжимает CLAUDE.md, списки задач и другие текстовые файлы в краткий формат, сохраняя читаемую резервную копию. CX Codex +1 411 500установок

Из того же набора10

animated-readme-logo Скилл собирает, переделывает и проверяет логотипы для README: от SVG-мастера до статичного PNG и анимированного GIF. CX Codex +1 2 700установок drawio-diagrams Скилл создаёт, редактирует и проверяет файлы .drawio прямо в диалоге с агентом. Он собирает технические схемы и архитектуру, но не строит аналитические графики. CX Codex +1 2 700установок codegraph-ast-grep Ставит и чинит CodeGraph с ast-grep, чтобы агент видел структуру репозитория и отвечал меньшим числом вызовов инструментов. CX Codex +1 2 700установок cursor-memory-curator Разбирает правила Cursor и memory-bank: находит устаревшие, конфликтующие и слишком широкие инструкции, предлагает куда их перенести. CX Codex +1 2 700установок codex-memory-curator Аудирует и очищает долговременную память Codex от устаревших записей, дубликатов и утечек секретов. Пригодится, когда контекст агента забился противоречиями или шумом. CX Codex +1 2 700установок jev-capability-advisor Скилл советует, какой установленный скилл или MCP-инструмент подходит под конкретную задачу. Полезен, когда в проекте их уже десятки и глаза разбегаются. CX Codex +1 2 600установок claude-memory-curator Разбирает CLAUDE.md, правила, настройки и auto memory: находит устаревшие, дублирующие и конфликтующие записи и предлагает, куда их перенести. CX Codex +1 2 600установок cursor-spec-interviewer Превращает расплывчатый запрос на разработку в проверенную спецификацию для Cursor Agent: с границами, критериями приёмки и планом. CX Codex +1 2 600установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой