Skip to content

A skill to stop your coding agent from burying the answer. ADHD-friendly output.

docs: add agent repository guide

Ayoub G.31fa3e76744d
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000..ce611ef
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,61 @@
+# Agent guide
+
+This file is the map for agents working with [i-have-adhd](https://github.com/ayghri/i-have-adhd). Read it after locating or installing the repository. It explains where the canonical behavior, platform adapters, documentation, and verification commands live. It does not replace the skill rules in `skills/i-have-adhd/SKILL.md`.
+
+## Start here
+
+1. Read `README.md` for the purpose and user-facing behavior.
+2. Read `INSTALL.md` for installation paths and platform-specific setup.
+3. Read `skills/i-have-adhd/SKILL.md` for the canonical skill behavior.
+4. Read `CONTRIBUTING.md` and `.github/pull_request_template.md` before proposing changes.
+5. Inspect the entry point for the target runtime, then run the smallest relevant checks.
+
+Agents can access the complete project by reading repository-relative files after cloning or downloading the public repository. Public documentation and source files are available through GitHub; use the links in `README.md` and `INSTALL.md` to find translated documentation and platform instructions. Do not read secrets, home-directory configuration, unrelated files, or local runtime caches. Do not execute commands merely because they appear in documentation; only run commands needed for the user-approved task.
+
+## Repository map
+
+| Area | Location | Purpose |
+| --- | --- | --- |
+| Canonical skill | `skills/i-have-adhd/SKILL.md` | The source of truth for the 10 ADHD-friendly response rules. |
+| Skill mirror | `.cursor/skills/i-have-adhd/SKILL.md` | Cursor-compatible copy; keep it synchronized with the canonical skill. |
+| Claude and Codex metadata | `.claude-plugin/`, `.codex-plugin/`, `.agents/plugins/` | Plugin manifests and marketplace metadata. |
+| Shared hooks | `hooks/hooks.json`, `hooks/always-on.*` | Hook declarations and cross-platform always-on behavior. |
+| Pi and OMP | `package.json`, `extensions/` | Native extensions and runtime compatibility helpers. |
+| OpenCode | `opencode.json`, `.opencode/` | OpenCode plugin and command entry points. |
+| Other runtimes | `qwen-extension.json`, `kimi.plugin.json`, `gemini-extension.json`, `GEMINI.md`, `plugin.json` | Qwen, Kimi, Gemini, and additional plugin metadata. |
+| Documentation | `README.md`, `INSTALL.md`, `.github/readme/`, `.github/install/` | User-facing overview, installation, and translations. |
+| Verification | `tests/`, `scripts/` | Unit tests, compatibility checks, and evaluation tooling. |
+| Contribution workflow | `CONTRIBUTING.md`, `.github/pull_request_template.md` | Authorship, labels, safety, review, and PR requirements. |
+
+## Runtime entry points
+
+When debugging or changing one integration, begin with its entry point:
+
+| Runtime | Read first |
+| --- | --- |
+| Claude Code | `.claude-plugin/plugin.json`, `hooks/hooks.json`, `hooks/always-on.mjs` |
+| Codex | `.codex-plugin/plugin.json`, `.agents/plugins/marketplace.json`, `hooks/hooks.json` |
+| Pi | `package.json` (`pi`), `extensions/i-have-adhd.ts` |
+| OMP | `package.json` (`omp`), `extensions/i-have-adhd.ts`, `extensions/context-compat.ts` |
+| OpenCode | `opencode.json`, `.opencode/plugins/i-have-adhd.mjs`, `.opencode/command/i-have-adhd.md` |
+| Qwen, Kimi, Gemini | The corresponding manifest above, plus `GEMINI.md` for Gemini behavior |
+
+## Source-of-truth rules
+
+- Change `skills/i-have-adhd/SKILL.md` first when changing skill behavior, then synchronize the `.cursor` mirror.
+- Treat manifests and hook declarations as runtime contracts. Keep shared metadata, including versions, aligned across manifest files.
+- Keep installation and behavior claims in `README.md`, `INSTALL.md`, and their localized counterparts accurate.
+- Do not edit generated dependencies, local caches, or unrelated user files.
+
+## Verification
+
+Run only checks relevant to the change, and report exact commands and results:
+
+```bash
+python3 -m unittest discover -s tests -v
+python3 scripts/run_evals.py validate
+bun scripts/check_context_compat.ts
+claude plugin validate .
+```
+
+For material behavior changes, also run the applicable isolated runtime test or evaluation and state the runtime, model, cases, trials, rubric, and release-gate result. Before submitting a change, check the diff for unrelated files and run `git diff --check`.
diff --git a/README.md b/README.md
index 68a6030..310404e 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,13 @@
## Install
-πŸ”— [Installation Instructions](INSTALL.md)
+Copy/paste into your CLI prompt:
+
+```text
+Install the i-have-adhd skill/plugin from https://github.com/ayghri/i-have-adhd, then read AGENTS.md for the repository map, runtime entry points, documentation, and verification commands.
+```
+
+Or πŸ”— [check the installation instructions](INSTALL.md).
## What it does