skills/context-document-guidelines/SKILL.md
Ensure .context/ documentation is specific, useful, and high-quality. Use when creating or reviewing context docs — triggered by "write a context doc for this", "how should I document this pattern?", "update the context docs", "is this context doc good?", "review our .context/ files", or any time documentation in .context/ is being created, updated, or evaluated. Bad context docs mislead agents — this skill prevents that.
npx skillsauth add maestria-co/ai-playbook context-document-guidelinesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Ensure .context/ documentation is specific, accurate, and actually useful to agents —
not generic advice that adds noise without reducing uncertainty.
Good context doc (all must be true):
Bad context doc (rewrite or delete):
.github/copilot-instructions.md# [Topic]
## Purpose
[What does this document help agents do? 1 sentence.]
## Key Concepts
[2-5 core concepts with THIS project's terminology]
## Patterns
[How things are done in this project — with real file path examples]
## Examples
[Actual code patterns from the codebase with file:line references]
## Pitfalls
[Common mistakes in THIS codebase and how to avoid them]
| Directory | Content |
| ----------------- | ------------------------------------------------ |
| domains/ | Business and technical domain knowledge |
| standards.md | Coding conventions and project-specific patterns |
| testing.md | Test strategies, mock patterns, test data setup |
| architecture.md | System design, ADRs, structural patterns |
| workflows/ | CI/CD, branching, deployment, release process |
.github/copilot-instructions.md or README.This skill is invoked at two points in the agent workflow:
initialize-repo — calls this skill at Step 5 (Verification) to apply the quality bar
to each generated .context/ file before the initialization is considered complete.context/ documentation
as part of a task, to ensure documentation meets the quality bar before committingdevelopment
Writes and runs a test suite for a piece of code, covering happy path, edge cases, error cases, and security cases. Use when: implementation is complete and needs test coverage, a bug needs a reproduction test and fix validation, or code needs coverage before a refactor. Do not use when: the code under test is not yet implemented, or the spec is still unclear.
testing
Use when creating a new skill, editing an existing skill, or helping a user author a skill for this system. Covers structure, discoverability, quality, and discipline hardening.
development
Evidence-based verification process to run before marking any task complete. Use this skill every time you're about to report that work is done — for features, bug fixes, refactoring, or any code change. This catches the most common failure mode: declaring "done" without proof. If you're finishing up and about to tell the user the task is complete, run this checklist first.
development
Teaches agents how to discover, select, and invoke skills from the skill library. Use this skill whenever you're uncertain which skill applies to a task, when composing multiple skills for complex work, or when you need to understand what skills are available. This is your go-to when facing an ambiguous task and need to figure out the right approach before diving into implementation.