system-docpack
Skill0 starsChanged 8 days agoApache-2.0View on GitHub
Create, complete, audit, and publish the per-system document pack (PRD, architecture, NFR, runbook, SRS, UX flows, test/UAT, RTM, business and delivery docs) and its PDFs for any Solo Empire portfolio system, client project, or our own apps. Use when asked whether a system's documentation is complete, to bring a system up to the EV3-style docpack, to add a new system to the portfolio docpack registry, or to rebuild docpack PDFs.
In this repository27 other files it gives its agents.
- ai-agentsSkill
- ai-agent-workflowsSkill
- ai-native-estimationSkill
- ai-product-deliverySkill
- book-dev-engineering-loopSkill
- business-analysisSkill
- client-discovery-and-proposalsSkill
- content-distributionSkill
- data-engineeringSkill
- flow-videoSkill
- game-engineeringSkill
- govern-ai-skillsSkill
- graphic-designSkill
- lead-research-and-crmSkill
- main-only-developmentSkill
- product-managementSkill
- product-ownerSkill
- project-managementSkill
- qa-testingSkill
- security-and-privacySkill
- skill-templateSkill
- solo-empire-operatorSkill
- solution-architectureSkill
- subagent-orchestrationSkill
- unused-file-cleanupSkill
- ux-reviewSkill
- xr-engineeringSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Every portfolio system keeps one evidence-based document pack sized to its tier (L1 Lite, L2 Standard, L3 Full).
- Very specific: line 13
Run task docpack:check (add -- --system <id> or -- --json) to see which systems and doc types are missing, malformed, or have stale PDFs.
- Very specific: line 15
Read references/doc-standard.md for tiers, file names, front matter, required sections, and writing rules.
- Very specific: line 23
Write each missing doc as NN-<doc_type>.md plus docpack.yaml.
- Very specific: line 38
Commit only DOCPACK/ inside each nested repo.
- Distinctive: line 44
No evidence for a fact → write [ต้องยืนยัน] / [สมมติฐาน] and an open question.
- Distinctive: line 61
When asked whether a released system's documentation is complete, also check for a KPI plan with verified instrumentation (lifecycle …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
System Docpack
Every portfolio system keeps one evidence-based document pack sized to its tier (L1 Lite, L2 Standard, L3 Full). EV3 is the reference implementation.
Workflow
- Run
task docpack:check(add-- --system <id>or-- --json) to see which systems and doc types are missing, malformed, or have stale PDFs. - Read
references/doc-standard.mdfor tiers, file names, front matter, required sections, and writing rules. Do not reload it per document. - New system → add a row to
repository-catalog/registries/docpack-coverage.yaml(id, name, kind, tier, pack). Choose the tier by risk: paid client acceptance → L3, public or small client/internal system → L2, internal tool or prospect → L1. - Gather evidence from the owning boundary: code, configs, routes, migrations, notes, minutes, existing docs. Nested repositories are read-only.
- Write each missing doc as
NN-<doc_type>.mdplusdocpack.yaml. Route content to the role skill that owns it:product-management(overview, prd, ux-flows),solution-architecture(architecture, nfr-security, runbook, trd-api-data),business-analysis(srs, rtm, business-case, business-flow, business-rules-data, decisions-glossary),qa-testing(test-uat),security-and-privacy(security and PDPA sections). - Build PDFs with
task docpack:build -- <system-id> [glob]. Packs markedpdf_builder: legacy(EV3) keep their own builder under the client'sautomation/docpack-pdf/. - Personal Book Dev repos are discovered automatically and need a Product
Card (L0). Collect facts with
python3 infra/scripts/docpack/repo_facts.py, writeDOCPACK/00-product-card.mdwith a verdict, thentask docpack:cards:index. Promote aninvestrepo throughrepo_discovery.tier_overridesand write its L1+ docs in the same pack. Commit onlyDOCPACK/inside each nested repo. - Re-run
task docpack:check; thentask test:docpackif the checker or registry changed, andtask docs:checkbefore handoff.
Decision rules
- No evidence for a fact → write [ต้องยืนยัน] / [สมมติฐาน] and an open question; never fill the gap with invented numbers, prices, or decisions.
- Legacy pack with different file names → map types with
doc_type_mapin the registry or add adoc_type:front-matter line; do not rename files. - Client edition (
audience: client) → the builder strips source sections, source columns, and repository paths; internal packs keep them. - Sending a PDF to a client, posting it, or uploading it anywhere is an external action → stop for explicit approval.
- Personal names, contact details, secrets, raw client data → never in a pack.
- The KPI plan is docpack type
kpi-plan(KPI-PLAN, number 15), required for every Tier A/B product (registryproduct_tier_required; the checker does not enforce it yet). Write it from architecture-docstemplates/sdlc/kpi-and-instrumentation-plan.md, usually at the repo'sdocs/measurement/, and map it into the pack. Launch plan, experiment log and outcome reviews stay outside the docpack in the project's SDLC workspace: link them from the overview (launch plan from the runbook, latest outcome review from the overview status). - When asked whether a released system's documentation is complete, also
check for a KPI plan with verified instrumentation (lifecycle Measure) and
an outcome review newer than its cadence whose decisions are backlog tasks
(lifecycle Learn, architecture-docs
docs/lifecycle/OUTCOME-REVIEW-TO-BACKLOG.md). Report a missing or overdue one as a gap and route it toproduct-management; do not invent figures to fill it. - For Tier A/B, report the Big Loop scorecard level from hub
infra/scripts/platform/app_goal_scorecard.py --repo <name>(L3 needs the KPI plan,specs/and a deploy workflow) next to the docpack result. - Also check the technical design detail documents listed in
references/doc-standard.md(infrastructure and network, observability, capacity/performance/cost, failure modes, async integration, frontend, tech-debt register, landscape row, vendor exit plan). Work started on or after 2026-10-16 needs all of them (N/A+ reason where a topic does not apply); older systems with no new work use the "Expected for" column. They are not docpack doc types, sotask docpack:checkwill not flag them: report each missing one, or one without anN/Areason, as a gap and route it tosolution-architecture. For the landscape, check the system's row in the portfolio file, not a per-system file.
Resources
references/doc-standard.md— tiers, layout, front matter, required sections, ID conventions, quality gate.infra/scripts/utils/docpack_coverage.py— coverage checker (task docpack:check).infra/scripts/docpack/make_pdfs.shandbuild_html.py— PDF pipeline (task docpack:build); needs Playwright headless Chromium and Sarabun fonts in.runtime/fonts(orFONT_DIR).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

