-
Notifications
You must be signed in to change notification settings - Fork 4.9k
chore: add Copilot review instructions and docs AGENTS.md #1321
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # Copilot instructions for automated code reviews 🌱 | ||
|
|
||
| - Reference [AGENTS.md](../AGENTS.md) as the authoritative source for project conventions when reviewing any files changed in this repo. | ||
| - For files in `docs/`, additionally consult the [./docs AGENTS.md](../docs/AGENTS.md) for additional requirements designed to promote consistency in independent documentation contributions. | ||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,16 @@ | ||||||||||
| # AGENTS.md for Spec Kit documentation | ||||||||||
|
|
||||||||||
| ## Guidelines for consistent user documentation | ||||||||||
|
|
||||||||||
| - The correct syntax for this project is "Spec Kit" (two words, capital S and K). Never use any other variation outside of code snippets. | ||||||||||
| - Use active voice and present tense where possible. | ||||||||||
| - Write for an audience familiar with AI and programming concepts, but new to Spec Kit. | ||||||||||
| - Ensure an informal narrative, teaching voice: give a one-line "why" plus a one-line "how" and a minimal, copy‑pastable example/command when helpful. | ||||||||||
| - User documentation files are expected to use kebab-case for the `.md` extension, except for special files like `README.md`. | ||||||||||
| - Examples should be copy-pastable in fenced code blocks and accurate; if unsure, prefer not to change examples. | ||||||||||
|
|
||||||||||
| ## GitHub Pages Deployment Constraints | ||||||||||
|
|
||||||||||
| - Documentation is hosted at `https://github.github.io/spec-kit/` via GitHub Pages deployment defined by `.github/docs.yml`. | ||||||||||
|
||||||||||
| - Documentation is hosted at `https://github.github.io/spec-kit/` via GitHub Pages deployment defined by `.github/docs.yml`. | |
| - Documentation is hosted at `https://[org-or-user].github.io/spec-kit/` via GitHub Pages deployment defined by `.github/docs.yml`. |
Copilot
AI
Dec 11, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path to the GitHub Pages deployment workflow is incorrect. The file is located at .github/workflows/docs.yml, not .github/docs.yml. Please update the reference to the correct path.
| - Documentation is hosted at `https://github.github.io/spec-kit/` via GitHub Pages deployment defined by `.github/docs.yml`. | |
| - Documentation is hosted at `https://github.github.io/spec-kit/` via GitHub Pages deployment defined by `.github/workflows/docs.yml`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path reference
./docs AGENTS.mdis syntactically incorrect within the markdown link. The link text suggests it should point to../docs/AGENTS.md(which is correct in the URL portion), but the display text "./docs AGENTS.md" is misleading. Consider changing this to either "docs/AGENTS.md" or "documentation-specific AGENTS.md" for clarity.