agentleFS
IgorGanapolskyIgorGanapolsky/ThumbGate/skills/context-engineering-checklist/SKILL.md

context-engineering-checklist

Skill27 starsChanged 8 months agoMITView on GitHub

HARD checklist before new skills, MCP tools, hooks/gates, plugins, or multi-agent workflows. Maps Hugging Face Context Course units 1–5 onto ThumbGate. Auto-invoke when creating SKILL.md, PreToolUse hooks, gate patterns, MCP tools, Grok workflows, slash commands, or when user says context engineering, HF context course, GSD, Ralph Loop, or agent context. Slash: /context-engineering-checklist.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is 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.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before generation, package reusable context into all six blocks:

    line 57
  2. Very specific:

    Use construct_context_pack.contextEnvelope instead of repeating these blocks in chat.

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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 Engineering Checklist (HF course → ThumbGate)

Source: The Context Course

Pick the right layer (Clarify)

NeedLayerDo not
How-to / policy for agentsSkill (Unit 1)Long chat-only prompts
External API/toolMCP (Unit 2)Fake tools in prose
Multi-step pack / fan-outWorkflow/plugin (Unit 3)One mega-prompt
Parallel specialistsSub-agents (Unit 4)Dual-edit without locks
Irreversible denyHook/gate (Unit 5)Skill-only “never do X”

Unit 1 — Skills

  • SKILL.md frontmatter: name, trigger-rich description, slash
  • One failure class per skill
  • NEVER / ALWAYS table with zero-ratio rules
  • Scripts for mechanical steps; no secrets in body

Unit 2 — MCP

  • Tool names match discovery / allowlist
  • Side-effect annotations truthful
  • Mutating tools covered by PreToolUse / gate-check

Unit 3 — Plugins / workflows

  • Context → specialists → verify → synthesize
  • Smoke + full modes; read-only reviews

Unit 4 — Sub-agents

  • Linear claim or complement (no steal)
  • Vault one-writer; scoped prompts

Unit 5 — Hooks / gates

  • Matchable tool surface (not English prose)
  • Hard floor if irreversible
  • Deny + allow + false-positive tests
  • Live probe before “protected”

Six-block context envelope

Before generation, package reusable context into all six blocks:

  1. goal: one measurable outcome.
  2. businessData: current evidence with source and timestamp.
  3. examples: concrete good or bad few-shot cases.
  4. procedures: ordered actions and verification.
  5. constraints: safety, business, and SLA limits.
  6. rubric: grading criteria supplied before the answer is generated.

Use construct_context_pack.contextEnvelope instead of repeating these blocks in chat. All blocks are required when the envelope is present, count against maxChars, and are part of semantic-cache identity.

For connector evidence, set metadata.sourceUpdatedAt, metadata.maxAgeSeconds, and metadata.sourceUrl on the stored context object. Treat stale, future, invalid, and unknown freshness as explicit evidence states, not current truth.

Scripts

bash ~/.grok/skills/context-engineering-checklist/scripts/check_context_layers.sh [path...]

Related

  • [[gsd-ralph-context-loop]]
  • [[three-bus-ship-cycle]]
  • [[xai-workflows-for-system]]

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.