Dev grill docs

From hashgraph-online/awesome-codex-plugins · View interactive version

Dev grill docs is an AI agent skill from the GitHub repository hashgraph-online/awesome-codex-plugins. Clarify requirements and UI/API contracts before implementation. Trigger for 需求对齐, 拷问需求, 设计文档, PRD/spec, and natural requests such as 帮我对一下接口, 看看接口缺什么, 这个页面能对接了吗, 接口有了看看怎么对接, or 整理给后端确认. For UI/API gap analysis, default to concise standalone HTML with UI comparison, red-box screenshots, and gaps/que

How to use this skill

Skill file

Dev Grill Docs

Turn the user's feature intent into a usable contract. Preserve decisions already made and ask only about gaps that change behavior, scope, acceptance, or substantial cost. This skill does not implement code or replace analysis-only requests with document work.

Read references/dev-baseline.md. Project artifacts belong in the user's project, not the skill directory.

Routing and depth

Explicit analysis-only scope excludes implementation; chat-only or no-file instructions also govern output. A request to discuss an idea is not permission to write project documents. When the user requests a spec or feature alignment artifact, write .claude/artifacts/designs/<feature>.md unless they specify another path. For UI/API gap analysis, default to the concise standalone HTML described in the scenario reference, even when no format is named; do not also generate a spec unless requested or needed by the authorized workflow. A simple factual question still merits a direct answer, not a report.

Gather evidence before questions

Read the supplied brief and relevant existing spec, CONTEXT.md, ADRs, models, APIs, tests, or similar features. Follow the repository's search conventions; inspect enough to ground the decisions, without scanning unrelated modules.

Distinguish confirmed requirements, codebase facts, proposed defaults, and unresolved decisions. Do not ask the user for facts the repository can establish. Do not treat an implementation's current behavior as proof of intended behavior.

Resolve the material gaps

Check whether the intended user, desired outcome, in/out boundary, acceptance behavior, and integration surface are clear enough to write a contract. Ask the highest-impact unresolved question first, with concise context and an evidence-backed recommendation when useful. Group tightly related questions only when the answers depend on each other or the user requests a questionnaire.

Pay attention to domain identity: conflicting names, the same name for different entities, lifecycle transitions, ownership, and invariants. Use established project terms; surface real conflicts instead of silently renaming concepts. A stable vocabulary does not prove the feature is ready.

Use qualitative, evidence-backed gaps rather than invented ambiguity percentages. Do not enforce a minimum interview length, a number of entities, or a quota of acceptance criteria. Stop questioning when the contract is sufficient, the user changes scope, or a concrete external decision blocks progress. If repeated questions produce no new information, name the blocker and preserve useful work instead of cycling.

When the user asks to proceed, incorporate that authorization. Resolve low-impact details from existing conventions and record consequential assumptions. Do not silently decide unresolved high-impact product behavior; mark the affected scope blocked while completing independent parts.

Write the feature contract

Use a stable existing slug when it identifies this feature. Otherwise choose a descriptive slug from the request; ask only when there is a real collision or ambiguous work item. Preserve existing content outside this task.

# <feature> Spec

> Status: DRAFT | ALIGNED | IMPLEMENTED | STUCK
> Source: <request, document, or existing artifact>
> Last updated: <YYYY-MM-DD>

## Background
<User, problem, and intended outcome>

## In scope
<Behavior included in this delivery>

## Out of scope
<Relevant boundaries; say none identified when that is accurate>

## Assumptions
<Consequential defaults and their basis; omit if none>

## Solution
<Minimal behavior and integration sketch, not an implementation task list>

## Edge cases & risks
<Relevant boundaries, failures, invariants, and mitigations>

## Acceptance criteria
- AC-1 <condition or action> -> <observable expected result>

## Open questions
<Specific blocker, affected scope, needed evidence or decision owner; omit if none>

Add core entities, state transitions, compatibility constraints, or data contracts when they help downstream implementation. Omit interview transcripts, artificial clarity scores, and empty template sections. Preserve existing AC identifiers during revisions.

Status semantics:

Durable documentation

Only in documentation-authorized work outside --spec-only, persist reusable knowledge when it meets these gates. Follow existing project paths and format before creating new ones.

Durable notes must not conflict with the spec. A decision local to this feature belongs in its plan when implementation planning is requested.

Handoff

Report the artifact path and status, material decisions, remaining blockers, and the next useful action. Mention glossary/ADR changes only if made. If the user requested intake only, stop after the deliverable. If their broader request already authorizes implementation, continue within that scope when requirements are sufficient; do not require a new skill invocation as a permission ceremony.

SDD Contract

The downstream anchors are In scope, Out of scope, Assumptions, Open questions, and stable Acceptance criteria. Existing glossary and ADR decisions also constrain implementation. Report and reconcile material spec drift before delivery instead of treating the artifact as proof that code complies.

Multi-Agent Note

Main-agent-first: one agent owns user questions and contract writes. When delegation is available and authorized, independent explorers may gather bounded facts or challenge a substantial draft. Avoid duplicate interviews; do not invent independent approval from role labels. In the source repository, docs/multi-agent-policy.md is optional team guidance, not a standalone dependency.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.