Note
Silverback continues khasky/awesome-agents-md, now archived. Coming from the awesome-agents-md plugin: uninstall it and install silverback as shown in Install as a plugin.
A ruleset written in the AGENTS.md format, with shared rules for AI coding agents: Claude Code, OpenAI Codex, Gemini, Kimi Code, Cursor, plus optional rule modules in rules/ that load on demand. Clone once, import it globally into every agent you use.
The always-loaded core covers: concise token-efficient communication, a coding discipline that stops at the first rung that holds (smallest correct diff, no speculative abstractions), a hard verification gate before any "done" claim, and a commit-proposal habit with no assistant traces. The procedure for larger work (assumptions, plans, the last pass before "done", debugging) loads from rules/workflow.md when the task calls for it, so the always-loaded part stays under 10 KB. On-demand modules in rules/ extend it — commit messages that inherit the target repo's own convention, backend security, databases, caching, resilience, deployment and infrastructure definitions, payments, and more.
No hard dependencies and nothing tool-specific. The ruleset is framework- and project-agnostic — it holds for any stack and any of the agents listed under Prerequisites, with nothing extra to install.
AGENTS.md # the core ruleset — always loaded, under 200 instruction lines and 32 KiB (CI-enforced)
rules/ # on-demand modules, read only when the task matches; rules/INDEX.md lists
# them with their triggers, and CI fails if a module there is missing
# or a module here is unlisted
README.md # setup and optional tooling (this file)
llms.txt # index of the core and every module for LLM consumption —
# CI keeps it two-way synced with rules/
hooks/ # plugin-hooks.json and the hook scripts: load-core (SessionStart),
# subagent (SubagentStart), guard and guard-files (PreToolUse),
# verify (PostToolUse, Stop), compact (PreCompact); each ships as .sh
# (Claude Code) and .ps1 (Codex on Windows); copilot-hooks.json wires
# the same scripts for Copilot CLI
commands/ # guard.md and rules.md: /silverback:guard and /silverback:rules, which
# the guard-switch hook answers
.claude-plugin/ # plugin.json and marketplace.json for the Claude Code plugin; Codex and
# Copilot CLI read the marketplace too
.codex-plugin/ # plugin.json for the Codex plugin
.github/plugin/ # plugin.json for the Copilot CLI plugin
gemini-extension.json # the Gemini CLI extension: loads AGENTS.md as a context file, no hooks
qwen-extension.json # the same for Qwen Code, plus its hooks
kimi.plugin.json # the Kimi Code plugin: loads AGENTS.md into the system prompt, plus
# its hooks
scripts/ # lint.py — every gate above, run by CI and by the optional
# pre-commit hook that install-hooks.py sets up
evals/ # benchmark/ runs this ruleset and five other plugins on the same
# tasks (Benchmark below); tasks/ holds the trap tasks it scores
The core is self-sufficient. Agents read rules/*.md only when the task matches (editing Markdown, styling UI, a dedicated refactor, ...) and skip them if the clone can't be located — so importing the single AGENTS.md is always enough.
The 200-instruction cap is not cosmetic: frontier models follow roughly 150–200 instructions reliably (measured by IFScale), and the agent's own system prompt already spends ~50 of them. Everything past that budget degrades adherence to the rules that matter. The file also stays under 32 KiB, the default project_doc_max_bytes past which Codex truncates project instructions (with a warning, but the cut part is gone).
One of the agents, installed by its own instructions:
- Claude Code
- Codex
- Gemini CLI
- Qwen Code
- Kimi Code
- GitHub Copilot CLI
- Kilo Code CLI
- Antigravity CLI
- Cursor
- Devin for Windsurf (formerly Windsurf)
- opencode
The plugin loads AGENTS.md into the agent's instructions. Claude Code, Codex, GitHub Copilot CLI, Qwen Code and Kimi Code also get hooks that turn the rules an agent most often breaks into hard checks. Pick the plugin or the manual import, not both: both put the core in context twice.
| Agent | Install | Update | Uninstall |
|---|---|---|---|
| Claude Code | /plugin marketplace add khasky/silverback, then /plugin install silverback@silverback |
/plugin marketplace update silverback, or turn on auto-update under /plugin → Marketplaces |
/plugin uninstall silverback@silverback |
| Codex | codex plugin marketplace add khasky/silverback, then codex plugin add silverback@silverback |
codex plugin marketplace upgrade silverback, then the add again |
codex plugin remove silverback@silverback |
| Gemini CLI | gemini extensions install https://github.com/khasky/silverback (add --auto-update to follow the repository) |
gemini extensions update silverback |
gemini extensions uninstall silverback |
| Qwen Code | qwen extensions install https://github.com/khasky/silverback |
qwen extensions update silverback |
qwen extensions uninstall silverback |
| Kimi Code | /plugins install https://github.com/khasky/silverback/tree/main, then /reload |
Reinstall from the same URL, then /reload |
/plugins remove silverback |
| GitHub Copilot CLI | copilot plugin marketplace add khasky/silverback, then copilot plugin install silverback@silverback |
copilot plugin update silverback |
copilot plugin uninstall silverback |
What the hooks do:
guard(before every shell command) blocks, the way Anthropic'sbash_command_validatorexample does, every command on its rule table: printing the environment (from the shell or an interpreter one-liner such asprint(os.environ)), a secret variable, a secrets file (.env,.netrc, a private key;.env.examplepasses) or a CLI's stored token (gh auth token); a recursive delete of/,~,.or.git; overwriting a disk (dd of=/dev/,mkfs,Format-Volume); discarding uncommitted or stashed work (git reset --hard,git checkout -- .,git restore .,git clean -f,git stash drop); a force push, a deleted remote branch orfilter-repo; a skip of git hooks (--no-verify,commit -n, acore.hooksPathoverride,HUSKY=0);DROP/TRUNCATEorDELETEwithoutWHERE; and a downloaded script piped into a shell. When you do want one of these, run it yourself in a terminal. Agit push, any other recursive delete (rm -r,Remove-Item -Recurse,rmdir /s,find -delete), a history rewrite (commit --amend,rebase,branch -D) and a commit whoseCo-Authored-Bytrailer names an AI agent (by its bot account, signing address or name; a human co-author passes) it hands to you to approve or reject, and so is a command it cannot read.guard-files(before every file edit) hands you the edit of a file that constrains the agent:AGENTS.md,CLAUDE.mdand their kin,.gitignore, agent settings and hooks, git hook and pre-commit configs, CI workflows, and the agent's memory files.verify(after every edit and command, and when the agent ends its turn) sends a turn back once when files were edited after the last command ran: the agent runs the check that exercises the change or says which check did not run and why. A change with nothing to run says so in one line.observelogs the turns it would have sent back to~/.silverback/verify.loginstead.compact(before Claude Code compacts the conversation) asks the summary to keep the task and the user's constraints, the files changed, each check run with its command and result, and what is still open, verbatim where it is a command, path or error.guard-switch(when you send a prompt) handles/silverback:guard:push,delete,historyandfilestakeonoroffand turn the matching prompt on or off;verifytakeson,observeoroff;/silverback:guardalone shows every switch. The hook answers itself without a model turn and keeps the switches in~/.silverback/guard, which the guard does not let the agent touch from the shell. A switched-off call goes through your agent's usual permission settings; the block rules and the co-author prompt stay on. It also handles/silverback:rules:offturns the ruleset off and keeps only the guards,onturns it back on, and/silverback:rulesalone shows the state. With the ruleset off,load-core,subagentandcompactprint nothing, whileguard,guard-filesandverifykeep the settings/silverback:guardgave them. The main session picks up the change at its next start (a new session or/clear), and subagents pick it up at once.subagent(when a subagent starts) gives it the core's Boundaries, Security and Verification sections, which it would otherwise run without.
Codex runs the hooks only after you trust them: the next interactive codex start lists them under "Hooks need review". Codex parses a hook's request to ask the user but does not act on it (codex-cli 0.169), so on Codex every prompt above blocks the call instead, and the reason names the switch that turns it off; the user runs the command or turns the switch off. Codex takes no text from its compaction event, so compact prints nothing there. Gemini CLI gets the core only, without hooks, so /silverback:rules is not available there.
The Copilot, Qwen and Kimi hooks follow each agent's documentation and have not been run in those agents yet:
- GitHub Copilot CLI reads
.github/plugin/plugin.jsonahead of the Claude Code manifest and runshooks/copilot-hooks.json, which loads the core at session start as JSONadditionalContextand wires the guards,subagentandverify. The scripts find the plugin throughPLUGIN_ROOT, the variable Copilot documents for plugin processes, withCLAUDE_PLUGIN_ROOTas the fallback. Copilot drops a prompt hook's output, so/silverback:guardand/silverback:rulesdo not work there; the switches are the lines in~/.silverback/guard(push=off,verify=observe,rules=off). - Qwen Code loads the core through
contextFileNameand runs the guards,guard-switch,subagentandverifyfrom the hooks inqwen-extension.json. The commands callbash, so on Windows Git Bash must be onPATH. Qwen reads the context file itself, so/silverback:rules offstops only the subagent hook there, not the core. - Kimi Code loads the core through
systemPromptPathand runs the guards andverifyfrom the hooks inkimi.plugin.json, throughbashas well. Kimi documents no way for a hook to ask, so as on Codex every prompt above blocks the call, andverifysends a turn back through exit code 2. Kimi loads the core from the manifest, not from a hook, sorules=offdoes not unload it there.
In Kimi Code, /reload applies the plugin to the session. The tree/main URL selects the branch because a plain repository URL selects the latest release first, which may predate this manifest.
Every other agent takes the manual import below. Antigravity CLI installs the repository from a clone (agy plugin install <clone> reads gemini-extension.json), but loads nothing from it: no context file, no hooks. Its own plugin format would read rules/ as always-on rules, so it is not offered. Cursor's plugin format now carries rules and hooks as well, but this repository ships no Cursor manifest yet: it is untested there. Kilo Code's plugins are npm code modules.
Clone the repository once:
git clone https://github.com/khasky/silverback.gitThen add one import line to the agent's global instructions file (create it if it does not exist). The examples assume the clone is at C:\repos\silverback; on macOS or Linux use ~/.claude/... and your own path.
| Agent | File | Line |
|---|---|---|
| Claude Code | %USERPROFILE%\.claude\CLAUDE.md |
@C:/repos/silverback/AGENTS.md |
| Codex | %USERPROFILE%\.codex\AGENTS.md |
@C:/repos/silverback/AGENTS.md |
| Gemini CLI | %USERPROFILE%\.gemini\GEMINI.md |
@C:/repos/silverback/AGENTS.md |
| Qwen Code | %USERPROFILE%\.qwen\QWEN.md |
@C:/repos/silverback/AGENTS.md |
| GitHub Copilot CLI | %USERPROFILE%\.copilot\copilot-instructions.md |
paste the contents of AGENTS.md |
| Antigravity | %USERPROFILE%\.gemini\AGENTS.md |
paste the contents of AGENTS.md |
| opencode | %USERPROFILE%\.config\opencode\opencode.json |
"instructions": ["C:/repos/silverback/AGENTS.md"] |
| Kilo Code CLI | %USERPROFILE%\.config\kilo\kilo.jsonc |
"instructions": ["C:/repos/silverback/AGENTS.md"] |
| Cursor | Settings → Rules → User Rules | paste the contents of AGENTS.md |
| Devin (formerly Windsurf) | %USERPROFILE%\.config\devin\AGENTS.md |
paste the contents of AGENTS.md |
- Claude Code, Gemini CLI and Qwen Code resolve the
@import themselves; Claude Code asks once to approve it. opencode and Kilo Code read the file named ininstructions, so they followgit pulltoo. - Cursor per project: a rule file
silverback.mdcin the project's.cursor/rules/folder that opens withalwaysApply: truefrontmatter and holds the contents ofAGENTS.mdloads in every chat of that project, the same as the User Rules paste. - Copilot CLI expands
@only for files inside its own instructions folder, so it takes the pasted text. Antigravity also reads~/.gemini/GEMINI.md: with the Gemini CLI line in place, skip its row, or the core loads twice. - Gemini CLI no longer serves free accounts since 2026-06-18; on a free account use the Antigravity row instead.
- A pasted copy does not follow
git pull: paste again after an update. - Codex has no import syntax: it reads the
@line as text and follows it. For guaranteed loading, paste the file itself (Codex reads up to 32 KiB of instructions). - Per project instead of globally: copy
AGENTS.mdinto the repository root. Claude Code reads a projectAGENTS.mditself since 2.1.277. For Gemini CLI, add"context": { "fileName": ["GEMINI.md", "AGENTS.md"] }to~/.gemini/settings.json. - The core asks before the agent writes to its own memory. To turn agent memory off instead:
"autoMemoryEnabled": falsein Claude Code'ssettings.json,"memory": { "enableManagedAutoMemory": false }in Qwen Code's, and Copilot Memory off in the GitHub Copilot settings. - Never copy
rules/into.claude/rules/: Claude Code loads every file there at session start, which turns the on-demand modules into always-on tokens. - The import gets no hooks. In Claude Code,
"attribution": { "commit": "", "pr": "" }insettings.jsonstops the default commit trailer. - Update with
git pullin the clone; uninstall by deleting the line.
Nothing loads a module automatically. The core points at rules/INDEX.md, one line per module naming the task that should open it; the agent reads the index when a task leaves the core, then the module whose line matches. The index stays out of the always-loaded core, so a turn that needs no module does not pay for it. Loading is therefore the agent's judgment call, the same as any other instruction it follows. To check that a module was read, ask the agent which rules/ files it opened for the task, or watch for the file read in the tool log.
Each module opens with description and trigger: model_decision frontmatter, the format Antigravity and Devin read for rules that load on demand.
Conflicts resolve in a fixed order: the user's message, then the nearest project AGENTS.md/CLAUDE.md, then this core and the modules it indexes.
In Claude Code, /context shows the core in the session and how many tokens it takes, and /doctor suggests trims. In any agent, prompt "Summarize the instructions you loaded"; to check that the whole file arrived, ask about a rule near its end, such as the Commits section. If a specific rule keeps being ignored, the usual cause is file length: prune before rephrasing.
Claude Code 2.1.289 runs the same seeded tasks with no plugin (baseline), with this ruleset, and with caveman, ponytail, i-have-adhd, superpowers and andrej-karpathy-skills, one plugin per session, the latest model of each tier at --effort low, 5 attempts per task. A script scores what each session leaves behind: trap tasks where the tempting move is the wrong one, source lines written for open requests, words in the final answer, and cost. The runner also has a concise arm (no plugin, the system prompt line "Answer concisely.") that separates what a ruleset adds from a plain request for brevity, and reports input and output tokens and agent turns per cell; neither is in the tables below yet.
Train split, the tasks the ruleset was tuned against:
| baseline | this ruleset | caveman | ponytail | i-have-adhd | superpowers | karpathy-skills | |
|---|---|---|---|---|---|---|---|
| Trap tasks passed, of 40 | |||||||
claude-haiku-4-5 |
12 | 33 | 11 | 11 | 13 | 19 | 14 |
claude-sonnet-5-5 |
28 | 40 | 28 | 35 | 30 | 31 | 28 |
claude-opus-5-5 |
30 | 40 | 27 | 31 | 30 | 30 | 30 |
| Source lines on open requests | |||||||
claude-haiku-4-5 |
105 | 68 | 91 | 68 | 93 | 8† | 108 |
claude-sonnet-5-5 |
130 | 42 | 134 | 46 | 116 | 140 | 122 |
claude-opus-5-5 |
133 | 36 | 142 | 48 | 128 | 121 | 124 |
| Words in the answer | |||||||
claude-haiku-4-5 |
63 | 26 | 28 | 33 | 44 | 72 | 61 |
claude-sonnet-5-5 |
115 | 65 | 91 | 90 | 100 | 134 | 116 |
claude-opus-5-5 |
152 | 64 | 130 | 116 | 135 | 154 | 152 |
| Cost per task | |||||||
claude-haiku-4-5 |
$0.043 | $0.066 | $0.050 | $0.051 | $0.048 | $0.061 | $0.044 |
claude-sonnet-5-5 |
$0.067 | $0.088 | $0.086 | $0.080 | $0.079 | $0.088 | $0.067 |
claude-opus-5-5 |
$0.128 | $0.151 | $0.164 | $0.147 | $0.153 | $0.149 | $0.129 |
Test split, written afterwards and never used to shape the ruleset; brackets are 95% intervals:
| baseline | this ruleset | caveman | ponytail | i-have-adhd | superpowers | karpathy-skills | |
|---|---|---|---|---|---|---|---|
| Trap tasks passed, of 40 | |||||||
claude-haiku-4-5 |
20 [35-65%] | 29 [57-84%] | 23 [42-71%] | 21 [37-67%] | 20 [35-65%] | 22 [40-69%] | 19 [33-63%] |
claude-sonnet-5-5 |
23 [42-71%] | 37 [80-97%] | 24 [45-74%] | 27 [52-80%] | 28 [55-82%] | 26 [50-78%] | 21 [37-67%] |
claude-opus-5-5 |
35 [74-95%] | 40 [91-100%] | 38 [83-99%] | 38 [83-99%] | 37 [80-97%] | 33 [68-91%] | 36 [77-96%] |
| Source lines on open requests | |||||||
claude-haiku-4-5 |
55 | 35 | 53 | 29 | 49 | 20† | 52 |
claude-sonnet-5-5 |
47 | 27 | 47 | 28 | 49 | 51 | 48 |
claude-opus-5-5 |
49 | 20 | 62 | 28 | 50 | 48 | 48 |
| Words in the answer | |||||||
claude-haiku-4-5 |
48 | 20 | 22 | 24 | 26 | 53 | 47 |
claude-sonnet-5-5 |
77 | 48 | 50 | 75 | 63 | 87 | 75 |
claude-opus-5-5 |
100 | 57 | 80 | 82 | 97 | 101 | 102 |
| Cost per task | |||||||
claude-haiku-4-5 |
$0.035 | $0.047 | $0.039 | $0.040 | $0.040 | $0.049 | $0.035 |
claude-sonnet-5-5 |
$0.052 | $0.071 | $0.068 | $0.064 | $0.062 | $0.065 | $0.051 |
claude-opus-5-5 |
$0.095 | $0.130 | $0.131 | $0.116 | $0.117 | $0.114 | $0.097 |
† superpowers on claude-haiku-4-5 stopped to ask clarifying questions on most open requests (20 of 25 sessions wrote no code), so its line count is not comparable and is not ranked.
Reproduce (run results stay outside the checkout):
python evals/benchmark/run.py --selftest # every scorer tells good from bad, no agent
python evals/benchmark/run.py --split test --repeats 5 --model claude-sonnet-5-5 --effort low --budget 30
python evals/benchmark/run.py --summary <run directory> # totals with 95% intervals--agent codex --model <id> runs the trap tasks on Codex instead, with the baseline and silverback arms, each in its own scratch CODEX_HOME so no installed plugin leaks in; --agent qwen --model <id> does the same on Qwen Code, with a scratch home that holds only the Qwen login (written from Qwen's documentation, not yet run). The test split also holds tasks the tables above predate: two that fail an agent for asking instead of doing (no_branch_question, asked_delete), one that checks the agent opens the right module (module_routing), and one with the trap in the third turn of a session (late_trap). --discrimination flags a trap the baseline alone passes 90% of the time on every model: it measures nothing the ruleset adds and is a candidate to retire.
Companion repositories, each a separate layer; pick the ones you need:
- Silverback — this repo: the base, tool-agnostic ruleset every agent imports (one
AGENTS.md). Start here; the layers below are optional on top. - Awesome Agent Skills — portable
SKILL.mdskills every agent loads: code review, debugging, security and leak audits, code and text cleanup. - Agent MCP Integrations — MCP servers that connect agents to browsers, cloud, databases, infra, and domain APIs.
- Claude Code Token Optimization — the token-efficiency layer (LSP,
codebase-memory-mcp, ast-grep, Context7, Caveman, Ponytail). - Claude Code Security Audit — the layered security-audit workflow (deep audit, continuous guardrails, scanners).
A rule or a skill? A rule is a standing constraint the agent honors without being asked; a skill is a procedure you invoke, with phases and an output contract. The two layers overlap: rules/code-review.md here sets the bar every review must meet, and the awesome-code-review skill runs the review and produces the report. Install both — rules keep everyday work in line, skills handle the jobs you name.
A rule earns its line only if an agent would get it wrong without it, and the core AGENTS.md stays under 200 instruction lines and 32 KiB — see CONTRIBUTING.md for the format of a new rules/ module and the checks CI runs.
Where the rules were distilled from, per file.
AGENTS.md: the coding ladder, the root-cause fix and the output cap adapted from DietrichGebert/ponytail (MIT); the compression mechanics, also inrules/workflow.md, from JuliusBrussee/caveman (MIT); non-interactive commands from a shell template widely copied across public AGENTS.md files; the proving command copied from CI from wxMaxima-developers/wxmaxima; scripted arithmetic from Anthropic's skill-authoring best practices.rules/api-contracts.md: Distilled from khasky/backend-architecture-playbook and khasky/frontend-architecture-playbook; deterministic generator output from JuliusBrussee/caveman.rules/backend-security.md: Distilled in own words from goldbergyoni/nodebestpractices (CC BY-SA 4.0), jesusprubio/strong-node (archived), ryanmcdermott/clean-code-javascript and airbnb/javascript; auth, caching, error-envelope, and runtime additions from the khasky/*-playbook suite; shipped-client rules from OWASP MASVS.rules/caching.md: Distilled from the Azure Cache-Aside pattern, Redis's own anti-patterns guidance (redis.io/learn/howtos/antipatterns), and production Redis practice; cache layers and per-family metrics from khasky/caching-playbook.rules/ci-cd-security.md: Distilled from TupleType/awesome-cicd-attacks (poisoned pipeline execution, dependency confusion, runner compromise), GitHub's hardening guide for Actions, zizmor/actionlint rule sets, and Trail of Bits' research on auditing AI-agent workflows in CI.rules/code-review.md: Style left to tooling follows Google's engineering practices; self-refuting findings follow khasky/ai-assisted-engineering-playbook; deterministic checks before model review from chrille0313/agentic-monorepo-template and PrimeIntellect-ai/verifiers; paired-operation checks from the quality-playbook agent in github/awesome-copilot (MIT).rules/crypto.md: Distilled from sobolevn/awesome-cryptography, paragonie/awesome-appsec, the OWASP Password Storage and Cryptographic Storage cheat sheets, and libsodium's design guidance; the bcrypt input limit from Okta's 2024 cache-key advisory.rules/database.md: Distilled from the Twelve-Factor App (config, backing services), Prisma and Drizzle docs, use-the-index-luke.com, the expand/contract migration pattern, GitHub's replication-lag throttling practice (freno), the sqlcheck SQL anti-pattern catalog (jarulraj), and Azure's SaaS tenancy pattern matrix; cross-checked against production reference implementations; query plans on representative data from the neon-optimization-analyzer and mongodb-performance-advisor agents in github/awesome-copilot (MIT).rules/debugging.md: The reload check is distilled from khasky/sysadmin-operations-playbook; searching history for earlier fixes from the monday-bug-fixer agent in github/awesome-copilot (MIT).rules/dependencies.md: Distilled from TupleType/awesome-cicd-attacks (dependency confusion, typosquatting), lirantal/awesome-nodejs-security, npm/PyPI provenance documentation, and trickest/cve automation practice; lockfile conflicts from the npm package-lock documentation; update grouping from Renovate's group presets.rules/deployment.md: Distilled from continuous-delivery practice (deploy/release separation, progressive delivery), the expand/contract pattern, and feature-flag lifecycle guidance; cross-checked against production reference implementations; upstream-first backports from the Linux kernel, systemd and OpenStack stable-branch policies; infrastructure state from Terraform's state and backend documentation.rules/design-patterns.md: Distilled from python-patterns.guide (Brandon Rhodes), rust-unofficial/patterns, refactoring.guru, Martin Fowler's P of EAA and GUI Architectures, faif/python-patterns, and Game Programming Patterns (Nystrom); coupling kinds from Myers and Constantine's structured design; acyclic dependencies from Robert C. Martin; ports and adapters from Alistair Cockburn.rules/evidence-gates.md: Distilled from the artifact-contract gate in MaxMiksa/Auto-Company (run-identity binding, placeholder rejection, derived-flag recomputation) and from provenance practice for build attestations; hooks over prose from Claude Code's best practices.rules/frontend-design.md: Distilled from vercel-labs/web-interface-guidelines, nextlevelbuilder/ui-ux-pro-max-skill, anthropics/skills frontend-design, Anthropic's Opus 5.5 prompting guide (frontend design defaults), and khasky/marketing-and-seo-playbook (permission prompts, layout reservation); automated accessibility coverage from Deque's axe coverage study.rules/git-hooks.md: Distilled from the husky and lint-staged docs and pre-commit-hook practice; cross-checked against production reference implementations.rules/i18n.md: Distilled from ICU MessageFormat guidance, CLDR plural rules, and i18n review practice.rules/incident-response.md: Distilled from meirwah/awesome-incident-response, OTRF/ThreatHunter-Playbook (hypothesis-driven hunts), Cugu/awesome-forensics (evidence preservation), and Google SRE incident practice.rules/jobs.md: Distilled from Google SRE (distributed periodic scheduling), job-runner practice, and the idempotent-rerun pattern; cross-checked against production reference implementations.rules/llm-agents.md: Distilled from OWASP LLM01:2025 (prompt injection), Meta's "Agents Rule of Two", the SoK on the prompt-injection landscape and "The Attacker Moves Second" (adaptive breaks of 12 published defenses), MCP tool-poisoning research, and the Snyk agent-scan issue taxonomy (tool shadowing, toxic flows, hidden-Unicode payloads), and Anthropic's Opus 5.5 prompting guide (pasted-text marking, effort, reasoning blocks, time signals); remote tool servers from the MCP specification; one tool per capability from Anthropic's tool-writing guidance; sandboxing untrusted targets from khasky/claude-code-security-audit.rules/long-running-agents.md: Distilled from the loop engine of MaxMiksa/Auto-Company (state validation, soft timeout, quota-vs-error branching, self-mutation guard), standard supervisor practice for restart backoff and log rotation, and Anthropic's Opus 5.5 prompting guide (text-only turn ends, continuation caps, named early stops).rules/markdown.md: Checking generated documentation against the repository from the project-documenter and se-technical-writer agents in github/awesome-copilot (MIT).rules/messaging.md: Distilled from Enterprise Integration Patterns (Hohpe & Woolf), microservices.io (Transactional Outbox, Idempotent Consumer), Stripe's webhook/signing docs, and at-least-once delivery practice; cross-checked against production reference implementations; consumer error classification from khasky/messaging-and-async-playbook.rules/monorepo.md: Distilled from khasky/monorepo-architecture-playbook; phantom dependencies from the pnpm and Rush documentation.rules/observability.md: Distilled from the Twelve-Factor App, Google SRE (health checking, graceful degradation), OpenTelemetry, and the RED method (Tom Wilkie); cross-checked against production reference implementations; runbook links from the Google SRE Workbook.rules/payments.md: Distilled from Stripe's official integration guides (webhook signature verification, idempotency, fulfillment) and PCI-DSS handling basics; cross-checked against production reference implementations.rules/pr-descriptions.md: Moved out ofrules/code-review.md; the same sources as its review-request part.rules/performance.md: Pool saturation is distilled from khasky/nodejs-runtime-performance-playbook; same-lockfile comparisons from MxIris-Reverse-Engineering/MachOSwiftSection; identical output as half of the proof from the mongodb-performance-advisor agent in github/awesome-copilot (MIT).rules/planning.md: Distilled from the plan-mode instructions in a public collection of Codex system prompts, and from spec-handoff practice; decision records from Michael Nygard's ADR format; marked requirements with acceptance checks from the specification agent in github/awesome-copilot (MIT).rules/privacy.md: Distilled from GDPR/CCPA engineering practice: deletion propagation, retention enforcement, data mapping; consent from the ePrivacy Directive, the Planet49 ruling and EDPB guidance; session-replay masking from vendor privacy documentation.rules/public-api-design.md: Distilled from Stripe's API design, Google AIP, RFC 9457 (Problem Details), RFC 8594 (Sunset), RFC 7232 (conditional requests), RFC 9111 (HTTP caching), and the IETF RateLimit-header draft; cross-checked against production reference implementations; long-running operations from the Microsoft REST API Guidelines; header naming from RFC 6648.rules/rate-limiting.md: Distilled from Stripe's rate-limiter taxonomy, the standard limiter algorithms, and multi-instance counter practice; cross-checked against production reference implementations.rules/refactoring.md: The repeated-edit threshold and dry-run-first rewrites are distilled from robotocore/robotocore; proving code unused and inventorying behavior outside the repository from the janitor and modernization agents in github/awesome-copilot (MIT).rules/resilience.md: Distilled from the Azure Architecture Center cloud design patterns, microservices.io (Chris Richardson), Reactive Design Patterns (Kuhn), Enterprise Integration Patterns (Hohpe/Woolf), and Mark Richards' "Microservices Antipatterns and Pitfalls".rules/shell-scripts.md: Distilled from the classic Stack Overflow shell best-practices thread (question 78497), the ShellCheck wiki, and PowerShell strict-mode guidance; non-interactive flags from the same AGENTS.md shell template as the core.rules/testing.md: Distilled from khasky/testing-strategy-playbook and khasky/backend-architecture-playbook; load-testing practice from Slack engineering's continuous load testing; characterization tests from Michael Feathers.rules/web-seo.md: Distilled from AgriciDaniel/claude-seo, nowork-studio/NotFair, coreyhaines31/marketingskills, seb1n seo-optimization; corrected against current guidance (INP replaced FID in 2024; keyword-density advice dropped as dated). hreflang, redirect, and interstitial rules from khasky/marketing-and-seo-playbook; robots.txt, noindex and faceted navigation from Google Search Central documentation.rules/workflow.md: Removing temporary resources from the neon-optimization-analyzer agent and the coverage denominator from the modernization agent, both in github/awesome-copilot (MIT).
Released under the MIT license. Third-party material is credited under Sources.
