[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74CMJ5PF9N82HTCDKMTCPW3":3,"skill-same:01M74CMJ5PF9N82HTCDKMTCPW3":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M74CMJ5PF9N82HTCDKMTCPW3","long-document-revision-protocol",null,"Long Document Revision Protocol","CarlosCaPe\u002Foctorato","CarlosCaPe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F39838249?v=4","01M72WXX4ZRR8MBH1EP1QND2FQ","dataqbs","01M72WXX5NA7YCKRSJ54GW1GQ8",18,"MIT","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Flong-document-revision-protocol\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: long-document-revision-protocol\ndescription: \"Long Document Revision Protocol\"\nmetadata:\n  short-description: \"Long Document Revision Protocol\"\n  original-index: 44\n---\n\n# Long Document Revision Protocol\n\n## What\n\nA comprehensive checklist and workflow for revising technical documents exceeding 1,000 lines, integrating all document quality skills into a single actionable process.\n\n## Why\n\nLong documents (1,000+ lines) have unique failure modes:\n- **Invisible drift**: Changes in one section contradict another section 500 lines away\n- **Reference rot**: Cross-references break as structure evolves\n- **Status decay**: Markers become stale as content changes\n- **Voice fragmentation**: Different sections read like different authors\n- **Structural erosion**: Hierarchy breaks down over multiple edit sessions\n\nNo single skill addresses all these risks. This protocol orchestrates all document quality skills into a coherent revision workflow.\n\n## The Protocol\n\n### Phase 1: Pre-Revision Assessment (5 minutes)\n\nBefore making changes, understand the document state:\n\n```markdown\n## Pre-Revision Checklist\n\n1. Document Statistics\n   - [ ] Total line count: ___\n   - [ ] Number of sections (## headers): ___\n   - [ ] Number of cross-references (§, Finding #, Evidence #): ___\n   - [ ] Number of status markers (✅⚠️🔴⏳): ___\n\n2. Change Impact Assessment\n   - [ ] Which sections will I modify?\n   - [ ] Which sections reference those sections?\n   - [ ] Are there status markers in affected areas?\n   - [ ] Will structure (section numbers) change?\n\n3. Backup\n   - [ ] Git commit before changes? (recommended)\n   - [ ] Or: copy to _backup.md\n```\n\n### Phase 2: Make Changes\n\nApply your edits with awareness:\n\n```markdown\n## During Editing\n\n- [ ] For each fact added: Is this fact stated elsewhere? (→ reference, don't duplicate)\n- [ ] For each status change: Update the marker (✅⚠️🔴⏳)\n- [ ] For each structural change: Note affected cross-references\n- [ ] For each new section: Match voice\u002Ftense of surrounding content\n```\n\n### Phase 3: Post-Revision Verification (10-15 minutes)\n\nAfter completing edits, run the full coherence suite:\n\n```markdown\n## Post-Revision Audit\n\n### 3.1 Semantic Coherence (Skill #38)\n- [ ] No contradictions between edited and unedited sections\n- [ ] Summary sections align with detail sections\n- [ ] Conclusions still supported by evidence\n\n### 3.2 Cross-Reference Integrity (Skill #39)\n- [ ] All §X.Y references resolve to existing sections\n- [ ] All Finding #N references exist in findings register\n- [ ] All Evidence #N references exist in evidence register\n- [ ] No orphan references from deleted content\n\n### 3.3 Status Marker Hygiene (Skill #40)\n- [ ] No ✅ on incomplete items\n- [ ] No ⏳ on completed items\n- [ ] No ⚠️ on resolved issues\n- [ ] No stale \"TBD\" or \"pending\" text near ✅ markers\n\n### 3.4 Content Deduplication (Skill #41)\n- [ ] No verbatim paragraphs in multiple locations\n- [ ] Key facts have single authoritative source\n- [ ] Other occurrences reference the source\n\n### 3.5 Voice Consistency (Skill #42)\n- [ ] Tense consistent (present for facts, future for plans)\n- [ ] Person consistent (we\u002FMVH\u002Fpassive)\n- [ ] Tone consistent (formal-neutral throughout)\n- [ ] No jarring style shifts at edit boundaries\n\n### 3.6 Structural Completeness (Skill #43)\n- [ ] No empty sections (header without content)\n- [ ] No orphan headers (### without parent ##)\n- [ ] Section numbering sequential\n- [ ] All promised content delivered\n```\n\n### Phase 4: Final Validation\n\nQuick automated checks:\n\n```bash\n# Status marker count\necho \"✅: $(grep -c '✅' doc.md)\"\necho \"⚠️: $(grep -c '⚠️' doc.md)\"\necho \"🔴: $(grep -c '🔴' doc.md)\"\necho \"⏳: $(grep -c '⏳' doc.md)\"\n\n# Stale marker search\ngrep -n \"TBD\\|PENDING\\|deferred\\|~~\" doc.md\n\n# Reference inventory\ngrep -oE '§[0-9.]+' doc.md | sort | uniq -c | sort -rn | head -20\n\n# Empty section detection\ngrep -n '^##' doc.md | while read line; do\n  linenum=$(echo $line | cut -d: -f1)\n  nextline=$((linenum + 1))\n  sed -n \"${nextline}p\" doc.md | grep -q '^#' && echo \"Empty section at line $linenum\"\ndone\n```\n\n## Quick Reference Card\n\nFor routine edits, use this abbreviated checklist:\n\n```\n□ Contradictions? (search antonyms near edit)\n□ References valid? (§, Finding #, Evidence #)\n□ Markers accurate? (✅⚠️🔴⏳)\n□ Duplicates? (search key phrases)\n□ Voice match? (tense, person, tone)\n□ Structure intact? (headers have content)\n```\n\n## When to Use Full Protocol\n\n| Situation | Protocol Level |\n|-----------|---------------|\n| Fix a typo | None needed |\n| Update a number | Quick reference card |\n| Add a paragraph | Quick reference card |\n| Add a section | Phases 2-4 |\n| Merge documents | Full protocol |\n| Major restructure | Full protocol |\n| Pre-publish review | Full protocol |\n\n## Integration with Git Workflow\n\n```bash\n# Before major revision\ngit add -A && git commit -m \"checkpoint before revision\"\n\n# After revision passes protocol\ngit add -A && git commit -m \"revision complete - coherence verified\"\n\n# If issues found\ngit diff  # see what changed\ngit checkout -- document.md  # revert if needed\n```\n\n## Real-World Example\n\nFrom the Acme Corp TDD revision session:\n\n**Revision scope:** Add 366 lines (§6 Charter Deliverables) + update 7 table rows\n\n**Protocol execution:**\n1. **Pre-revision**: 2,701 lines, 55 findings, 8 deliverables with 6 at ⚠️\n2. **Changes**: Inserted §6.1–§6.6, updated Charter Traceability table\n3. **Post-revision**:\n   - Coherence: New sections reference existing findings (no contradictions)\n   - References: §6.1–§6.6 all resolve, Finding #refs valid\n   - Markers: All 8 rows now ✅, closing note updated\n   - Deduplication: Key facts reference §2.5.2, §3.2 (not duplicated)\n   - Voice: Matched existing formal-neutral, evidence-backed style\n   - Structure: §6 hierarchy clean, no empty sections\n4. **Validation**: Node.js script confirmed 8 GREEN rows, 0 stale markers\n\n**Result:** 3,067 lines, fully coherent, all deliverables addressed.\n\n## Related Skills\n\n- `38_document_semantic_coherence.md` — Contradiction prevention\n- `39_cross_reference_integrity.md` — Reference management\n- `40_status_marker_hygiene.md` — Marker accuracy\n- `41_content_deduplication_discipline.md` — Single source of truth\n- `42_voice_and_cadence_consistency.md` — Writing style\n- `43_structural_completeness_verification.md` — Document structure\n","# Long Document Revision Protocol\n\n## What\n\nA comprehensive checklist and workflow for revising technical documents exceeding 1,000 lines, integrating all document quality skills into a single actionable process.\n\n## Why\n\nLong documents (1,000+ lines) have unique failure modes:\n- **Invisible drift**: Changes in one section contradict another section 500 lines away\n- **Reference rot**: Cross-references break as structure evolves\n- **Status decay**: Markers become stale as content changes\n- **Voice fragmentation**: Different sections read like different authors\n- **Structural erosion**: Hierarchy breaks down over multiple edit sessions\n\nNo single skill addresses all these risks. This protocol orchestrates all document quality skills into a coherent revision workflow.\n\n## The Protocol\n\n### Phase 1: Pre-Revision Assessment (5 minutes)\n\nBefore making changes, understand the document state:\n\n```markdown\n## Pre-Revision Checklist\n\n1. Document Statistics\n   - [ ] Total line count: ___\n   - [ ] Number of sections (## headers): ___\n   - [ ] Number of cross-references (§, Finding #, Evidence #): ___\n   - [ ] Number of status markers (✅⚠️🔴⏳): ___\n\n2. Change Impact Assessment\n   - [ ] Which sections will I modify?\n   - [ ] Which sections reference those sections?\n   - [ ] Are there status markers in affected areas?\n   - [ ] Will structure (section numbers) change?\n\n3. Backup\n   - [ ] Git commit before changes? (recommended)\n   - [ ] Or: copy to _backup.md\n```\n\n### Phase 2: Make Changes\n\nApply your edits with awareness:\n\n```markdown\n## During Editing\n\n- [ ] For each fact added: Is this fact stated elsewhere? (→ reference, don't duplicate)\n- [ ] For each status change: Update the marker (✅⚠️🔴⏳)\n- [ ] For each structural change: Note affected cross-references\n- [ ] For each new section: Match voice\u002Ftense of surrounding content\n```\n\n### Phase 3: Post-Revision Verification (10-15 minutes)\n\nAfter completing edits, run the full coherence suite:\n\n```markdown\n## Post-Revision Audit\n\n### 3.1 Semantic Coherence (Skill #38)\n- [ ] No contradictions between edited and unedited sections\n- [ ] Summary sections align with detail sections\n- [ ] Conclusions still supported by evidence\n\n### 3.2 Cross-Reference Integrity (Skill #39)\n- [ ] All §X.Y references resolve to existing sections\n- [ ] All Finding #N references exist in findings register\n- [ ] All Evidence #N references exist in evidence register\n- [ ] No orphan references from deleted content\n\n### 3.3 Status Marker Hygiene (Skill #40)\n- [ ] No ✅ on incomplete items\n- [ ] No ⏳ on completed items\n- [ ] No ⚠️ on resolved issues\n- [ ] No stale \"TBD\" or \"pending\" text near ✅ markers\n\n### 3.4 Content Deduplication (Skill #41)\n- [ ] No verbatim paragraphs in multiple locations\n- [ ] Key facts have single authoritative source\n- [ ] Other occurrences reference the source\n\n### 3.5 Voice Consistency (Skill #42)\n- [ ] Tense consistent (present for facts, future for plans)\n- [ ] Person consistent (we\u002FMVH\u002Fpassive)\n- [ ] Tone consistent (formal-neutral throughout)\n- [ ] No jarring style shifts at edit boundaries\n\n### 3.6 Structural Completeness (Skill #43)\n- [ ] No empty sections (header without content)\n- [ ] No orphan headers (### without parent ##)\n- [ ] Section numbering sequential\n- [ ] All promised content delivered\n```\n\n### Phase 4: Final Validation\n\nQuick automated checks:\n\n```bash\n# Status marker count\necho \"✅: $(grep -c '✅' doc.md)\"\necho \"⚠️: $(grep -c '⚠️' doc.md)\"\necho \"🔴: $(grep -c '🔴' doc.md)\"\necho \"⏳: $(grep -c '⏳' doc.md)\"\n\n# Stale marker search\ngrep -n \"TBD\\|PENDING\\|deferred\\|~~\" doc.md\n\n# Reference inventory\ngrep -oE '§[0-9.]+' doc.md | sort | uniq -c | sort -rn | head -20\n\n# Empty section detection\ngrep -n '^##' doc.md | while read line; do\n  linenum=$(echo $line | cut -d: -f1)\n  nextline=$((linenum + 1))\n  sed -n \"${nextline}p\" doc.md | grep -q '^#' && echo \"Empty section at line $linenum\"\ndone\n```\n\n## Quick Reference Card\n\nFor routine edits, use this abbreviated checklist:\n\n```\n□ Contradictions? (search antonyms near edit)\n□ References valid? (§, Finding #, Evidence #)\n□ Markers accurate? (✅⚠️🔴⏳)\n□ Duplicates? (search key phrases)\n□ Voice match? (tense, person, tone)\n□ Structure intact? (headers have content)\n```\n\n## When to Use Full Protocol\n\n| Situation | Protocol Level |\n|-----------|---------------|\n| Fix a typo | None needed |\n| Update a number | Quick reference card |\n| Add a paragraph | Quick reference card |\n| Add a section | Phases 2-4 |\n| Merge documents | Full protocol |\n| Major restructure | Full protocol |\n| Pre-publish review | Full protocol |\n\n## Integration with Git Workflow\n\n```bash\n# Before major revision\ngit add -A && git commit -m \"checkpoint before revision\"\n\n# After revision passes protocol\ngit add -A && git commit -m \"revision complete - coherence verified\"\n\n# If issues found\ngit diff  # see what changed\ngit checkout -- document.md  # revert if needed\n```\n\n## Real-World Example\n\nFrom the Acme Corp TDD revision session:\n\n**Revision scope:** Add 366 lines (§6 Charter Deliverables) + update 7 table rows\n\n**Protocol execution:**\n1. **Pre-revision**: 2,701 lines, 55 findings, 8 deliverables with 6 at ⚠️\n2. **Changes**: Inserted §6.1–§6.6, updated Charter Traceability table\n3. **Post-revision**:\n   - Coherence: New sections reference existing findings (no contradictions)\n   - References: §6.1–§6.6 all resolve, Finding #refs valid\n   - Markers: All 8 rows now ✅, closing note updated\n   - Deduplication: Key facts reference §2.5.2, §3.2 (not duplicated)\n   - Voice: Matched existing formal-neutral, evidence-backed style\n   - Structure: §6 hierarchy clean, no empty sections\n4. **Validation**: Node.js script confirmed 8 GREEN rows, 0 stale markers\n\n**Result:** 3,067 lines, fully coherent, all deliverables addressed.\n\n## Related Skills\n\n- `38_document_semantic_coherence.md` — Contradiction prevention\n- `39_cross_reference_integrity.md` — Reference management\n- `40_status_marker_hygiene.md` — Marker accuracy\n- `41_content_deduplication_discipline.md` — Single source of truth\n- `42_voice_and_cadence_consistency.md` — Writing style\n- `43_structural_completeness_verification.md` — Document structure\n",{"name":5,"metadata":24,"description":7},{"original-index":25,"short-description":7},44,"master","b4414608cd5a3f87d1525b518f1c6add8363540d","skills\u002Flong-document-revision-protocol",6,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato","https:\u002F\u002Fwww.dataqbs.com\u002Foctorato","https:\u002F\u002Fgithub.com\u002FCarlosCaPe","www.dataqbs.com"," AI-powered data engineering\r\n& consulting\r\n\r\nWe build data platforms that turn complexity into clarity — from cloud architecture and ETL pipelines to AI-driven","2026-11-14 00:21:00",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add CarlosCaPe\u002Foctorato --skill long-document-revision-protocol",{"tool":42,"command":43},"bunx","bunx skills add CarlosCaPe\u002Foctorato --skill long-document-revision-protocol",{"tool":45,"command":46},"pnpm","pnpm dlx skills add CarlosCaPe\u002Foctorato --skill long-document-revision-protocol","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Flong-document-revision-protocol\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"skill.json","REFERENCE","参考文档",161,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Flong-document-revision-protocol\u002Fskill.json",[57,66,74,81,89,97],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":62,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M74EVAA4A4B4AKR5TT732GP4","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M74EV4WMRDKP2NQS4YWR8PXH","wrangler","Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwrangler\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwrangler\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M74EV05MHTXKEXD4B2QJEYTF","workspace-skill-discovery","Discover and include ALL skills across the workspace — not just global ones. Use at the start of every session or when the user asks about available skills. Ensures project-level skills (under .claude\u002Fskills\u002F or skills\u002F in any repo) are never missed.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkspace-skill-discovery\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M74ETV78525B4VP2F28Z6NRD","workers-best-practices","Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkers-best-practices\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkers-best-practices\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M74ETR75NF67WGVEN7288ACV","winui-app","Create, build and design WinUI 3 desktop apps with C# and the Windows App SDK following Microsoft's official guidance and CommunityToolkit. Covers XAML, navigation, theming, accessibility and deployment.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwinui-app\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwinui-app\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M74ETJFRNPPNSQZ36C6HD6CW","windows-brain-script-portability","Scripts in ~\u002F.claude\u002Fscripts\u002F that run on a Windows brain: use the python3.cmd shim and not bare python3, and reconfigure stdout to UTF-8 if you print symbols. Use it when writing a brain script or triaging a Windows-only crash.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwindows-brain-script-portability\u002FSKILL.md",[],[]]