speckit-agent-context-update

Update coding agent context files to reference the latest Spec Kit plan.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/alansmello/Amani_ImportadosERP --skill speckit-agent-context-update-alansmello
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-agent-context-update
Source: https://github.com/alansmello/Amani_ImportadosERP/tree/main/.agents/skills/speckit-agent-context-update
Command: npx skills add https://github.com/alansmello/Amani_ImportadosERP --skill speckit-agent-context-update-alansmello

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This operation updates the coding agent's context to always reference the most recent Spec Kit plan, ensuring instructions stay aligned with current guidance.

Core Features & Use Cases

  • Reads the agent-context extension config to locate the target context file and the start/end delimiters.
  • Locates the most recently modified specs/*/plan.md and updates the managed block to reference it.
  • Gracefully handles missing files or configurations and reports success when there is nothing to update.

Quick Start

Update the coding agent context to reference the most recent 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 automatically update my coding agent's context to reference the latest plan?

To automatically update your coding agent context, the tool reads agent-context-config.yml to locate the target file and updates the managed block to reference the most recently modified specs/*/plan.md.

What happens to agent context management if the plan.md file is missing?

If the plan.md file is missing, agent context management handles the absence gracefully by skipping the update and reporting success when there is nothing to update.

How does agent context management locate the correct context block to update?

Agent context management locates the correct context block by reading the agent-context-config.yml file to find the designated context file path and its specific start and end delimiters.

Do I need agent-context-config.yml to refresh the coding agent context automatically?

Yes, you need agent-context-config.yml to refresh the coding agent context, as the tool reads this configuration file to locate the context file and the markers required for the update.

Can I use this to manage context blocks for files outside the specs directory?

No, you cannot use this to manage files outside the specs directory, because the tool specifically locates and updates references for files matching the specs/*/plan.md path pattern.

What is the best way to keep coding agent instructions aligned with current Spec Kit guidance?

The best way to keep coding agent instructions aligned with current Spec Kit guidance is to automatically refresh the context block to reference the most recent plan path using the agent-context extension config.