agent-context-kit
Copilot instructions14 starsChanged 3 months agoMITView on GitHub
Prefer minimal, tested, secure changes that follow the project docs and task files.
- Commits and pushes
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ackit-context-optimizationSkill
- ackit-policy-authoringSkill
- ackit-scan-and-fixSkill
- ackit-workflowSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Prefer minimal, tested, secure changes that follow the project docs and task files.
- Distinctive: line 17
Before any push, run git status and confirm the working tree is clean.
- Very specific: line 18
Never leave a newly created .md task file, plan, queue row, or test file uncommitted.
- Very specific: line 30
All validation uses the repository-built CLI: node dist/cli/index.js <command>.
- Very specific: line 48
Never commit generated .ackit/, SARIF, HTML, prompt pack, context export, dist/, node_modules/, coverage, or temp artifacts.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot Instructions
Prefer minimal, tested, secure changes that follow the project docs and task files.
Maintenance Note
This file is hand-maintained. ackit generate does not regenerate it. Update it through a regular docs/tasks/ task and a normal commit, never through the generator.
Governance
- Authoritative agent policy:
AGENTS.md— controlled-release governance. - Release actions (
masterpush/merge, npm publish, tags, GitHub Releases) are user-authorized only; they require explicit authorization inside the active task. Always prohibited: force-push, history rewrite, tag movement/deletion, workflow dispatch, deployments. - Canonical development branch is
master(changes land via pull request with exact-head required CI green; direct pushes are rejected by branch protection);rebuild/ackit-vnextis retired (historical evidence only, do not push).
Workflow
- Task-first workflow is mandatory. Every implementation change starts from a task record under
docs/tasks/active/, created withnode dist/cli/index.js task "<title>".
Commit Completeness Hard Rule
- Before any push, run
git statusand confirm the working tree is clean. - Never leave a newly created
.mdtask file, plan, queue row, or test file uncommitted. New files must be added and committed in the same logical commit that creates them, or in an immediately following commit, before any push.
Repository Health
- README: yes
- LICENSE: yes
- SECURITY: yes
- Tests: yes
- CI: yes
- Agent instructions: yes
Stack & Validation
- Main stack: TypeScript (strict ESM) + Node.js >= 22, pnpm, Vitest, Biome.
- All validation uses the repository-built CLI:
node dist/cli/index.js <command>. The old global .NETackittool anddotnet runinvocations are not valid validation tools on this branch.
Release Status
- Source-checkout version:
package.jsonis the single source of truth (see Version truth inAGENTS.md— this file stays version-agnostic and never names a current release number). Published stable: the latest immutable npm/GitHub Release.0.1.1/0.1.0remain as historical releases;docs/v0.2.0/**is historical, not current governance. - npm publish, tag creation, GitHub Releases, and other master mutations require explicit user authorization. Automated publishing runs only through the tag-triggered
.github/workflows/release.ymlafter that authorization; master pushes never publish. - Legacy .NET line is frozen and immutable: NuGet
AgentContextKit1.0.0-rc.1(exact tag/release/assets/attestations at repository commit258918b33c3d1359aac967604ee524e8b66ddf02) and earlier prereleases remain untouchable; do not republish, reuse, move, replace, or delete them. Historical failed recovery evidence remains preserved.
Recommended Checks
pnpm lint && pnpm format:check && pnpm typecheckpnpm build && pnpm test && pnpm smoke:clipnpm run smoke:packagenode dist/cli/index.js doctornode dist/cli/index.js scan --ci
Commit Hygiene
- Conventional Commits scoped to the real diff; no model name, generator, or AI authorship in commit messages.
- PR/release bodies: write a UTF-8 body file, pass
node scripts/check-text-hygiene.mjs <file>, thengh pr create/edit --body-file <file>(releases:--notes-file); never compose multiline--bodyinline. - Never commit generated
.ackit/, SARIF, HTML, prompt pack, context export,dist/,node_modules/, coverage, or temp artifacts.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

