quality-scenario
Create proposed quality scenarios and analyze their traceability to quality objectives, ADRs, risks, requirements, architecture artifacts, and code evidence.
Skill by docs-as-code-toolkit
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/docs-as-code-toolkit-quality-scenario
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/quality-scenario
What's inside
- Skill name
quality-scenario- Description
- Create proposed quality scenarios and analyze their traceability to quality objectives, ADRs, risks, requirements, architecture artifacts, and code evidence. Use when Codex needs to draft or update measurable quality scenarios, inspect existing arc42 Chapter 10 quality requirements, derive scenarios from source evidence without inventing targets, propose metadata relations, or produce a quality scenario impact report.
- License
- MIT
- Instructions
- 163 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Quality Scenario Skill
## Purpose
Help create measurable quality scenarios for architecture work and analyze their
traceability to related architecture artifacts. Treat every AI-created artifact,
relation, threshold, and impact claim as proposed until a human reviewer accepts
it in the repository.
This skill is guidance and reusable content only. Do not implement AI execution,
do not implement a generator, and do not add automation as part of using this
skill.
Apply the repository contract hierarchy: this skill narrows `AGENTS.md`, and
`AGENTS.md` adapts `general-semantic-contracts.md`. Do not duplicate general
metadata, anchor, Docs-as-Code, arc42, or traceability rules here unless the
quality scenario workflow needs a stricter rule.
## Core Workflow
1. Inspect existing architecture documentation before writing.
2. Inspect relevant source code, configuration, tests, API contracts,
deployment files, and operational evidence when available.
3. Identify existing quality objectives, quality scenarios, ADRs, risks,
requirements, constraints, components, interfaces, and concepts that may
relate to the scenario.
4. Check whether an existing quality scenario already covers the concern.
5. Draft a proposed quality scenario only when the concern is not covered by an
existing artifact.
6. Use the six-part quality attribute scenario format: source, stimulus,
artifact, environment, response, and response measure.
7. Prefer measurable response criteria with concrete evidence. If no threshold
can be justified, write an open question instead of inventing a target.
8. Propose explicit metadata relations to quality objectives, ADRs, risks,
requirements, affected architecture documents, and verification evidence.
9. Update affected artifacts with **outgoing** relations only when justified by evidence.
Never create reciprocal incoming relations; they are derived automatically during generation.
10. Add stable AsciiDoc anchors to created documentation artifacts and use
anchor-based `xref` links for visible references to documentation artifacts.
11. Prefer small, reviewable patches.
12. Run the repository validator after changes if one is available.
## Required Reading
Read these references as needed:
- `../../src/docs/arc42/04-solution-strategy/doc-04001-metamodel.adoc` before writing or
changing artifact metadata, artifact types, lifecycle states, or relation
semantics.
- `../references/metadata-rules.md` before writing YAML front matter.
- `../references/relation-rules.md` before proposing or updating relations.
- `../references/quality-scenario-guide.md` before creating or changing
quality scenarios.
- `../references/adr-writing-guide.md` before linking scenarios to ADRs.
- `../references/risk-writing-guide.md` before linking scenarios to risks
or creating risk follow-ups.
Use these templates:
- `../../templates/quality-scenario.adoc` for new quality scenario artifacts.
- `../../templates/impact-report.adoc` for review reports when the user wants
analysis without direct artifact changes.
## Inputs To Collect
- Quality attribute, such as performance, availability, modifiability, security,
usability, interoperability, operability, or an ISO/IEC 25010 characteristic.
- Stakeholder, user group, or accountable owner.
- System context and affected system element.
- Stimulus, environment, response, and response measure if known.
- Relevant quality objective from arc42 Chapter 1.2, or a clear note that the
scenario is derived.
- Related artifact IDs for ADRs, risks, requirements, components, interfaces,
tests, operational evidence, or existing quality scenarios.
- Review scope: draft-only, update artifacts, or produce an impact report.
## Inspection Rules
- Prefer reviewed repository source files over conversational memory.
- Do not load derived output as evidence or architecture context. This includes
`generated/`, `build/`, `dist/`, `target/`, `out/`, rendered HTML/PDF,
generated indexes, traceability views, and assembled documentation.
- Treat explicit metadata as more authoritative than inferred prose.
- Check existing artifact IDs before assigning new IDs.
- Read the closest architecture index, quality tree, quality scenario list,
ADR register, risk list, and affected arc42 chapter when present.
- Inspect code only to gather evidence, discover measurable behavior, or
identify affected components; do not implement architecture changes unless
the user separately asks for implementation.
- Derive thresholds from existing requirements, tests, configuration, service
levels, operational data, or human-provided decisions. Do not invent target
values.
## Output Rules
- Keep all AI-generated artifacts `status: proposed` or `status: draft`.
- Set `reviewed: false` for AI-generated or AI-modified content unless human
review is already recorded in the repository.
- Preserve existing accepted statuses unless there is explicit repository
evidence that they changed.
- Mark uncertain values as assumptions in drafts.
- Do not treat assumed or invented target values as answered evidence in final
arc42 documentation.
- Do not turn aspirations into accepted requirements without review.
- Keep generated scenarios concise and testable.
- Do not create new quality scenario artifacts when a justified relation to an
existing artifact is sufficient.
- Keep metadata relation targets as stable artifact IDs; render visible
documentation references as anchor-based AsciiDoc `xref` links.
- Keep quality scenario impact and traceability data exclusively in YAML front
matter relations. Do not add a manual impact matrix, manual traceability
matrix, or reciprocal incoming relations to the quality scenario body.
- Make impact and traceability visible through `=== Impact` and
`=== Traceability` sections that include the generated local
`generated/<artifact-anchor>-impact.adoc` and
`generated/<artifact-anchor>-traceability.adoc` fragments with
`leveloffset=+2`. The generator owns the visible tables, and each fragment
starts with `== Matrix` because the source document owns the semantic section
heading.From docs-as-code-toolkit/architecture-knowledge-toolkit, MIT.
More from docs-as-code-toolkit/architecture-knowledge-toolkit
- 0.569score
adr
docs-as-code-toolkit
Create proposed Architecture Decision Records and analyze their impact on related architecture artifacts.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
architecture-impact
docs-as-code-toolkit
Analyze and document architecture impact for feature requests, Epic issues, UserStory issues, refactoring tasks, issue implementation, and review tasks.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
clock-in
docs-as-code-toolkit
Start a working session from repository evidence instead of memory, pick up one topic, and orient both the project layer and the user's private journal.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
clock-out
docs-as-code-toolkit
End a working session by refreshing the topics touched, writing the project diary entry, and carrying the day's findings up into the user's private journal.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
convergence-check
docs-as-code-toolkit
Check that a completed change tells one consistent story across request, behaviour specification, architecture knowledge, implementation, tests, and delivery…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
implement-issue-workflow
docs-as-code-toolkit
Implement GitHub issue work using the repository workflow: start from the latest main branch, create an issue_<number> branch, make focused changes, verify…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
pr-review
docs-as-code-toolkit
Review GitHub pull requests and proposed branch changes for correctness, regressions, missing tests, documentation-contract violations, traceability gaps, and…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
risk
docs-as-code-toolkit
Create proposed architecture risk artifacts and analyze their traceability to ADRs, quality scenarios, requirements, components, controls, and evidence.
SkillBFreshness: B★ 4Claude Code +9 - 0.524score
presentation
docs-as-code-toolkit
Create or update docs-as-code presentation material as AsciiDoc reveal.js decks rendered with docs-toolbox.
SkillCFreshness: C★ 4Claude Code +9 - 0.519score
slice-issues
docs-as-code-toolkit
Slice GitHub parent issues into reviewable real sub-issues.
SkillCFreshness: C★ 4Claude Code +9 - 0.519score
traceability-review
docs-as-code-toolkit
Review explicit architecture traceability metadata for gaps, inconsistencies, unsupported claims, stale links, dangling references, and metamodel violations.
SkillCFreshness: C★ 4Claude Code +9 - 0.519score
bdd-specification
docs-as-code-toolkit
Enforce Living Documentation through Behaviour-Driven Development by writing a language-agnostic Gherkin feature specification for any new or changed…
SkillCFreshness: C★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 2
- Open issues
- 44
- Last commit (this folder)
- Jul 10, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from docs-as-code-toolkit
- 0.569score
architecture-impact
docs-as-code-toolkit
Analyze and document architecture impact for feature requests, Epic issues, UserStory issues, refactoring tasks, issue implementation, and review tasks.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
adr
docs-as-code-toolkit
Create proposed Architecture Decision Records and analyze their impact on related architecture artifacts.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
clock-in
docs-as-code-toolkit
Start a working session from repository evidence instead of memory, pick up one topic, and orient both the project layer and the user's private journal.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
clock-out
docs-as-code-toolkit
End a working session by refreshing the topics touched, writing the project diary entry, and carrying the day's findings up into the user's private journal.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
convergence-check
docs-as-code-toolkit
Check that a completed change tells one consistent story across request, behaviour specification, architecture knowledge, implementation, tests, and delivery…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
implement-issue-workflow
docs-as-code-toolkit
Implement GitHub issue work using the repository workflow: start from the latest main branch, create an issue_<number> branch, make focused changes, verify…
SkillBFreshness: B★ 4Claude Code +9
Cite this page
quality-scenario skill. Agent Mart. https://agentmart.dev/skills/docs-as-code-toolkit-quality-scenario (last updated 2026-10-24)