-
Notifications
You must be signed in to change notification settings - Fork 11k
docs(extensions): clarify agent-context README and add config examples #3389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mnriem
merged 12 commits into
github:main
from
yanukadeneth99:docs/agent-context-readme
Jul 23, 2026
+46
−46
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
18ce4a7
docs(extensions): clarify agent-context README and add config examples
yanukadeneth99 3379a45
docs(agent-context): clarify config documentation
yanukadeneth99 d73fc9f
docs(agent-context): fix GitHub casing, clarify config
yanukadeneth99 deeb718
YAML indentation fix for context markers
yanukadeneth99 7cc772f
docs(agent-context): simplify README config section
yanukadeneth99 902e4ba
docs(agent-context): clarify config file path in README
yanukadeneth99 ce351f8
docs(agent-context): clarify install and marker requirement
yanukadeneth99 fac9534
Wording Fix
yanukadeneth99 6b4ba02
docs(agent-context): clarify context_file path rules
yanukadeneth99 3aecdfc
Updated supported invocation syntaxes
yanukadeneth99 b826cfc
Extension Disable Clarification
yanukadeneth99 0b9632d
docs(agent-context): document .mdc frontmatter exception
yanukadeneth99 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,24 @@ | ||
| # Coding Agent Context Extension Configuration | ||
| # These values are populated automatically by `specify init` and | ||
| # `specify integration use` / `specify integration install`. | ||
|
|
||
| # Path (relative to the project root) to the default coding agent context file | ||
| # managed by this extension (e.g. CLAUDE.md, AGENTS.md, | ||
| # .github/copilot-instructions.md). Set automatically from the active | ||
| # integration and regenerated during `specify init` or integration switches. | ||
| # WHAT: The single agent context file relative to the project root (the directory containing .specify/). Absolute paths, backslash separators, and `..` path segments are rejected. | ||
| # REQUIREMENT: OPTIONAL. Use this if you want to manually specify a single context file. If you leave this entry blank, it will use the default context file for the coding agent you picked when you set up Spec Kit. See `agent-context-defaults.json` for the defaults. | ||
| # EXAMPLE: context_file: CLAUDE.md | ||
| context_file: "" | ||
|
|
||
| # Optional list of project-relative coding agent context files managed by this | ||
| # extension. When non-empty, this list takes precedence over `context_file`. | ||
| # Use this for projects that intentionally keep multiple agent anchors in sync. | ||
| # WHAT: List of agent context files relative to the project root (the directory containing .specify/). If you have both `context_file` and `context_files` filled, then this (`context_files`) takes precedence. Absolute paths, backslash separators, and `..` path segments are rejected. | ||
| # REQUIREMENT: OPTIONAL. Use this if your project requires you to keep multiple agent context files in sync. | ||
| # EXAMPLE: | ||
| # context_files: | ||
| # - AGENTS.md | ||
| # - CLAUDE.md | ||
| context_files: [] | ||
|
|
||
| # Delimiters for the managed Spec Kit section. | ||
| # Edit these to use custom markers. | ||
| # WHAT: Markers (delimiters) for the managed Spec Kit section. This extension injects information only between these markers. | ||
| # REQUIREMENT: OPTIONAL. Only change if you wish to have a custom marker name. | ||
| # EXAMPLE: | ||
| # context_markers: | ||
| # start: "<!-- AGENT SPEC KIT CONTEXT START -->" | ||
| # end: "<!-- AGENT SPEC KIT CONTEXT END -->" | ||
| context_markers: | ||
| start: "<!-- SPECKIT START -->" | ||
| end: "<!-- SPECKIT END -->" | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.