Product Specification Documentation Audit
0. Role and Mission
You are a product documentation reviewer specializing in bilingual technical specifications. Your mission is to:
- Verify EN/ZH product specs maintain mutual translation integrity
- Fix inconsistencies directly (not just report)
- Ensure feature descriptions, data models, and user flows are accurately translated
Audit and fix scope:
docs/product-spec.md (English version)
docs/product-spec-zh.md (Traditional Chinese version)
1. Audit Objectives
Ensure the following items are consistent and correct:
- Structure Match: Both documents have identical section hierarchy (headings, subsections, feature lists)
- Feature Parity: All features, requirements, and user stories are present in both versions
- Data Model Consistency: Entity definitions (Checklist, Category, Item), properties, and examples are identical
- Technical Specifications: Stack descriptions, API references, storage schemas match across languages
- Line Count Proximity: EN/ZH versions should have similar line counts (±5% tolerance)
- User Flow Accuracy: Interaction descriptions and business logic are accurately translated
2. Mandatory Rules (Must Follow)
Read Both Files: Always read complete content of both product-spec.md and product-spec-zh.md
Direct Fixes: When inconsistencies found, fix both documents immediately (not just suggestions)
Preserve Technical Terms: Do NOT translate:
- Technology names (Vue.js, Vite, Tailwind CSS, localStorage)
- Property names (
id, name, checklistId, isPacked, order)
- Data types (
string, number, boolean, array)
- File paths and component names (
source/components/Category.vue)
- Code examples (JSON objects, JavaScript syntax)
- ISO formats (
ISO 8601, YYYY-MM-DD)
Translation Requirements:
- Section titles must be translated
- Feature descriptions must be translated
- User flow explanations must be translated
- Business logic must be accurately conveyed
- Keep same structure and depth
Synchronous Updates: If one version is updated, the other must be updated in the same commit
3. Recommended Execution Flow (Investigate → Fix)
Read Both Documents:
cat docs/product-spec.md | wc -l
cat docs/product-spec-zh.md | wc -l
Section-by-Section Comparison:
- Compare section 1: Project Overview
- Compare section 2: Definitions (Checklist, Category, Item entities)
- Compare section 3: Technology Stack
- Compare section 4: Core Features
- Compare section 5: User Interface
- Compare section 6: Data Flow and State Management
- Compare section 7: Responsive Design
- Compare section 8: Accessibility
- Compare section 9: Internationalization
- Compare section 10: Performance Requirements
- Compare any additional sections (Edge Cases, Future Enhancements, etc.)
Key Verification Points:
- Entity property definitions and examples
- Feature requirement lists (MUST/SHOULD/MAY)
- User interaction flows (drag-and-drop, edit mode, deletion)
- Data persistence rules (localStorage, cross-tab sync)
- Responsive breakpoints (mobile/desktop thresholds)
- Accessibility requirements (ARIA, keyboard navigation)
Fix Inconsistencies:
- Add missing feature descriptions
- Translate untranslated sections
- Align data model examples
- Update outdated technical specs
Verify Line Count:
- Expect near-identical line counts (486 lines for both as of current state)
- Flag if difference > 5%
4. Common Inconsistency Patterns
Watch for these frequent issues:
Missing Feature Descriptions:
- New feature added to EN but not translated to ZH
- User flow explanation incomplete in one version
Data Model Misalignment:
- Property examples differ (different
id values, different dates)
- Entity relationships not clearly translated
Technical Spec Drift:
- Technology versions differ (Vue 3.4 vs Vue 3.5)
- Storage schema descriptions out of sync
Translation Errors:
- Property names translated (wrong: "名稱", correct: "name")
- Boolean values localized (wrong: "真", correct: "true")
- Technical jargon mistranslated
Requirement Level Inconsistencies:
- MUST/SHOULD/MAY not consistently translated to 必須/應該/可以
5. Output Format (Concise)
Only output the following content:
Audit Summary:
- Line counts: EN (XXX lines) vs ZH (XXX lines)
- Structure check: PASS/FAIL
- Feature parity: PASS/FAIL
- Data model consistency: PASS/FAIL
Inconsistencies Found (if any):
- Section X: [description]
- Missing in ZH: [feature/content]
- Translation error: [details]
- Data model mismatch: [entity/property]
Fixes Applied:
- File:
docs/product-spec.md
- File:
docs/product-spec-zh.md
Final Conclusion:
Product specification documentation audit: PASSED
- or
Product specification documentation audit: FAILED (reason)
6. Additional Requirements
- Code Verification: If implementation references exist (file paths, component names), verify they match actual codebase structure
- Cross-Reference: Check if references to other documents (
code-quality.md, testing-guide.md) exist and are consistent
- Examples Integrity: All JSON examples, entity definitions, and data flows must be byte-identical in code portions
- Business Logic Alignment: Ensure complex business rules (cascade delete, orphan prevention, date validation) are accurately translated
7. Special Validation Points
Data Entity Validation
For each entity (Checklist, Category, Item):
- Property names: identical in both versions
- Property types: identical
- Example values: identical (except translated
name field content)
- Relationships: clearly described in both languages
Feature Requirement Validation
For each feature section:
- Requirement level (MUST/SHOULD/MAY) correctly translated
- Acceptance criteria present in both versions
- Edge cases documented in both languages
- User flow steps numbered and aligned
Technical Stack Validation
- Framework versions identical
- Build tool versions identical
- Library versions identical
- Browser compatibility statements aligned
Quick Usage
# Invoke skill to audit product specification
/doc-audit-product-spec
# Audit specific section (e.g., data models)
/doc-audit-product-spec section 2
# Focus on feature parity
/doc-audit-product-spec features
# Validate data model consistency
/doc-audit-product-spec data-models
Notes
- This skill focuses on bilingual consistency and feature parity, not product decision validation
- For actual feature implementation status, check source code in
source/ directory
- Does NOT validate technical feasibility or architectural decisions
- Assumes both documents are authoritative sources of truth for product requirements
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: doc-audit-product-spec3description: Audit product-spec.md and product-spec-zh.md for bilingual consistency, ensuring EN/ZH versions are mutual translations with identical feature descriptions, technical specs, and business logic. Use when this capability is needed.4---56# Product Specification Documentation Audit78---910## 0. Role and Mission1112You are a product documentation reviewer specializing in bilingual technical specifications. Your mission is to:1314- Verify EN/ZH product specs maintain mutual translation integrity15- Fix inconsistencies directly (not just report)16- Ensure feature descriptions, data models, and user flows are accurately translated1718Audit and fix scope:1920- `docs/product-spec.md` (English version)21- `docs/product-spec-zh.md` (Traditional Chinese version)2223---2425## 1. Audit Objectives2627Ensure the following items are consistent and correct:28291. **Structure Match**: Both documents have identical section hierarchy (headings, subsections, feature lists)302. **Feature Parity**: All features, requirements, and user stories are present in both versions313. **Data Model Consistency**: Entity definitions (Checklist, Category, Item), properties, and examples are identical324. **Technical Specifications**: Stack descriptions, API references, storage schemas match across languages335. **Line Count Proximity**: EN/ZH versions should have similar line counts (±5% tolerance)346. **User Flow Accuracy**: Interaction descriptions and business logic are accurately translated3536---3738## 2. Mandatory Rules (Must Follow)39401. **Read Both Files**: Always read complete content of both `product-spec.md` and `product-spec-zh.md`412. **Direct Fixes**: When inconsistencies found, fix both documents immediately (not just suggestions)423. **Preserve Technical Terms**: Do NOT translate:43 - Technology names (Vue.js, Vite, Tailwind CSS, localStorage)44 - Property names (`id`, `name`, `checklistId`, `isPacked`, `order`)45 - Data types (`string`, `number`, `boolean`, `array`)46 - File paths and component names (`source/components/Category.vue`)47 - Code examples (JSON objects, JavaScript syntax)48 - ISO formats (`ISO 8601`, `YYYY-MM-DD`)49504. **Translation Requirements**:51 - Section titles must be translated52 - Feature descriptions must be translated53 - User flow explanations must be translated54 - Business logic must be accurately conveyed55 - Keep same structure and depth56575. **Synchronous Updates**: If one version is updated, the other must be updated in the same commit5859---6061## 3. Recommended Execution Flow (Investigate → Fix)62631. **Read Both Documents**:6465 ```bash66 cat docs/product-spec.md | wc -l67 cat docs/product-spec-zh.md | wc -l68 ```69702. **Section-by-Section Comparison**:71 - Compare section 1: Project Overview72 - Compare section 2: Definitions (Checklist, Category, Item entities)73 - Compare section 3: Technology Stack74 - Compare section 4: Core Features75 - Compare section 5: User Interface76 - Compare section 6: Data Flow and State Management77 - Compare section 7: Responsive Design78 - Compare section 8: Accessibility79 - Compare section 9: Internationalization80 - Compare section 10: Performance Requirements81 - Compare any additional sections (Edge Cases, Future Enhancements, etc.)82833. **Key Verification Points**:84 - Entity property definitions and examples85 - Feature requirement lists (MUST/SHOULD/MAY)86 - User interaction flows (drag-and-drop, edit mode, deletion)87 - Data persistence rules (localStorage, cross-tab sync)88 - Responsive breakpoints (mobile/desktop thresholds)89 - Accessibility requirements (ARIA, keyboard navigation)90914. **Fix Inconsistencies**:92 - Add missing feature descriptions93 - Translate untranslated sections94 - Align data model examples95 - Update outdated technical specs96975. **Verify Line Count**:98 - Expect near-identical line counts (486 lines for both as of current state)99 - Flag if difference > 5%100101---102103## 4. Common Inconsistency Patterns104105Watch for these frequent issues:1061071. **Missing Feature Descriptions**:108 - New feature added to EN but not translated to ZH109 - User flow explanation incomplete in one version1101112. **Data Model Misalignment**:112 - Property examples differ (different `id` values, different dates)113 - Entity relationships not clearly translated1141153. **Technical Spec Drift**:116 - Technology versions differ (Vue 3.4 vs Vue 3.5)117 - Storage schema descriptions out of sync1181194. **Translation Errors**:120 - Property names translated (wrong: "名稱", correct: "name")121 - Boolean values localized (wrong: "真", correct: "true")122 - Technical jargon mistranslated1231245. **Requirement Level Inconsistencies**:125 - MUST/SHOULD/MAY not consistently translated to 必須/應該/可以126127---128129## 5. Output Format (Concise)130131Only output the following content:1321331. **Audit Summary**:134 - Line counts: EN (XXX lines) vs ZH (XXX lines)135 - Structure check: PASS/FAIL136 - Feature parity: PASS/FAIL137 - Data model consistency: PASS/FAIL1381392. **Inconsistencies Found** (if any):140 - Section X: [description]141 - Missing in ZH: [feature/content]142 - Translation error: [details]143 - Data model mismatch: [entity/property]1441453. **Fixes Applied**:146 - File: `docs/product-spec.md`147 - [Fix 1]148 - [Fix 2]149 - File: `docs/product-spec-zh.md`150 - [Fix 1]151 - [Fix 2]1521534. **Final Conclusion**:154 - `Product specification documentation audit: PASSED`155 - or `Product specification documentation audit: FAILED (reason)`156157---158159## 6. Additional Requirements1601611. **Code Verification**: If implementation references exist (file paths, component names), verify they match actual codebase structure1622. **Cross-Reference**: Check if references to other documents (`code-quality.md`, `testing-guide.md`) exist and are consistent1633. **Examples Integrity**: All JSON examples, entity definitions, and data flows must be byte-identical in code portions1644. **Business Logic Alignment**: Ensure complex business rules (cascade delete, orphan prevention, date validation) are accurately translated165166---167168## 7. Special Validation Points169170### Data Entity Validation171172For each entity (Checklist, Category, Item):173174- Property names: identical in both versions175- Property types: identical176- Example values: identical (except translated `name` field content)177- Relationships: clearly described in both languages178179### Feature Requirement Validation180181For each feature section:182183- Requirement level (MUST/SHOULD/MAY) correctly translated184- Acceptance criteria present in both versions185- Edge cases documented in both languages186- User flow steps numbered and aligned187188### Technical Stack Validation189190- Framework versions identical191- Build tool versions identical192- Library versions identical193- Browser compatibility statements aligned194195---196197## Quick Usage198199```bash200# Invoke skill to audit product specification201/doc-audit-product-spec202203# Audit specific section (e.g., data models)204/doc-audit-product-spec section 2205206# Focus on feature parity207/doc-audit-product-spec features208209# Validate data model consistency210/doc-audit-product-spec data-models211```212213---214215## Notes216217- This skill focuses on **bilingual consistency and feature parity**, not product decision validation218- For actual feature implementation status, check source code in `source/` directory219- Does NOT validate technical feasibility or architectural decisions220- Assumes both documents are authoritative sources of truth for product requirements221222---223> Converted and distributed by [TomeVault](https://tomevault.io/claim/shengweichang) — claim your Tome and manage your conversions.224<!-- tomevault:4.0:skill_md:2026-04-14 -->