context-rich-implementation
Skill1 starsChanged 5 months agoMITView on GitHub
Assemble enough verified context before coding that an executor can finish a task in one pass with all validation gates green, instead of guessing and iterating blindly. The unit of work is a context-rich brief: spec links, the research already done, curated examples to mimic and avoid, executable validation gates, and an honest confidence score. Use for medium, large, or risky work, work delegated to another agent, or any task that spans several files or repo patterns where missing context…
In this repository117 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- advanced-orchestrationSkill
- architect-agentSkill
- implementer-agentSkill
- quality-councilSkill
- reviewer-agentSkill
- tester-agentSkill
- writer-critic-pairSkill
- authoring-skillsSkill
- api-endpoint-qualitySkill
- async-job-qualitySkill
- auth-qualitySkill
- db-migration-qualitySkill
- frontend-state-qualitySkill
- acceptance-criteriaSkill
- adaptive-flowSkill
- adaptive-prompt-selectionSkill
- adversarial-code-reviewSkill
- architecture-decision-recordsSkill
- brainstormingSkill
- brownfield-spec-enhancementSkill
- bug-fix-lifecycleSkill
- checkpoint-validationSkill
- cicd-integrationSkill
- clarify-before-codeSkill
- claude-code-hooks-packSkill
- code-context-packSkill
- code-intelligence-reviewSkill
- context-policySkill
- crash-proof-planningSkill
- critique-pass-protocolSkill
- dependency-aware-task-orderingSkill
- deprecation-migrationSkill
- disciplined-diagnosisSkill
- docs-authorSkill
- executing-plansSkill
- external-skillSkill
- finishing-a-development-branchSkill
- git-guardrailsSkill
- goal-driven-executionSkill
- grill-user-before-buildingSkill
- guard-bypass-protocolSkill
- improve-codebase-architectureSkill
- incremental-reviewSkill
- issue-slicingSkill
- lessons-learned-dbSkill
- loop-engineeringSkill
- model-aware-configSkill
- model-weakness-memorySkill
- multi-repo-learningSkill
- orchestration-workflowsSkill
- plan-driven-executionSkill
- plan-from-specSkill
- prd-from-contextSkill
- project-constitutionSkill
- prompt-architectureSkill
- prototype-before-commitmentSkill
- quality-engineSkill
- quality-execution-contractSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Use for medium, large, or risky work, work delegated to another agent, or any task that spans several files or repo patterns where missing …
- Very specific: line 45
Write the brief from templates/implementation-brief-template.md, keeping scope minimal and traced to acceptance criteria.
- Very specific: line 84
Not applied: any PRP-runner tooling, command-runner scripts, or upstream prompt/template text.
≈ “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
Context-Rich Implementation
Purpose
Assemble enough verified context before coding that an executor can finish a task in one pass with all validation gates green, instead of guessing and iterating blindly. The unit of work is a context-rich brief: spec links, the research already done, curated examples to mimic and avoid, executable validation gates, and an honest confidence score.
When to use
Use for medium, large, or risky work, work delegated to another agent, or any task that spans several files or repo patterns where missing context would cause rework. Skip it for tiny, obvious edits where intent, files, and verification are already clear.
Inputs
- An accepted spec with observable acceptance criteria, plus the agreed plan and task list.
- The closest existing code, repo conventions, and prior art (positive and negative).
- The documentation that settles real decisions for this task.
- The executable checks (lint, type/build, tests,
npm run validate) that prove correctness.
Workflow
- Research first. Read the spec/plan/task and the nearest existing code; identify the patterns this repo already uses and the files that best demonstrate them.
- Gather only decision-changing documentation, citing the exact section.
- Curate examples: positive prior art to copy and negative patterns to avoid, each with a path and a one-line reason.
- Synthesize findings into the implementation brief. Map research to concrete design decisions: which patterns to follow, which to avoid, which API contracts to honor. Resolve any contradictions in the research before writing the brief.
- Define validation gates as ordered, executable commands with observable pass conditions.
- Write the brief from
templates/implementation-brief-template.md, keeping scope minimal and traced to acceptance criteria. - Self-score confidence 1-10. If below 7, gather the missing context before handing off.
- Execute the brief (
commands/vibe-brief-execute.md): implement the smallest correct change, then run the gates and iterate until every one is green, fixing root causes in the code rather than weakening checks. - Validate against research: after implementation passes all gates, cross-check the result against the research findings. Did we handle the documented edge cases? Did we follow the positive patterns identified? Did we avoid the known pitfalls?
Outputs
- A completed context-rich brief with research findings, examples, validation gates, and a confidence score with rationale.
- An implementation whose every validation gate passes on a fresh run, with results reported.
Failure modes
- Skipping research and re-deriving patterns the repo already establishes.
- Listing documentation links that do not change any decision (context bloat).
- Naming only positive examples, so known-bad patterns get repeated.
- Vague validation gates with no command or no observable pass condition.
- Editing a failing check to make it pass instead of fixing the implementation.
- Inflating the confidence score to avoid gathering missing context.
- Letting the brief grow into a runtime or CLI; it is markdown guidance only.
Verification checklist
- Research findings name real repo patterns and the docs that settle decisions.
- Examples include both positive (mimic) and negative (avoid) entries with paths.
- Validation gates are executable, ordered, and have observable pass conditions.
- Confidence score is recorded with rationale; below 7 lists the missing context.
- Implementation iterated until all gates are green, with results reported.
Applied / Not Applied
- Applied: context-rich brief (spec + curated examples + doc links + executable validation
gates), iterate-until-green validation loop, and confidence self-scoring, adapted from
coleam00/context-engineering-introin original wording. - Not applied: any PRP-runner tooling, command-runner scripts, or upstream prompt/template
text. Gates are plain local commands composed with
npm run validatewhere relevant.
Ghi chú tiếng Việt
Gom đủ ngữ cảnh đã kiểm chứng trước khi code để executor làm một lần là xanh: nghiên cứu
trước, gom tài liệu cần thiết, tuyển ví dụ nên bắt chước và ví dụ cần tránh, đặt cổng kiểm
thử chạy được, viết brief tối thiểu truy vết AC, và tự chấm tự tin 1-10 (dưới 7 thì bổ sung
ngữ cảnh). Khi thực thi, lặp đến khi mọi cổng xanh, sửa nguyên nhân gốc trong code chứ không
nới lỏng check. Đây là hướng dẫn markdown, không phải runtime/CLI. Liên kết:
templates/implementation-brief-template.md, commands/vibe-brief.md,
commands/vibe-brief-execute.md, docs/workflows/context-engineering.md.
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.

