This file documents the quality standards for this knowledge base. These standards ensure the folder itself follows best practices — the meta-quality principle.
- Document what "good" looks like for each part type
- Provide criteria for the audit script
- Enable consistent quality across propagated folders
| Type | Convention | Example |
|---|---|---|
| Files | lowercase-kebab | daily-prompts.md |
| Scripts | lowercase-kebab | propagate-to-all.ps1 |
| Templates | lowercase-kebab | AGENTS.template.md |
| Subfolders | lowercase-kebab | templates/ |
- Root-level: core docs, scripts, templates
- Subfolders: domain-specific content
- No orphan files: every file linked from at least one other file
- One source of truth: no duplicate content; files reference, not repeat
Every .ps1 script must have:
- Parameter block — named parameters, not positional
- Help comment — synopsis, description, examples
- Error handling — try/catch for risky operations
- Idempotent — safe to run multiple times
- No hardcoded paths: use
$PSScriptRootor parameters - Exit codes: 0 for success, 1+ for failure
| Level | Definition | Requirement |
|---|---|---|
| Source-backed | Links to authoritative external docs | Required for factual claims about tools |
| Actionable | Specific steps, commands, paths, examples | Required for "do this" advice |
| Inference-based | Derived from patterns, not explicit sources | Must be marked as inference |
| Generic | Universal truth (scope tightly, etc) | Fine as-is, common wisdom |
- If it's a fact about a tool: link to official docs
- If it's advice to act on: include specific paths, commands, examples
- If it's uncertain: mark as "inference" or "likely"
- Generic principles: fine as-is (e.g., "scope tightly")
- Heading hierarchy: H1 → H2 → H3, no skipping levels
- Code blocks: fenced with ``` for clarity
- Link format:
[Link text](relative/path.md)
This folder must follow its own advice. Specifically:
- The audit script must pass its own audit
- AGENTS.md must reference these standards
These standards are enforced by audit-folder-quality.ps1.
Run the audit:
.\audit-folder-quality.ps1Add topic-specific quality standards below this line. This section is preserved during propagation.
Add your topic-specific quality rules here.