AGENT SKILL

scope-check

Checks that requested work stays inside the active spec boundary. Use when an implementation, refactor or bug fix could quietly grow past the approved story or solution.

License 许可
MIT
所属仓库
Eliyce/paqad-ai
最近更新
2026-11-13
Stars
★ 8
Forks
0

01 前言 Front Matter

name
scope-check
metadata
{ "cacheable": "false", "model_tier": "fast", "paqad-meta": "skill.meta.yaml", "output_format": "markdown" }
description
Checks that requested work stays inside the active spec boundary. Use when an implementation, refactor or bug fix could quietly grow past the approved story or solution.

02 资源文件 7

03 SKILL.md 正文

What It Does

Checks whether the requested change is already authorized by the active spec so implementation does not drift into unspecced work.

Use This When

Before implementation, refactors, or bug fixes that could quietly expand scope beyond the approved story or solution artifact.

Inputs

  • Read the request text at request_text.
  • Read every active spec artifact passed in spec_paths.
  • Read references/scope-rules.md before deciding whether the request is covered, additive, or out of scope.

Procedure

  1. Run scripts/check-spec-presence.sh: exit 1 means immediately classify as blocked-no-spec and stop.
  2. Extract requested behavior change, modules, and constraints from the request.
  3. Compare against the active spec artifacts only (no inferred memory, no informal context).
  4. Pick a decision from assets/decision-vocabulary.txt (within-scope | extension-needed | blocked-no-spec).
  5. Cite exact spec evidence (file + criterion/passage).
  6. Format per assets/output.template.md; validate with scripts/lint-output.sh.

Output Contract

  • Match assets/output.template.md: ## Scope Decision (decision token + one-line justification), ## Spec Evidence, ## Required Next Step.
  • Decision token must come from assets/decision-vocabulary.txt.
  • Output must pass scripts/lint-output.sh (exit 0).

Escalate / Stop Conditions

  • Block when no spec artifact exists for feature, bug-fix, refactor, or migration work.
  • Ask when multiple spec artifacts conflict or define incompatible boundaries.
  • Do not grant scope based on an unstated workflow or informal memory.

Resources

  • references/scope-rules.md
  • scripts/check-spec-presence.sh
  • scripts/lint-output.sh
  • assets/output.template.md
  • assets/decision-vocabulary.txt
  • .paqad/
  • agents/openai.yaml

04 同仓库更多 Skills

Eliyce
Eliyce/paqad-ai

sample-skill

Sample bundled skill fixture

★ 8
Eliyce
Eliyce/paqad-ai

processing-invoices

Turns a supplier invoice into one ledger line. Use when a supplier invoice arrives and needs booking.

★ 8
Eliyce
Eliyce/paqad-ai

processing-invoices

Turns a supplier invoice into one ledger line. Use when a supplier invoice arrives and needs booking.

★ 8
Eliyce
Eliyce/paqad-ai

understand-idea

Chat and Claude Code: Step 1 of the discover journey: clarifies the goal, who benefits, success and constraints into the idea block. Use when the journey directs it to step 1, not directly.

★ 8
Eliyce
Eliyce/paqad-ai

size-work

Chat and Claude Code: Suggest a size for a ticket from comparable finished work, as a labelled suggestion the team still owns. Use it when someone asks "how big is this?", "roughly how much work is ABC-12?", or wants a backlog item sized. It finds the team's sizing scale at first use, picks two to five of the closest finished tickets with links, and gives a size or range with the drivers behind it and a confidence of low, medium or high, lowered and explained when the area's documents are template text. Every result is labelled a suggested size, never a date or a commitment. It writes nothing into the size field unless the user says "set it", and it refuses to overwrite an existing size unless the user asks to replace it. Produces the sizing block of the record.

★ 8
Eliyce
Eliyce/paqad-ai

refine-ticket

Chat and Claude Code: Improve one or more existing tracker tickets without losing the author's intent. Use it when someone wants a ticket read, diagnosed and tidied up ("this ticket is vague", "fix up ABC-12", "split this, it's too big"). It reads each ticket in full and snapshots it with its last-updated time, says what is wrong with evidence, and proposes a field-by-field before and after change set limited to summary, description, labels, parent, links and new child tickets on a split. It writes nothing until an explicit "apply it" bound to that exact change set, re-checks the ticket for conflicting edits just before writing, never replaces rich descriptions with plain text, never deletes or closes a ticket, and reads each ticket back after applying. Produces the existing and changes blocks of the record.

★ 8