How the i-have-adhd Skill's Error Handling Rule 8 Differs from Standard Response Formatting
Rule 8 mandates a matter-of-fact tone that strips away apologetic filler and emotional cues, delivering concise, actionable error messages that state the cause and fix directly.
The i-have-adhd skill, hosted in the ayghri/i-have-adhd repository, defines a strict communication framework designed to reduce cognitive overhead for users with ADHD. While conventional AI assistants rely on empathetic padding to soften bad news, the skill's error handling rule 8 requires a clinical, structured approach that prioritizes clarity over comfort. This distinction fundamentally changes how runtime failures are communicated to the end user.
What Standard Response Formatting Looks Like
Traditional conversational agents follow a social-emotional protocol when reporting failures. This approach treats errors as interpersonal moments requiring apology and reassurance.
Standard formatting typically includes:
- Apologetic preambles such as "Sorry," "Oops," or "My apologies"
- Vague descriptions like "There seems to be an issue" or "Something went wrong"
- Emotional interjections including "Uh-oh," "Oh no," or "Yikes"
These elements increase cognitive load by forcing the reader to parse social niceties before extracting technical substance.
Rule 8's Matter-of-Fact Protocol
According to the source code in skills/i-have-adhd/SKILL.md at line 98, Rule 8 explicitly forbids expressive interjections. Instead, the rule enforces a three-part factual structure:
- Identify the exact failure point (file path, line number, or error code)
- Explain the root cause in plain, unembellished terms
- Provide the corrective action the user can immediately execute
This method aligns with the skill's overarching goal of reducing distraction by eliminating unnecessary filler.
Practical Comparison: Code Examples
The difference becomes clear when comparing responses to identical failure scenarios.
Test Failure Scenario
Standard (Empathetic) Response:
Uh oh, the test is failing. There seems to be an issue with the authentication.
Rule 8-Compliant Response:
Test fails at `auth.spec.ts:42`: expected 200, got 401. Cause: missing auth header. Fix: add `Authorization: Bearer ${token}` to the request.
The Rule 8 version, as documented at line 100 of SKILL.md, delivers the exact file location (auth.spec.ts:42), the specific mismatch (expected 200, got 401), and the precise header syntax required for resolution.
Missing Environment Variable
Standard Response:
Sorry, I can't find the API key. There might be a problem with your setup.
Rule 8 Response:
`API_KEY` is undefined in the environment. Fix: set `API_KEY` in `.env` or export it before running the program.
Database Connection Error
Standard Response:
Oh no, we can't connect to the database right now. Please try again later.
Rule 8 Response:
Connection to PostgreSQL on `localhost:5432` failed: timeout after 10s. Fix: ensure the database server is running and reachable, or increase the timeout setting.
Implementation Architecture
The rule set is registered through plugin.json, which enables the Instagit platform to apply these formatting constraints to runtime responses. The full specification resides in skills/i-have-adhd/SKILL.md, while README.md provides the high-level repository overview and entry point for developers integrating the skill.
Summary
- Rule 8 requires matter-of-fact error handling that eliminates apologetic or emotional language.
- Standard formatting uses empathetic padding ("Sorry," "Oops") that increases cognitive load.
- Rule 8 messages follow a three-part structure: failure point identification, root cause explanation, and corrective action.
- This approach is defined in
skills/i-have-adhd/SKILL.mdand registered viaplugin.jsonin theayghri/i-have-adhdrepository.
Frequently Asked Questions
Why does Rule 8 prohibit apologetic language in error messages?
Apologetic phrases and emotional cues force users to process social context before extracting technical information. For individuals with ADHD, this additional parsing step creates unnecessary cognitive friction. Rule 8 eliminates this overhead by delivering raw, actionable data immediately.
Where is Rule 8 defined in the i-have-adhd repository?
Rule 8 is formally defined in skills/i-have-adhd/SKILL.md at line 98, with concrete examples provided at line 100. The skill itself is registered in the Instagit platform through the plugin.json file at the repository root.
How does matter-of-fact error handling improve debugging speed?
By stating the exact failure location (file and line number), the specific cause (e.g., "missing auth header"), and the precise fix (e.g., exact syntax for headers), Rule 8 removes ambiguity. Users spend zero seconds interpreting tone and can immediately execute the corrective action.
Can Rule 8 be applied to other conversational AI systems?
Yes. While the ayghri/i-have-adhd repository implements this via the Instagit skill framework, the formatting principle—replacing vague empathy with structured, factual reporting—is system-agnostic and can be enforced in any prompt engineering or response templating layer.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →