agentleFS
roronoazoroshao369roronoazoroshao369/vibe-coding-os/skills/core/context-rich-implementation/SKILL.md

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…

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
  1. Distinctive:

    Use for medium, large, or risky work, work delegated to another agent, or any task that spans several files or repo patterns where missing …

    line 23
  2. Very specific:

    Write the brief from templates/implementation-brief-template.md, keeping scope minimal and traced to acceptance criteria.

    line 45
  3. Very specific:

    Not applied: any PRP-runner tooling, command-runner scripts, or upstream prompt/template text.

    line 84

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. 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.
  2. Gather only decision-changing documentation, citing the exact section.
  3. Curate examples: positive prior art to copy and negative patterns to avoid, each with a path and a one-line reason.
  4. 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.
  5. Define validation gates as ordered, executable commands with observable pass conditions.
  6. Write the brief from templates/implementation-brief-template.md, keeping scope minimal and traced to acceptance criteria.
  7. Self-score confidence 1-10. If below 7, gather the missing context before handing off.
  8. 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.
  9. 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-intro in 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 validate where 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.