speckit-agent-context-update

Refresh managed Spec Kit plan references in coding agent context files.

Updated Jun 14, 2026
One-click install
npx skills add https://github.com/basmawebinfo-hub/lover-diet-center --skill speckit-agent-context-update-basmawebinfo-hub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-agent-context-update
Source: https://github.com/basmawebinfo-hub/lover-diet-center/tree/main/.agents/skills/speckit-agent-context-update
Command: npx skills add https://github.com/basmawebinfo-hub/lover-diet-center --skill speckit-agent-context-update-basmawebinfo-hub

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill keeps a coding agent's instruction or context file up to date with the latest Spec Kit plan, so you do not have to manually edit managed sections whenever plans change.

Core Features & Use Cases

  • Managed Context Refreshing: Creates, replaces, or appends a bounded section inside agent context files such as CLAUDE.md, AGENTS.md, or Copilot instruction files.
  • Config-Driven Targeting: Reads the Spec Kit extension configuration to find the correct context file and marker boundaries for safe updates.
  • Automatic Plan Discovery: Detects the most recently modified plan file when no explicit plan path is provided, making it useful in active feature planning workflows.
  • Use Case: When a team updates feature plans under specs/<feature>/plan.md, this Skill ensures the coding agent always references the latest plan in its managed context block.

Quick Start

Ask the agent to refresh the managed Spec Kit section in your coding context file using the latest available plan or a specific specs feature plan path.

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 keep my coding agent context file synced with the latest Spec Kit plan?

To sync your coding agent context file with the latest Spec Kit plan, you can automatically refresh the managed section inside files like CLAUDE.md or AGENTS.md. This ensures the agent always references the newest plan without manual edits.

Does Spec Kit context sync work with Copilot instruction files?

Yes, Spec Kit context sync works with Copilot instruction files. It creates or replaces a bounded managed section inside agent context files, including CLAUDE.md, AGENTS.md, and Copilot instruction files, using configurable section markers.

How do I automatically update CLAUDE.md when feature plans change?

You can automatically update CLAUDE.md when feature plans change by using automatic plan discovery. This detects the most recently modified plan file under specs/ and updates the managed context block with the latest reference.

What configuration is required to refresh agent context with Spec Kit?

Refreshing agent context with Spec Kit requires a .specify extension configuration file. This config-driven targeting finds the correct context file and defines marker boundaries to safely apply updates to the managed section.

Can I specify an explicit plan path instead of automatic discovery for agent context updates?

Yes, you can specify an explicit plan path instead of automatic discovery for agent context updates. The tool supports either an explicit specs feature plan path or automatic discovery of the newest plan file.

Why is my managed Spec Kit section not updating in my agent instruction file?

If your managed Spec Kit section is not updating, ensure your repository uses the Spec Kit structure and has a valid .specify extension configuration. The tool relies on these configurable section markers to safely locate and replace the bounded context block.