Delegate independent tasks to specialized agents working concurrently with isolated context.
Skill: Instruction Adherence (Stay On Track)
instruction-adherence
Use when instruction drift is likely: multi-step tasks, mid-task detours (tooling upgrades), or when agents must consult MCP memory / Skills / sessions and re-anchor repeatedly. Triggers: 'stay on track', 'follow instructions', 'resume main task', 'detour', 'intermediate task done'.
SKILL.md
Full skill instructions
Skill: Instruction Adherence (Stay On Track)
Scope
This Skill is about reliably following instructions across:
- Multiple instruction sources (system/developer/mode files, repo docs, user request)
- Memory sources (Skills registry, sessions, lessons/patterns)
- Multi-step execution where detours happen (e.g., “improve CLI tooling” mid-stream)
Inputs
- The current user request (objective + success criteria)
- The active mode/persona (if any)
- Repo guardrails (AGENTS.md, testing commands, server
--checkrule)
Procedure
1) Capture an “Instruction Snapshot” (mandatory)
In the active session’s WORKING_NOTES.md, write a short snapshot:
- Objective: 1 sentence
- Must do: 3–7 bullets
- Must not: 3–7 bullets
- Evidence: what output/tests/checks will prove done
This becomes the “north star” when you get interrupted.
2) Run the memory retrieval ritual (Skills → Sessions → Lessons)
- Skills: open
docs/agi/SKILLS.mdand follow any matching SOP. - Sessions: find/continue a session on the same topic.
- Lessons/Patterns: pull stable guidance from
docs/agi/*as needed.
If MCP tools are available, prefer them; otherwise use:
node tools/dev/md-scan.js --dir docs/agi --search "<topic>" --jsonnode tools/dev/md-scan.js --dir docs/sessions --search "<topic>" --json
3) Build a “Task Ledger” with explicit parent/child tasks
Use manage_todo_list with a structure that prevents detours from becoming the main task:
- Parent task: user’s objective
- Child tasks: discovery → implement → validate → document
- If a detour is required (e.g., CLI tooling improvement), make it a child task with:
- Entry criteria (why it’s needed)
- Exit criteria (what “done” means)
- Return step (the exact next step to resume)
4) The Re-anchor loop (run after every subtask)
After any meaningful milestone (or after 3–5 tool calls):
- Re-read the Instruction Snapshot
- Mark completed tasks
- Confirm the next step is still on the parent objective
- If you drifted, explicitly choose to:
- Resume parent objective, or
- Create a follow-up and stop the detour
5) “Detour complete → resume” protocol
When an intermediate task (like CLI tooling improvement) is completed:
- Record a one-paragraph summary + evidence in the session notes.
- Add/update a Skill or Lesson if it will recur.
- Immediately take the “Return step” you wrote in the task ledger.
Validation (evidence checklist)
- Session contains an Instruction Snapshot.
- Task ledger clearly separates parent objective vs detours.
- At least one re-anchor checkpoint recorded in
WORKING_NOTES.md. SESSION_SUMMARY.mdincludes an Instruction Reflection:- What instructions helped?
- What was missing/wrong?
- What durable doc/agent update was made?
More Other skills
brand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Fundamental design principles for writing maintainable, testable Python code.
responsive-design
Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.
Generate Playwright tests from scenarios using interactive browser exploration and validation.
Automated website exploration and test case generation using Playwright.
Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.
gdpr-data-handling
GDPR-compliant data handling with consent management, data subject rights, and privacy controls.
Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.
refactor-plan
Detailed multi-file refactor planning with safety checks and rollback guidance.
