requirement-quality
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "requirement-quality" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-491a95876fb430df29e9b8aea0929faf878796967e094663e7271cdef81fdb4e. Verify the upstream source and version against https://github.com/techygarg/lattice before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Apply requirement-quality principles when drafting or validating a feature spec: ensure feature completeness, scenario structure, verifiable acceptance criteria, feature independence, and slicable implementability. Used for writing a single feature spec or validating existing requirements, and triggered when users mention phrases like “validate this spec,” “check this feature,” or “requirement-quality.” This skill focuses on the craft of requirement writing and does not cover technical design or implementation.
Introduction source: third_party · techygarg · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Apply requirement quality principles when generating or validating feature specifications. Enforces feature completeness, scenario structure, AC verifiability, feature independence, and implementation slice quality. Use when writing feature specs, validating existing requirements, or when the user mentions 'validate this spec', 'check this feature', 'requirement quality', 'is this spec complete', or 'requirement-quality'. This skill governs the craft of writing individual feature specifications — not technical design (see design-blueprint), not implementation (see code-forge).
- Testing
- Not tested
Browse files
Frontmatter
name: requirement-quality
description: "Apply requirement quality principles when generating or validating feature specifications. Enforces feature completeness, scenario structure, AC verifiability, feature independence, and implementation slice quality. Use when writing feature specs, validating existing requirements, or when the user mentions 'validate this spec', 'check this feature', 'requirement quality', 'is this spec complete', or 'requirement-quality'. This skill governs the craft of writing individual feature specifications — not technical design (see design-blueprint), not implementation (see code-forge)."Requirement Quality
Config Resolution
Skill supports project-specific standards. Order:
- Look for
.lattice/config.yamlin the repo root - If found, check
paths.requirement_standardsfor a custom document path - If a custom document exists at that path, read it and check its YAML frontmatter for
mode:mode: override: the custom document has full precedence. Use it instead of the embedded defaults. It must be comprehensive — treat it as the sole reference.mode: overlay(or no mode field): read the embedded./references/defaults.mdfirst, then apply the custom document's sections on top. A custom section replaces the matching default section (matched by exact heading); new sections append after the defaults.
- If a custom path is configured but no document exists at it → tell the user which configured path is missing, then fall back to
./references/defaults.md - If there is no config file or no
paths.requirement_standardskey → read./references/defaults.md
Custom standards produced by requirement-forge-refiner → consumed by this atom → composed by requirement-forge molecule.
Self-Validation Checklist
STOP: Before writing any feature file, verify ALL checks. If a check clearly fails → fix before writing. If judgment call (see Ambiguity Signals) → flag and surface options.
If validating an existing spec (not generating), same checks apply — "fix before writing" means "fix before marking approved." Present findings as a quality report with severity.
Draft vs approved enforcement: For status: draft — items 1, 2, 10 are required. Items 3–9, 11, 12 are advisories: flag findings but do not block write. For status: approved — all items required, no exceptions.
- PROBLEM STATEMENT: Names a specific user need or pain — not a solution in disguise, not a vague improvement? Identifies WHO has the problem (specific user type or role, not "users")?
- SCOPE: Has explicit out-of-scope items — not just in-scope?
- BOUNDARY CONDITIONS: Feature-wide edge cases, system limits, and constraints documented?
- ASSUMPTIONS: Statements the team proceeds with as true are explicit — not buried in ACs or unstated? If an assumption proves wrong, affected scenarios are identifiable?
- SCENARIO NAMES: Each scenario has a verb-phrase name (sentence case) that describes the situation — not a feature name, not an AC?
- AC FORMAT: Each AC follows the agreed format (default: Given/When/Then)? Each has a clear pass/fail condition — a tester can write an automated check without asking a clarifying question?
- FAILURE COVERAGE: At least one scenario covers a failure, error, or edge case?
- SCENARIO COUNT: Feature has no more than the agreed max (default: 5) scenarios? If at or over → challenge whether this is one feature or two.
- AC COUNT: Each scenario has no more than the agreed max (default: 6) ACs? If at or over → challenge whether this scenario is too broad.
- INDEPENDENCE: Feature is self-contained — no unresolved external unknowns required before design-blueprint can begin? Any unresolved Open Questions affecting scope, behavior, or ACs are blockers unless each is marked non-blocking with a stated reason.
- IMPLEMENTATION NOTES: Slices ordered chronologically, at the "what" level — no technical implementation specifics?
- COHERENCE: All scenarios address the same user need in the Problem Statement? If a scenario serves a different need, it belongs in a separate feature.
Project-specific checks: if loaded doc contains a validation checklist section, apply those after base checklist.
When all checks pass: output "Spec passes requirement-quality — ready for write." (pre-write mode) or "Spec passes requirement-quality — status: approved." (validation mode).
Active Anti-Pattern Scan
STOP: After checklist, scan for these. If found → fix or challenge before writing.
- [ ] Solution as problem: Problem statement says "we need X" instead of "users cannot do Y" → ask what user need X addresses; rewrite around the need
- [ ] Vague problem: "improve the experience", "make it faster", "better UX" → no verifiable outcome; push for specific, observable user impact
- [ ] Persona-less problem: Problem statement says "users" without identifying which user type or role → push for specificity; different personas produce different ACs
- [ ] Hidden assumption: AC or scenario relies on an unstated assumption ("assumes user is logged in" but no Assumptions section records this) → make the assumption explicit or add a scenario covering the case where it doesn't hold
- [ ] Boundaryless scope: scope section lists only what is in scope, nothing explicitly out → force at least 3 explicit exclusions; undefined scope = infinite scope
- [ ] Happy-path-only spec: every scenario is a success path, no failure or error scenario → add at least one failure scenario before feature is complete
- [ ] AC sprawl: single scenario accumulates 7+ ACs → scenario too broad; propose split into two named scenarios
- [ ] Scenario sprawl: feature has 6+ scenarios → feature may be two; pause and challenge scope before adding more
- [ ] Vague AC: "the system should handle errors gracefully", "response should be fast", "it should work correctly" → no pass/fail condition; rewrite as concrete Given/When/Then
- [ ] Implementation AC: AC specifies a technical approach ("system shall use Redis", "shall call the /api/v2 endpoint") → rewrite as observable outcome
- [ ] Orphaned feature:
depends_onis empty but feature references another feature's data or behavior in its scenarios → flag missing dependency - [ ] Cross-epic feature undocumented: feature scenarios reference behaviors from a different epic but no cross-epic dependency is recorded → place feature in its primary epic, add the other epic as a cross-reference, record the dependency in
depends_onfrontmatter - [ ] Technical task as feature: feature name or problem statement describes infrastructure, tooling, or engineering work ("Set up database schema", "Configure CI/CD", "Write unit tests") → redirect to implementation layer, challenge what user need it serves
- [ ] Wrong granularity — too fine: feature is actually a single acceptance criterion or a micro-behavior ("Show error on wrong password") → merge into a larger feature representing the complete user-facing behavior
- [ ] Wrong granularity — too coarse: feature encompasses an entire product area with 10+ implicit behaviors ("User management") → decompose into discrete independently-implementable features
- [ ] Generic slices: Implementation notes use placeholder labels that apply to any feature ("Core functionality", "Error handling", "Edge cases") → each slice must name the specific behavior being built for THIS feature
- [ ] Undefined domain terms: Scenarios use specialized/domain terms not defined anywhere in the spec → add inline definitions or a Glossary section
Ambiguity Signals
Flag these — present options and reasoning. If framework:collaborative-judgment is loaded, use it to structure the presentation.
- Feature boundary: two related behaviors — one feature or two? If Behavior A requires knowing Behavior B's design to spec its own ACs, they are one feature.
- Scenario granularity: one scenario with more ACs, or two separate scenarios? If both situations share the same precondition and trigger, group. If they differ in either → separate scenarios.
- Priority: feature serves multiple user types or epics with different urgency → surface for product decision; do not silently assign.
- Independence borderline: feature depends on another feature but the dependency is well-understood and stable → judgment call whether to mark dependent or proceed as independent.
- Assumption vs. requirement: a statement reads as both an assumption and a requirement → surface for product decision.
See ./references/defaults.md for epic/feature/scenario definitions, AC format examples, priority notation, status workflow, naming conventions, and implementation slice guidance.
Version history
-
v2.2.0
GitHub ↗
Original release notes
## What's Changed * Standardize the multi-host plugin structure around a shared skills/ folder by @techygarg in https://github.com/techygarg/lattice/pull/41 * Add Docusaurus site scaffold + GitHub Pages deploy by @techygarg in https://github.com/techygarg/lattice/pull/44 * fix(molecules): take Level 1 from a linked requirement doc in design-blueprint by @ShuratCode in https://github.com/techygarg/lattice/pull/49 * feat(molecules): per-molecule additional_instructions in config (#50) by @techygarg in https://github.com/techygarg/lattice/pull/51 * fix(atoms): keep learning-harvest entries short when the file has drifted by @IdoGvili in https://github.com/techygarg/lattice/pull/54 ## New Contributors * @IdoGvili made their first contribution in https://github.com/techygarg/lattice/pull/54 **Full Changelog**: https://github.com/techygarg/lattice/compare/v2.1.0...v2.2.0
-
v2.1.0
GitHub ↗
Original release notes
## What's Changed * Skills: wording clarity, skill-enhance pipeline, corpus-wide precision-hygiene pass by @techygarg in https://github.com/techygarg/lattice/pull/38 * Add verifier subagent and deterministic verification runner by @techygarg in https://github.com/techygarg/lattice/pull/39 **Full Changelog**: https://github.com/techygarg/lattice/compare/v2.0.0...v2.1.0
-
v2.0.0
GitHub ↗
Original release notes
## What's Changed * Shard requirements by epic, strip rollup state, make requirement storage pluggable by @techygarg in https://github.com/techygarg/lattice/pull/34 * feat(molecules): add refiners-update molecule by @ShuratCode in https://github.com/techygarg/lattice/pull/33 ## New Contributors * @ShuratCode made their first contribution in https://github.com/techygarg/lattice/pull/33 **Full Changelog**: https://github.com/techygarg/lattice/compare/v1.5.0...v2.0.0
-
v1.5.0
GitHub ↗
Original release notes
## What's Changed * Add security workflow and CODEOWNERS by @techygarg in https://github.com/techygarg/lattice/pull/25 * Add Codex plugin by @techygarg in https://github.com/techygarg/lattice/pull/26 * Skills tuning: pipeline integrity, language compliance, and simplicity principles by @techygarg in https://github.com/techygarg/lattice/pull/29 **Full Changelog**: https://github.com/techygarg/lattice/compare/v1.4.0...v1.5.0
-
v1.4.0
GitHub ↗
Original release notes
## What's Changed * Initial atom, molecules and refiners set up by @techygarg in https://github.com/techygarg/lattice/pull/1 * Multiple enhancements over base set up by @techygarg in https://github.com/techygarg/lattice/pull/2 * Add collaborative-judgment atom by @techygarg in https://github.com/techygarg/lattice/pull/3 * Optimization - Reduce prompt size by @techygarg in https://github.com/techygarg/lattice/pull/4 * Add icon for lattice by @techygarg in https://github.com/techygarg/lattice/pull/5 * add bug fix molecule by @techygarg in https://github.com/techygarg/lattice/pull/6 * Add refactor molecule and enhanced bug-fix module by @techygarg in https://github.com/techygarg/lattice/pull/7 * Add alternative architecture patterns support by @techygarg in https://github.com/techygarg/lattice/pull/9 * Skills Compression by @techygarg in https://github.com/techygarg/lattice/pull/10 * Atom and their default doc Improvements and optimization by @techygarg in https://github.com/techygarg/lattice/pull/11 * Enhance language support and documentation across Lattice framework by @techygarg in https://github.com/techygarg/lattice/pull/12 * Update claude code plugin installation intructions by @techygarg in https://github.com/techygarg/lattice/pull/13 * Enhance docs by @techygarg in https://github.com/techygarg/lattice/pull/14 * Add open source repository standards by @techygarg in https://github.com/techygarg/lattice/pull/15 * Add requirement-forge molecule by @techygarg in https://github.com/techygarg/lattice/pull/19 * Add transform molecule by @techygarg in https://github.com/techygarg/lattice/pull/20 * Enhancements by @techygarg in https://github.com/techygarg/lattice/pull/21 * Add learning-harvest atom: experiential knowledge flywheel across all lifecycle molecules by @techygarg in https://github.com/techygarg/lattice/pull/22 **Full Changelog**: https://github.com/techygarg/lattice/commits/v1.4.0
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对需求工程的专业工具,解决功能规格书编写与验证的核心痛点
- 提供完整的质量检查清单和反模式扫描,显著提升需求文档质量
- 支持项目级自定义标准,具备良好的可扩展性
Highlights
- 触发词覆盖全面,包含'validate this spec'、'requirement quality'等关键短语
- 边界清晰,明确区分了与design-blueprint和code-forge的职责范围
Areas to improve
-
description重复 Reported severity: Minor
description字段在frontmatter和skill_body中同时存在
Recommendation: 建议移除skill_body中的description字段,保持单一来源
Highlights
- Phase划分清晰,包含配置解析、自验证清单、反模式扫描等完整流程
- 提供了详细的检查项和示例,便于用户理解和执行
Highlights
- 配置解析逻辑完整,包含多层fallback机制
- 检查清单覆盖全面,包含draft和approved两种状态的差异化要求
- 反模式扫描清单详尽,能有效预防常见需求文档问题
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.