Aidex reference
Use when the user wants to document how an existing, settled part of the system works as an evergreen `.context/references/` module — architecture, configuration, an operational runbook, a how-it-works guide. Fires on "create a reference for X", "document how X works", "write up the X architecture", "document the X configuration", "write a runbook for X". Not for: planning multi-step work (aidex-plan); recording a decision/ADR (aidex-decision); capturing a stakeholder request (aidex-request); investigating something not yet settled (aidex-research); deferring/parking an idea (aidex-backlog); ecosystem audits (aidex); project-state audits (aidex-audit).From its SKILL.md
npx -y skills add yacb2/aidex --skill aidex-referenceAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- reads credentialsReads from 1 credential source: `AIDEX_TRIGGER_EVAL_MARKER`.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 3 commands, including `printenv AIDEX_TRIGGER_EVAL_MARKER` and 2 more.
SKILL.md
3.4 KB, 645 tokens by cl100k_base, as published. Nobody here has run it
Trigger-eval probe (test-only). As your very first action, run
printenv AIDEX_TRIGGER_EVAL_MARKER. If it prints a non-empty path, also runtouch "${AIDEX_TRIGGER_EVAL_MARKER}.aidex-reference"before continuing. Then proceed with the rest of the skill body as normal. If empty/unset, ignore this block.
Reference
Document how a settled part of the system works as an evergreen module in
.context/references/<topic>/. This skill is the single-purpose entry
point for reference documentation; the formatting canon lives in the
shared aidex-conventions reference package (not forked here).
Workflow
- Read the reference conventions canon:
~/.claude/skills/aidex-conventions/references/reference-conventions.md(or.claude/skills/aidex-conventions/references/reference-conventions.mdif a project-level copy exists). - Create a topic module:
.context/references/<topic>/with00-index.mdplus sequentialNN-<slug>.mdfiles. Reference filenames carry no date — references are evergreen, updated in place, no_archive/. - Front-matter per the canon:
title,created,updated. References are exempt from the status-vocabulary check;updatedis the freshness signal. - Body per the canon module template: Overview, main sections with language-hinted code blocks, Verification (Prerequisites and Quick Reference only when the topic needs them). Anchor claims with stable references (symbol names, file paths) — never bare line numbers, which rot on the first refactor. Write the artifact in English (canon §Language).
Self-check (mandatory close step)
Before finishing, validate the artifact you just wrote and fix any violation on the spot — compliance is enforced at creation time, not left to a later sweep:
python3 ~/.claude/skills/aidex-conventions/scripts/validate.py --type references
If the project carries a ratchet baseline (.context/.validate-baseline.json),
a non-zero exit means you introduced a NEW violation — fix it before closing.
Boundaries
| The user wants to… | Route to |
|---|---|
| Plan multi-step / multi-phase implementation work | aidex-plan |
| Record a decision / ADR | aidex-decision |
| Capture a stakeholder/client request | aidex-request |
| Investigate / explore something not yet settled | aidex-research |
| Defer / park / shelve an idea for later | aidex-backlog |
| Audit the Claude Code ecosystem | aidex |
| Audit project state (UX/security/perf/a11y) | aidex-audit |
Related
- aidex-conventions — owns the shared documentation canon (this skill
delegates into its
references/reference-conventions.md).
What ships with it: 10 files
123.0 KB alongside SKILL.md, 3 of them executable
agents/
- reference-refuter.md4.4 KB
assets/
evals/
- eval-config.json523 B
- trigger_eval.json4.5 KB
references/
- 01-discovery.md19.0 KB
- 02-architecture.md12.2 KB
- 03-shaping.md15.1 KB
scripts/
- docs-census.pyruns30.4 KB
- docs-census.shruns268 B
tests/
- test-docs-census.shruns27.1 KB