context-engineering
Skill2 starsChanged 59 days agoMITView on GitHub
Ensure the internal context an agent needs is current, complete, and placeholder-free before each session. Define minimum AI-accessible documentation per repo. Use at session startup to verify internal context is available to AI tools. Implements DORA AI Capability 3.
82 other projects use a version of this.
Adopted by
Most recently taken up by
- GuillemRoca/agent-skills-androidtheir own version, first seen Oct 3, 2026
- addyosmani/agent-skillstheir own version, first seen Oct 3, 2026
- weisser-dev/agentic-skillstheir own version, first seen Oct 3, 2026
- Rvey/agent-engineering-kittheir own version, first seen Oct 1, 2026
- rohitg00/pro-workflowtheir own version, first seen Sep 29, 2026
- komluk/scaffoldingtheir own version, first seen Sep 28, 2026
Used with
Projects with it also use using-agent-skills, constraint-driven-development and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
LLl0k0laDSkillusing-agent-skills
Use when starting a session or when you need to discover which skill applies to the current task. This is the meta-skill that governs how all other skills are discovered and invoked.
Also in 24 projects that use this
vinvcnSkillconstraint-driven-development
把一个项目的质量线确立为书面契约,并阻止 agent 悄悄降低它。通过访谈确定用户在意哪些维度,当用户心里没有数字时提供合理的默认阈值,把一切记录进 CONSTRAINTS.md,并盯住 diff 中质量线被削弱的迹象——新增的 @ts-ignore 或 eslint-disable 抑制注释、被跳过或删除的测试、被剥掉的断言、未实现的 stub、被调低的阈值。当没有任何质量线被写下来时使用;当用户说 "set up constraints" 或 "define our standards" 时;当用户希望把他们在意的维度——无障碍性、Web 性能、覆盖率——设置成被强制执行的约束时;当 agent 为了变绿不断静默检查或跳过测试时;当你需要一个覆盖率或性能阈值却不知道该选什么数字时;或者当 agent 写下的代码超出任何人会读的体量时。
Also in 4 projects that use this
LLl0k0laDSkillshipping-and-launch
Use when preparing to deploy to production. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.
Also in 26 projects that use this
galandoSkillsource-driven-development
Version-aware, source-driven development — fetch official docs before writing framework code
Also in 25 projects that use this
az9713Skilldeprecation-and-migration
Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when deciding whether to maintain or sunset existing code.
Also in 22 projects that use this
- +7 more from LLl0k0laD
Other versions82 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 82
- addyosmani/agent-skills★ 101ksame name
- rohitg00/pro-workflow★ 2.9ksame name
- mrgoonie/claudekit-skills★ 2.2ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- kdlbs/kandev★ 899same name
- Owl-Listener/ai-design-skills★ 178same name
- shashankswe2020-ux/whoop-mcp★ 165same name
- tranhieutt/software_development_department★ 72same name
- nahid-sparktales/agent-dispatcher★ 59same name
- drvoss/everything-copilot-cli★ 47same name
72 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/AGENTS.mdAGENTS.md
- opencode/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- scripts/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- ai-stanceSkill
- continuous-evalsSkill
- dev-experienceSkill
- discoverySkill
- documentationSkill
- dojo-navigatorSkill
- dora-measurementSkill
- integration-testingSkill
- langSkill
- learnSkill
- ufawkes-knowledgeSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 77 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Every uFawkes\* repo must maintain these files for AI-accessible context.
- Distinctive: line 63
Run at the start of every opencode session involving more than one file change.
“Common” is measured: kept by at least 6 in 10 of the 77 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Context Engineering
Load trigger:
"load context-engineering skill"> DORA: AI Capability 3: AI-accessible internal data Token cost: Low
Purpose
Move AI tools from generic assistants to specialized experts by connecting them to internal documentation and codebase structure. "Context engineering" is the practice of deliberately managing what internal knowledge is available to AI tools at session start — not just what prompt you give them.
DORA AI Capabilities Model v2025.1: "Connecting AI to your internal documentation and codebases moves it from a generic assistant to a specialized expert."
This skill eliminates the "re-discover context every session" tax — particularly costly at 2hrs/day across an 8-repo portfolio.
Minimum Corpus per Repo
Every uFawkes* repo must maintain these files for AI-accessible context. Missing files are flagged as corpus gaps, not silently ignored.
| File | Required | Purpose |
README.md | ✅ Mandatory | What this is, quick start, current status |
AGENTS.md | ✅ Mandatory | Agent suite, skill list, handoff protocol |
ARCHITECTURE.md or docs/ARCHITECTURE.md | ✅ Mandatory | System design, component relationships |
CONTRIBUTING.md | ✅ Mandatory | How to contribute — must not be a placeholder |
AI_STANCE.md | ✅ Mandatory | AI policy (see ai-stance skill) |
tests/README.md or equivalent | ✅ Mandatory | How to run tests, what they cover |
CHANGELOG.md | ✅ Mandatory | Release history |
DORA-event-format.md | ⚠ Required when uFawkesObs wired | Deployment event schema for DORA metrics |
docs/PROMPT_LIBRARY.md | Optional | Tested prompt templates (see uFawkesObs) |
Per-Repo Corpus Extensions
Beyond the minimum, each repo has domain-specific files that should be in the corpus:
| Repo | Additional corpus files |
fawkes | .agents/ directory tree, ROADMAP.md, .opencode/plans/roadmap.md, .gitops-templates/ |
uFawkesObs | docs/ARCHITECTURE.md, PROMPT_LIBRARY.md, tests/acceptance/ structure, docs/production-hardening.md |
uFawkesAI | Full .agents/skills/ directory tree, all agent .md files |
uFawkesPipe | Pipeline definition files (.woodpecker.yml), docker-compose.yml |
uFawkesDevX | devcontainer.json, golden path templates |
uFawkesDORA | Dashboard JSON, metric query definitions |
uFawkesSec | Policy definitions (OPA Rego or Kyverno), threat model |
uFawkes.dev | _config.yml, _data/, navigation structure, SKILL.md files under .agents/ |
Session Startup Checklist
Run at the start of every opencode session involving more than one file change. Takes under 2 minutes. Prevents context-blind agent decisions.
# 1. Verify minimum corpus files exist
for f in README.md AGENTS.md CONTRIBUTING.md AI_STANCE.md CHANGELOG.md; do
[ -f "$f" ] || echo "CORPUS GAP: $f missing"
done
# Check for ARCHITECTURE.md in either location
[ -f "ARCHITECTURE.md" ] || [ -f "docs/ARCHITECTURE.md" ] || \
echo "CORPUS GAP: ARCHITECTURE.md missing (check docs/ too)"
# Check for test README
[ -f "tests/README.md" ] || [ -f "tests/TESTING.md" ] || \
echo "CORPUS GAP: test suite documentation missing"
# 2. Check AGENTS.md references current skill list
# (Agent should read AGENTS.md and verify all listed skills exist in .agents/skills/)Corpus Quality Signals
These indicate the corpus will give poor context — flag them, don't silently continue:
| Signal | Problem | Remediation |
CONTRIBUTING.md contains [Add contribution guidelines here] | Placeholder — agents read wrong content | Fill CONTRIBUTING.md before session |
README.md "Status" section missing | Agent doesn't know current state | Add Status section |
AGENTS.md references skills that don't exist | Stale skill list | Update AGENTS.md or create missing skill |
| ARCHITECTURE.md last modified > 90 days ago + recent structural changes | Stale architecture | Update ARCHITECTURE.md |
AI_STANCE.md last reviewed > 90 days ago | Stale policy | Run ai-stance audit sub-skill |
Span Events
Emit these telemetry spans (integrates with agent-observability skill):
| Span | When | Attributes |
context.corpus.verified | Startup check complete | repo, corpus_current, gap_count |
context.corpus.gap | A required file is missing | repo, missing_file |
context.corpus.stale | Corpus > 24hrs old | repo, hours_stale |
context.corpus.rebuilt | Corpus rebuild triggered | repo, files_indexed |
Output Format
{
"skill": "context-engineering",
"repo": "paruff/REPO_NAME",
"corpus_current": true,
"last_built": "2026-06-16T08:00:00Z",
"hours_stale": 2,
"missing_files": [],
"corpus_quality_warnings": [],
"pending_skills": ["dora-measurement", "j-curve-navigation"],
"ready_for_session": true
}Sub-Skills
| Sub-skill | Purpose |
context-engineering/startup | Run the session startup checklist |
context-engineering/audit | Full corpus audit across all 8 uFawkes* repos |
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.

