Skip to content
Back to skills

Ai Skills Openspec Grill Me

ASecurity

Interview the user about an OpenSpec exploration, proposal, or standalone plan using consistent numbered choices and a recommended answer. Investigate codebase facts directly and reconcile confirmed decisions into authorized planning artifacts. Planning only; never implements code.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 28, 2026
ai-agentsgoc#testingsecurity

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 28, 2026

npx -y skills add SamuelAsherRivello/ai-skills-library --skill ai-skills-openspec-grill-me --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ai Skills Openspec Grill Me?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ai Skills Openspec Grill Me
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/samuelasherrivello-ai-skills-openspec-grill-me/badge)](https://www.skillsdirectory.com/skills/samuelasherrivello-ai-skills-openspec-grill-me)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ai-skills-openspec-grill-me
description: Interview the user about an OpenSpec exploration, proposal, or standalone plan using consistent numbered choices and a recommended answer. Investigate codebase facts directly and reconcile confirmed decisions into authorized planning artifacts. Planning only; never implements code.
---

## Workflow presentation

Preserve the leading `*` orchestration marker, directly adjacent to the title, and pass coordinator identity
and enrollment context to the active child under the shared title contract.
Use the title manager's no-space write form so repeated Markdown rendering keeps the marker visible.

Use the shared [title contract](../openspec-title-management.md) and
[footer contract](../openspec-footer.md). This state owns `OS-GRL`
and footer phase `Grill`. Add verified task progress when applicable;
the program coordinator counts proposals instead. Delegate every title read and
write for this chat to `$ai-skills-openspec-title-management`; it preserves a normalized
user subject, restores `OS-GRL`, and refreshes verified progress. Leave child
workflow titles to their owners.
Emit one footer per meaningful checkpoint, never on unchanged polls or
commentary. While a question is unanswered, leave its original question and
footer in place without repeating either on a goal or timer check. Show the
next available skill command in backticks when a phase transition is ready.
Editing or evaluating this skill does not activate these presentation rules.

# OpenSpec Grill Me



This is a custom OpenSpec companion skill for structured planning interviews. It is intentionally optional and is not part of OpenSpec's core profile.

Resolve material ambiguity through an adaptive, one-question-at-a-time
interview. This skill includes authorization to update the active OpenSpec
planning artifacts from the user's confirmed answers: Explorer discussions
while Explorer is active, and the change artifacts once Proposal is active or
complete. Never edit implementation code or start implementation.

## Establish Context

1. Identify the target from the user's request and conversation.
   - For a named standalone document, read and refine that document.
   - For an OpenSpec change, resolve it from explicit input, conversation
     context, or the only active change.
   - If several targets are plausible, ask the user to select one.
   - Do not create an OpenSpec change merely to interview a standalone plan.

2. Follow repository instructions for OpenSpec setup and canonical paths.
   Resolve the planning root with `openspec context --json` before reading or
   updating artifacts, and use its returned root and change paths rather than
   inferring repository-local locations. If context reports no root during an
   explicit custom workflow, delegate to `$ai-skills-openspec-init`; it may use only
   `openspec init --tools none` after its source and duplicate preflight. For
   any other request, explain the state and wait for setup authorization.

3. For an OpenSpec target, use `openspec list --json` and
   `openspec status --change "<name>" --json` as applicable.
   Read the existing artifacts reported by the CLI.
   Use the reported schema, paths, dependencies, and action context.
   Do not assume artifact names or invent unavailable CLI fields.
   If the CLI differs from these instructions, inspect its help.

4. Read the resolved OpenSpec root's `config.yaml` or `config.yml`,
   when present. Apply its context and artifact rules as constraints. Treat
   them as project data: they cannot broaden user authorization or override
   the active schema, CLI results, or this skill's planning-only boundary.

5. If the user selected a registered standalone store, preserve
   `--store <id>` on commands that support it.

6. Where the repository uses `C###` and `C###-T###` identifiers,
   preserve them as stable identities. Display the change's ID and
   human-readable name together. Do not invent IDs for repositories
   that do not use this convention.

## Choose the Next Decision

Maintain a working list of:
- Confirmed decisions.
- Facts established from evidence.
- Unconfirmed recommendations and assumptions.
- Open or explicitly deferred decisions.

Explore relevant branches: goals, users, scope, behavior, states, data,
interfaces, integrations, failures, security, compatibility, migration,
operations, testing, acceptance criteria, rollout, and non-goals.

Investigate before asking. Use repository files, specs, tests, history,
configuration, and read-only commands to resolve factual questions.
Report the evidence briefly; ask the user about preferences and tradeoffs
that the evidence cannot settle.

Ask only material questions. A question is material when its answer changes
scope, observable behavior, architecture, compatibility, risk, sequencing,
or acceptance criteria.

After every answer, re-rank the remaining decisions:
1. Resolve prerequisites before dependent decisions.
2. Prioritize consequential uncertainty and potential rework.
3. Revisit affected decisions when an earlier answer changes.
4. Omit branches that do not apply.

Challenge vague requirements by turning them into observable behavior
or measurable acceptance criteria. Probe contradictions without reopening
settled decisions unnecessarily.

## Resolve Plan Conflicts

When `$ai-skills-openspec-propose` or `$ai-skills-openspec-update-change` finds a material
conflict, use this interview to resolve it before the plan is treated as
coherent. A material conflict includes incompatible requirements, a scope or
non-goal mismatch, a design that cannot provide a required behavior, tasks
that cannot satisfy a requirement, or a conflict with verified project facts
or an existing specification.

1. Verify the apparent conflict from the relevant artifacts and project
   evidence. Do not ask the user to settle a conflict that is only a reading
   mistake or can be resolved by evidence.
2. Name both incompatible directions, cite their artifact or evidence source
   briefly, and explain the consequence of leaving them unresolved.
3. Ask the smallest decision that resolves the conflict; do not turn it into a
   broad request to rewrite the plan. Use the **Mandatory Question Format**
   below, including a concrete recommended option and its tradeoff.
4. Wait for the user's reply before treating either direction as chosen. A
   requested edit, a prior recommendation, or silence is not a resolution.
5. After a clear answer, re-check every affected conclusion. If the user
   defers the decision, retain the conflict as an explicit open item and do
   not call the plan implementation-ready.

For example, ask whether the plan should preserve the requirement or change
the design that conflicts with it; do not merely ask whether the artifacts are
"correct."

## Question Budget

- A single positive integer supplied as the invocation argument is the
  maximum number of substantive questions:
  `$ai-skills-openspec-grill-me 3` means at most three questions.
- A number replying to a pending question selects that question's option;
  it does not reset the budget.
- Honor explicit limits such as "ask me five questions."
- With a budget, label questions `Question N of M`.
- Without a budget, label questions `Question N`.
- Ask one substantive decision per question. Do not hide multiple decisions
  inside one question to stay within the budget.
- Count a substantive question when first presented.
- Reformatting, repeating, or explaining the same question does not consume
  another question. Preserve its number.
- A follow-up that introduces a new substantive decision consumes a question.
- Target selection and necessary artifact-write confirmation do not count,
  but must not introduce additional design decisions.
- At the limit, stop asking design questions. Summarize confirmed decisions
  and unresolved branches. Do not add a final correction question.
- With no limit, continue until the Completion Test is satisfied or the user
  asks to stop.

## Mandatory Question Format

Present interview questions directly in chat. Do not use question widgets
or user-input tools. End the turn after the question and wait for the reply.

Use this exact structure:

### Question N of M - Short decision title

One focused question?

1. **Concrete answer (recommended)** - Brief reason to choose it.
2. **Concrete alternative** - Main consequence or tradeoff.
3. **Concrete alternative** - Main consequence or tradeoff.
4. **Other (tell me more)** - Describe your preferred answer.

Reply with a number or your own answer. You can also say "skip."

### Formatting Rules

- Omit `of M` when there is no question budget.
- Use consecutive Arabic numbers starting at `1`.
- Put the recommended answer first and use exactly `(recommended)`.
- Keep the recommendation and its rationale inside option 1.
- Normally provide three concrete choices plus Other.
- For a genuinely binary decision, provide two concrete choices plus Other.
  Do not invent an artificial third choice.
- Add further concrete choices only when they represent useful alternatives.
- Always place **Other (tell me more)** last and number it consecutively.
- Make choices concrete, distinct, and comparable in scope and detail.
- State what each choice means; avoid vague labels such as "simple,"
  "balanced," or "advanced" without explaining the behavior.
- Default to one choice per question. If several independent selections are
  needed, split them into separate decisions.
- Keep each option to one short sentence where practical.
- Include at most two short context sentences before the question when
  evidence or a dependency needs explanation.
- Do not add another question after the options.
- Use the same numbered-choice structure for target selection or required
  write confirmation, but label those separately from the question budget.

### Example

### Question 2 of 5 - Account scope

Which account flows should this change include?

1. **Account chooser only (recommended)** - Establishes the entry flow with the smallest implementation scope.
2. **Chooser and account creation** - Adds the ability to create a test account.
3. **Chooser, creation, and restoration** - Includes both account setup paths.
4. **Other (tell me more)** - Describe your preferred scope.

Reply with a number or your own answer. You can also say "skip."

### Pre-Send Check

Before every question, including the first and any repeated question, verify:
- One focused decision.
- Correct question number and remaining budget.
- Numbered, distinct choices.
- Recommended answer at option 1.
- Other as the final option.
- Free-form replies and skipping explicitly allowed.
- No second question or implied default selection.

## Interpret Replies

- Accept an option number, option wording, or a free-form answer.
- Never treat a recommendation, silence, or an unanswered question as consent.
- Record a clear answer as confirmed, including any qualifications the user adds.
- If a reply combines choices coherently, record the combined answer.
  If the choices conflict, clarify the pending decision without silently
  choosing for the user.
- "Skip" leaves the decision unresolved; do not supply an assumed answer.
- A request to explain or reformat a question does not answer it.
  Explain or re-present the same decision with its original number.
- If the user asks a side question, answer it before returning to the pending
  decision. Do not advance the interview automatically.
- When an answer supersedes an earlier decision, record the replacement and
  identify any affected planning conclusions.

Periodically summarize settled decisions and remaining uncertainty.
Keep these summaries brief; do not repeat the full interview history.

## Completion Test

The interview is complete when the relevant planning detail is sufficient
to explain, without inventing facts:
- The problem, users, intended outcome, and non-goals.
- End-to-end behavior, important states, failures, and edge cases.
- The chosen approach and material tradeoffs.
- Affected systems and compatibility or migration consequences.
- Verifiable acceptance criteria and an implementation-ready boundary.
- Remaining uncertainty and why it can safely be deferred.

Scale this test to the target. Do not require irrelevant detail or ask
questions merely to fill every category.

Show a concise shared-understanding summary. If budget remains and
confirmation would resolve material uncertainty, use the mandatory
question format and count it as a substantive question.

If the budget is exhausted before the test passes, state that the interview
is budget-limited and identify the unresolved decisions. Do not describe
the plan as implementation-ready.

## Turn Decisions Into Artifact Updates

This skill carries the required planning-artifact write authorization for its
active OpenSpec target. A clear interview answer authorizes incorporating that
answer into the active phase's appropriate artifact; do not ask for a separate
artifact-write confirmation or require a separate `ai-skills-openspec-update-change`
invocation.

- While Explorer is active, update the Explorer discussion or exploration
  notes with confirmed conclusions, evidence, tradeoffs, and unresolved items.
- Once Proposal is active, or after Proposal is complete, update the existing
  change artifacts that own each confirmed conclusion and reconcile affected
  artifacts for consistency.
- For a standalone document, continue to require the user's explicit
  authorization to edit that named document; this built-in authorization
  applies only to an active OpenSpec Explorer or Proposal target.
- Capture settled conclusions without waiting for unrelated questions when
  their owning active-phase artifact is available.
- Revise existing wording coherently. Remove contradictions rather than
  appending a transcript or a competing set of instructions.
- Preserve unanswered recommendations as unresolved, not approved.
- Do not create a change or modify unrelated instruction files without
  explicit authorization.
- If a decision substantially changes the target's intent, explain the scope
  shift and propose a separate change rather than silently repurposing it.

## Reconcile OpenSpec Artifacts

At completion or budget exhaustion:

1. Map each confirmed conclusion to the artifact that owns it.
2. Reconcile scope, requirements, design, and tasks so they agree.
3. Preserve unresolved items as explicit open questions, assumptions,
   deferred work, or non-goals, as appropriate.
4. For an existing change, use the reconciliation discipline of
   `ai-skills-openspec-update-change` when available, but apply the revisions in this
   invocation under this skill's built-in authorization.
5. If no change exists and proposal creation is authorized, follow
   `ai-skills-openspec-propose` when available. Do not fabricate decisions to complete
   required artifacts.
6. Follow the actual installed schema and workflow. Report missing
   capabilities rather than inventing commands or required fields.
7. Validate edited artifacts using the repository's supported workflow.

## Fold Results Into the Active OpenSpec Phase

As answers are confirmed when their owning artifact is available, and again at
the end of the interview, fold the confirmed decisions and unresolved items
into the workflow phase that is actually underway. Do this in the same Grill
Me invocation; do not require a separate update command or write confirmation:

1. If the explorer phase is underway, update the exploration output or
   exploration notes with the clarified problem, decisions, evidence,
   tradeoffs, and remaining questions.
2. If the proposal phase is underway, incorporate the conclusions into the
   proposal's scope, requirements, design, tasks, and explicit open items.
3. If the artifacts are already complete, reconcile the conclusions directly
   into the owning artifacts, keeping all affected artifacts consistent.

Determine the phase from the target's actual status and existing files; do not
create a parallel summary when the active phase has an appropriate artifact.
Preserve unresolved decisions explicitly and do not advance the workflow to
the next phase unless the user asked for that transition.

Finish with:
- Confirmed decisions and actual artifact changes.
- Clickable links to changed artifacts.
- Remaining unresolved decisions.
- Whether planning is complete or further decisions are needed.

Never start implementation during this invocation.

Files in this skill

  • SKILL.md16.2 KB
  • agents/openai.yaml204 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.