Are you the author? Sign in to claim
Dyslexia-friendly output from any AI coding agent. One rules file for Claude Code, Cursor, Codex, Gemini CLI, Windsurf a
Dyslexia-friendly output from any AI coding agent. One file. Any harness.
A dyslexia port of i-have-adhd by Ayoub G. (@ayghri). Same idea, different reader. Dyslexia is a decoding difference, not an attention one. So these rules shape structure, never substance. Full credit in Credits.
Never simplify content. Only change how it is structured and presented.
Before
The issue you're seeing is most likely related to the way tokens are validated in the middleware layer, specifically in the verifyToken function in src/auth.ts around lines 42 to 58, which appears to be using an outdated version of the jsonwebtoken API, so I'd recommend updating the package to the latest version and then rewriting the function to match the new API, after which you should run the auth tests to confirm nothing else breaks.
After
Token validation is the bug. The fix is 3 steps.
- Update the package:
npm install jsonwebtoken@latest- Rewrite
verifyTokeninsrc/auth.ts:42-58- Run the tests:
npm test -- auth.spec.tsCause:
verifyTokenuses the oldjsonwebtokenAPI. v9 changed the signature.Next: run step 1 now.
Same facts. Different shape. Try the interactive toggle: demo.html (open in a browser, or serve with GitHub Pages).
10 rules. Full text in i-have-dyslexia.md.
Plus dyslexia fit: say "dyslexia fit" to your agent and it interviews you — 7 questions, bold defaults — then writes a ## My profile block that overrides any rule. The interview script lives inside the rules file, so every harness below gets it for free.
Plus share mode: say "share this" and the last answer becomes a self-contained HTML page — inline CSS, expandable detail sections, readable defaults. Send it to anyone.
Plus glossary keeper: the agent decodes each technical term once, records it in .dyslexia-glossary.json, and never makes you decode it twice. Say "glossary" to review your terms.
Plus escape hatch: say "explain it" and the agent drops brevity for the current topic — full depth, structure kept. Say "back to normal" to return.
Plus presets: switch output mode mid-session — "compact" for narrow terminals, "classroom" for learning, "presentation" for sharing. Say "default" to switch back.
One command. Detects your harness. Installs the full rules locally. Adds a managed instruction that points to them:
curl -sSL https://raw.githubusercontent.com/mdeloughry/i-have-dyslexia/main/install.sh | sh
Or pick your harness by hand. The rules live in one file: i-have-dyslexia.md.
| Harness | Where the rules go |
|---|---|
| Claude Code | Plugin: claude plugin marketplace add ./i-have-dyslexia && claude plugin install i-have-dyslexia@i-have-dyslexia |
| AGENTS.md tools (Codex, Cursor, Jules, Aider, ...) | Full rules in .i-have-dyslexia.md; managed pointer in AGENTS.md |
| Cursor rules | Copy to .cursor/rules/i-have-dyslexia.md |
| Gemini CLI | Paste into GEMINI.md |
| Windsurf | Copy to .windsurf/rules/i-have-dyslexia.md |
| Command Code | Paste into ~/.commandcode/AGENTS.md |
Step-by-step per harness: INSTALL.md
The rules fix what the agent writes. DISPLAY.md fixes how your screen shows it — fonts, spacing, contrast, terminal and editor settings.
Easy way: load the rules, then say "dyslexia fit". The agent asks 7 questions and writes your profile for you.
Manual way: create i-have-dyslexia.profile.md beside the rules. Start with i-have-dyslexia.profile.example.md. Keeping preferences separate means future rule updates cannot overwrite them.
## My profile
- Mixed dyslexia profile.
- For reports: give me interactive HTML with expandable sections, not dense prose.
- Prefer diagrams over text explanations.
MIT.
A RedwoodJS optimized .cursorrules file
A practical approach to managing multiple AI agents in Cursor through strict file-tree partitioning and domain boundarie
An opinionated, AI-native development workflow for Java Enterprise — reusable Skills, Agents, Commands, and MCP servers
A scaffold demonstrating how to use a turbo, mono repo, trpc, better auth, react, postgres and cursor ai rules.