提供随仓库分发的SkillHub设计核心、通用规范读取与OpenSpec/Trellis协作入口,保留现有React交互契约。 本地50项工具/打包回归、干净导出与12个静态示例视图通过;产品web树对应1792项测试、类型检查、lint和构建已通过。最新head的专项CI、脚本回归、RISC-V镜像、PostgreSQL16/17、Node22/24前端、文档和DCO/CLA已通过。用户明确要求不追加本地核查并先行合并;其余尚在进行的服务端/E2E结果单独跟踪,不计作已通过。独立Review、本地exact-SHA镜像/鉴权Smoke与完整OpenSpec业务试点仍未补齐,不声明完整验收通过。 个人指南、任务/会话记录和未提供的画板桥接不在最终改动中。 Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
3.5 KiB
Grill With Docs
Clarify requirements when misunderstood terms, boundaries, or trade-offs would make implementation risky.
For requirements analysis with material ambiguity, the Agent selects $grill-with-docs automatically when installed; the user does not need to type a Skill name. Clear small edits and already settled decisions skip the interview. This shared workflow remains readable without a local Skill installation.
Position in the Workflow
Run this before OpenSpec or implementation planning when any of these are true:
- The user describes a large feature in broad terms.
- Domain terms are overloaded or not yet canonical.
- The design has several meaningful branches.
- The decision may create ADR-worthy trade-offs.
- Future agents will need the reasoning, not just the final tasks.
Recommended sequence:
- The Agent reads and uses the available
grill-with-docsentry, including bothgrillinganddomain-modeling; without a host Skill tool, read their instructions directly. Do not ask the user to run commands. If the Skill is unavailable, report that fact and clarify directly rather than pretending it ran - OpenSpec change for large requirements
- Trellis task for multi-step execution context when authorized; small edits can proceed directly
- Backend/frontend/workflow specs for implementation
Agent Responsibilities
- Resolve source/tool facts through available read-only investigation; ask the user about unresolved business or design decisions.
- Read applicable project/domain topic bodies before relying on their constraints in questions or proposals. Paths, indexes and successful synchronization are not evidence of body delivery.
- Reuse answers already given. Clarification requires the user's decisions, not manual workflow activation. Once shared understanding is confirmed, continue only within the user's authorized scope and the selected planning/implementation workflow's boundary.
- When an OpenSpec change already exists, write formal decisions back to its original artifacts; do not restart a second Trellis planning package.
What the Skill Does
Some local setups compose two skills behind $grill-with-docs; inspect the installed entry rather than assuming it exists:
$grilling: asks frontier questions as a decision tree until the design is no longer silently assuming key choices.$domain-modeling: sharpens domain language, updatesCONTEXT.mdwhen terms are resolved, and creates ADRs only for hard-to-reverse, surprising, trade-off decisions.
If these skills are unavailable, clarify directly: identify the concrete user outcome, ambiguous terms, affected actors and systems, success/failure cases, constraints and unresolved trade-offs. Ask only questions whose answers materially change the work. Summarize decisions and select task size using the development flow.
SkillHub Documentation Policy
- Do not create
CONTEXT.mdjust to satisfy a process. Create it only when a SkillHub-specific term is resolved and worth reusing. - Do not create
docs/adr/just to record a normal implementation choice. ADRs require a real, costly trade-off. - OpenSpec remains the place for formal product behavior, acceptance scenarios, and task breakdown.
CONTEXT.mdis glossary only. It is not an implementation spec or scratch pad.
Handoff Output
At the end of a grill session, capture:
- Settled decisions.
- Remaining open decisions.
- Canonical terms and avoided synonyms, if any.
- ADR candidates accepted or explicitly skipped.
- Whether the next artifact is an OpenSpec change, a Trellis task, or a direct edit.