Speckit agent context update

From Anantys-oss/koan · View interactive version

Speckit agent context update is an AI agent skill from the GitHub repository Anantys-oss/koan. Refresh the managed Spec Kit section in coding agent context file(s)

How to use this skill

Skill file

Update Coding Agent Context

Refresh the managed Spec Kit section inside the active coding agent's context/instruction file (e.g. CLAUDE.md, .github/copilot-instructions.md, AGENTS.md).

Behavior

The script reads the agent-context extension config at

.specify/extensions/agent-context/agent-context-config.yml to discover:

It then creates, replaces, or appends the managed block so that the section points at the most recent plan path when one can be discovered (specs/<feature>/plan.md).

If context_files and context_file are empty, the command reports nothing to do and exits successfully. Context file paths must stay project-relative; absolute paths, Windows drive paths, backslash separators, and .. path segments are rejected.

Execution

When plan_path is omitted, the script auto-detects the most recently modified specs/*/plan.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.