speckit-agent-context-update

Refreshes the managed Spec Kit section in coding agent context files.

1|Updated Jul 4, 2026
One-click install
npx skills add https://github.com/trungenglish/SHOPWISE --skill speckit-agent-context-update-trungenglish
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-agent-context-update
Source: https://github.com/trungenglish/SHOPWISE/tree/main/.cursor/skills/speckit-agent-context-update
Command: npx skills add https://github.com/trungenglish/SHOPWISE --skill speckit-agent-context-update-trungenglish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Keeping a coding agent's context file (such as CLAUDE.md, AGENTS.md, or .github/copilot-instructions.md) in sync with the current Spec Kit feature plan is a manual, error-prone task. This Skill automates updating the managed Spec Kit block so the agent always points at the most recent plan. ## Core Features & Use Cases - Managed Section Updates: Creates, replaces, or appends a delimited Spec Kit block inside the agent context file using configurable start and end markers. - Config-Driven Behavior: Reads .specify/extensions/agent-context/agent-context-config.yml to discover the target context file and marker delimiters. - Automatic Plan Detection: When no plan path is given, the script locates the most recently modified specs/*/plan.md. - Use Case: After generating a new feature plan with Spec Kit, run this Skill so your coding agent's instructions immediately reference the latest plan without hand-editing CLAUDE.md. ## Quick Start Ask the agent to update the coding agent context file with the latest Spec Kit plan by running the update-agent-context script.

Frequently Asked Questions about speckit-agent-context-update

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update CLAUDE.md with the latest Spec Kit plan?▼

Run the update-agent-context script from .specify/extensions/agent-context/scripts in Bash or PowerShell. It reads the extension config, finds the managed section markers, and points the block at the most recent specs plan.md.

How does the script find the current feature plan?▼

When no plan path argument is provided, the script auto-detects the most recently modified plan.md under the specs directory. You can also pass an explicit plan path as an argument to override detection.

Which agent context files are supported?▼

Any file can be targeted because the path is defined by the context_file field in agent-context-config.yml. Common targets include CLAUDE.md, AGENTS.md, and .github/copilot-instructions.md.

What happens if the context file is missing or not configured?▼

If context_file is empty in the config or the file cannot be located, the command reports there is nothing to do and exits successfully without making changes.

Can I customize the managed section markers?▼

Yes, set context_markers.start and context_markers.end in agent-context-config.yml. When omitted, the script defaults to <!-- SPECKIT START --> and <!-- SPECKIT END -->.