agentsclimarketplace

Aidex conventions

Skill yacb2/aidex/skills/aidex-conventions

Developer experience toolkit for organizing AI coding assistant ecosystems — skills, documentation structure, and project context.

Install
npx -y skills add yacb2/aidex --skill aidex-conventions

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 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.

What its author says it does

Copied from the file, not written here

NOT auto-invoked. Shared documentation-canon hub for the aidex-* family — holds the .context/ convention references (references/*.md) that the single-purpose sibling skills delegate into. Routing — plan multi-step work → aidex-plan; record a decision/ADR → aidex-decision; capture a stakeholder/client request → aidex-request; investigate/research how something works → aidex-research; document a settled system reference → aidex-reference; defer/park an idea for later → aidex-backlog; capture/draft a communication received or to send → aidex-comm; check a skill against house conventions → aidex-skill. This skill is the canon home, not an entry point; the siblings are the entry points.

SKILL.md

17.0 KB, 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 run touch "${AIDEX_TRIGGER_EVAL_MARKER}.aidex-conventions" before continuing. Then proceed with the rest of the skill body as normal. If empty/unset, ignore this block.

Documentation Standards

Canon hub — NOT model-invoked (disable-model-invocation: true). This skill is no longer an entry point. It exists to own and host the shared .context/ convention canon in references/*.md, which the single-purpose sibling skills read and delegate into. To actually create an artifact, the matching sibling fires: planning → aidex-plan, decisions → aidex-decision, requests → aidex-request, research → aidex-research, references → aidex-reference, skill-conventions checks → aidex-skill. Everything below is the canon index, not an active workflow.

Standards for consistent documentation structure in Claude Code projects.

Overview

This skill defines conventions for thirteen documentation types:

TypePurposeStructure
ReferencesProject-specific guides (deployment, architecture)Numbered files (00-index.md, 01-topic.md)
DocsLibrary/dependency documentationSame as references
SkillsClaude capability extensionsSKILL.md + references/, <500 lines, tested triggers, gotchas, behavioral evals via skill-creator
PlansMulti-session implementation trackingPhases with checkboxes
RequestsIncoming tasks and product requirementsSingle dated file
DecisionsArchitecture/product decision recordsSingle dated file with context, options, outcome
BacklogDeferred/parked ideas queued for laterSingle dated file (YYYY-MM-DD-<slug>.md)
ResearchInvestigation/spike notes captured before planningNumbered files in a dated topic folder
AuditsState-of-project catalogs with inventory + dated runs<methodology>/ with 00-inventory.md + 00-methodology.md + 00-changelog.md + YYYY-MM-DD-<slug>/ runs
CommunicationsLog of emails/messages/calls/meetings received, sent, or held{received,sent,meetings}/<YYYY-MM-DD>-<slug>/body.md (native language)
LoopsAgentic loop-specs (goal + stop condition + engine)Single dated file, via aidex-loop
WorktreesPer-project worktree/isolation procedureEvergreen worktrees/00-index.md, via aidex-worktree
CLAUDE.mdProject context for ClaudeConcise knowledge base

Quick Reference

TypeConventions
Global rules (all types)00-global.md
Reference modulereference-conventions.md
Skillskill-conventions.md
Skill trigger evalsskill-trigger-eval-methodology.md
Implementation planplan-conventions.md
Request / Decisionrequest-decision-conventions.md
Auditaudit-conventions.md
Communicationcommunication-conventions.md
Autonomy (proceed vs. pause)autonomy-conventions.md
Worktrees & isolation (parallel work)worktree-conventions.md
Worklist (run-queue)worklist-conventions.md
Workflow CORE (single-sourced blocks)workflow-core.md
Library docsUses reference conventions
CLAUDE.mdclaudemd-conventions.md

Migrating an existing .context/ to the unified canon

For projects that pre-date these conventions (mixed YYYYMMDD- / YYYY-MM-DD- filenames, missing front-matter, legacy status terms like completed/Rejected), run the migration helper:

# Dry-run (default) — prints every change without writing:
~/.aidex/skills/aidex-conventions/scripts/migrate-conventions.sh /path/to/project/.context

# Apply when satisfied:
~/.aidex/skills/aidex-conventions/scripts/migrate-conventions.sh /path/to/project/.context --apply

What it does (idempotent — re-running on a clean tree is a no-op):

  • Renames legacy YYYYMMDD-<slug>.mdYYYY-MM-DD-<slug>.md. Sanitizes slugs (lowercase, [a-z0-9-]+). Prepends a date to files with none, using created/date/updated front-matter or today.
  • Injects minimal front-matter (title, status, created, updated) where the YAML block is missing. Archived files default to status: done.
  • Maps legacy status vocabulary: completeddone, Rejecteddropped, Proposedopen, Pendienteopen, In Progressdoing.
  • Rewrites cross-references (front-matter fields + body) to renamed basenames.
  • Creates _archive/ directories in backlog/, plans/, requests/, decisions/ if absent.

Recommended workflow:

  1. Back up the project's .context/ before applying (a cp -r or commit if tracked).
  2. Run --dry-run and read the plan — pay attention to the front-matter changes and the cross-ref rewrites.
  3. Apply with --apply.
  4. Re-run the validator: ~/.aidex/skills/aidex-conventions/scripts/validate.sh /path/to/project/.context. Expect 0 violations.

Edge cases the migration cannot decide for you:

  • Custom legacy status values not in the table above — fix manually after dry-run.
  • Audit folders that pre-date D-02 (single INVENTORY.md at root rather than per-methodology). The migration only normalizes filenames and front-matter; it does not restructure audit folders — do that by hand using the new templates in aidex-audit/assets/templates/.

Backfilling the plans/audits roll-up index

.context/plans/00-index.md and .context/audits/00-index.md are auto-generated state roll-ups (the analogue of backlog/00-index.md). New work keeps them fresh automatically (created on plan/audit creation, regenerated on close). For projects that pre-date the feature, generate them once:

# Current project only:
~/.aidex/skills/aidex-conventions/scripts/backfill-indexes.sh

# Every project under a root (creates only MISSING indexes; skips hand-made ones):
~/.aidex/skills/aidex-conventions/scripts/backfill-indexes.sh --all ~/Documents/projects --dry-run
~/.aidex/skills/aidex-conventions/scripts/backfill-indexes.sh --all ~/Documents/projects
  • Safe by default: a hand-made 00-index.md (no Auto-generated by marker) is skipped, not clobbered. Back it up and pass --force to convert it, or --refresh to regenerate already-auto-generated ones.
  • Plans with no status: front-matter surface under an ## Untracked section rather than vanishing — run migrate-conventions.sh first to inject front-matter and they become tracked.

Core Principles

Progressive Disclosure

  1. Index/overview first - Always visible, provides navigation
  2. Detailed modules - Loaded as needed
  3. Cross-references - Enable discovery without bloating context

Metadata Headers

All documents include consistent metadata:

**Version:** X.Y.Z
**Last Updated:** YYYY-MM-DD
**Context:** Brief description

Cross-References

Use relative markdown links with anchors:

[Description](./NN-filename.md#section-anchor)

Language

Language is scoped by artifact kind (see 00-global.md §4):

  • Knowledge artifacts → English (always): plans, decisions, requests, research, references, docs, audits, backlog, loops, CLAUDE.md, and skill prose. This keeps cross-project uniformity and skill matching predictable.
  • Communications → the language of the communication: communications/ bodies follow the interlocutor's language (never translate a Spanish client email to English). Front-matter keys stay English; values are as-is. See communication-conventions.md.
  • Code + code comments → English (unchanged).

Skill descriptions stay English-only regardless (D-11). The assistant continues to reply in the user's spoken language; only the written artifacts above are constrained.

Canonical File Locations

TypeLocationNaming
Global skills~/.claude/skills/<name>/kebab-case
Project skills.claude/skills/<name>/kebab-case
Shared skills (aidex)~/.aidex/skills/<name>/kebab-case
Plans.context/plans/YYYY-MM-DD-<feature>.md or YYYY-MM-DD-<feature>/
Issues.context/issues/ISSUE-NNN-description.md + 00-index.md
Roadmap.context/roadmap/README.md + NN-phase-name.md
Requests.context/requests/YYYY-MM-DD-description.md + _archive/
Decisions.context/decisions/YYYY-MM-DD-description.md + _archive/
Backlog.context/backlog/YYYY-MM-DD-<slug>.md + _archive/
Research.context/research/<topic>/ with numbered files (00-index.md, 01-*.md)
Audits.context/audits/<methodology>/ with 00-inventory.md + 00-methodology.md + 00-changelog.md + YYYY-MM-DD-<slug>/
Communications.context/communications/{received,sent,meetings}/<YYYY-MM-DD>-<slug>/body.md
Global references~/.context/references/<topic>/Numbered (00-index.md, 01-*.md)
Project references.context/references/<topic>/Numbered
Library docs.context/docs/<library>/Numbered
Global CLAUDE.md~/.claude/CLAUDE.md-
Project CLAUDE.md.claude/CLAUDE.md-

Resolution: Project-level skills override global skills of the same name. When updating a skill, verify its location first.

When to Use Each Type

References

Project-specific multi-step guides: deployment procedures, architecture documentation, setup/configuration guides, operational runbooks.

Characteristics: Numbered files, sequential or modular organization, verification steps.

Docs

Library or dependency documentation: API reference, integration guides, framework-specific patterns.

Characteristics: Same as references, focused on external tools.

Skills

Claude capability extensions: domain expertise, workflow automation, tool integrations.

Characteristics: SKILL.md entry point, references/ for details, <500 lines, negative triggers in description, testing & validation guidance.

Plans

Complex multi-session work: feature implementations, large refactoring projects, migration tasks.

Characteristics: Checkboxes for tracking, phases, exact file paths.

CLAUDE.md

Project context: tech stack overview, critical conventions, links to detailed docs.

Characteristics: Concise (<300 lines), reference-focused.

Requests

Incoming tasks, product requirements, or change requests from stakeholders. A request is a single document — if it needs deeper analysis, escalate to a plan or research.

Characteristics: Dated file, origin (who asked), description, priority/urgency, outcome (became plan, dropped).

Interception behavior: When the user describes a new task, feature request, or product requirement during a conversation, suggest:

  1. "Create a formal request?" → .context/requests/YYYY-MM-DD-description.md
  2. "Or create a plan directly?" → .context/plans/YYYY-MM-DD-description/
  3. "Or launch a research/investigation?" → .context/research/

Decisions

Architecture or product decision records. Documents what was decided, why, what alternatives were considered, and the outcome. Prevents revisiting the same debates.

Characteristics: Dated file, context/problem, options considered, decision taken, rationale, status (accepted/superseded/dropped).

Audits

State-of-project catalogs. An audit describes what is (findings, gaps, risks, opportunities), distinct from plans which describe what will be. Every finding lives in a canonical 00-inventory.md and is referenced (not copied) from per-run findings.md views.

Characteristics: per-methodology 00-inventory.md as source of truth, 00-methodology.md as living playbook with 00-changelog.md, dated per-run folders (YYYY-MM-DD-<slug>/), seven ready-made playbooks (ux, ia-opportunities, retest, security, perf, a11y, hitl).

Interception behavior: When the user wants to "review the state of X", "list bugs", "catalog gaps", or "audit UX/security/perf/accessibility", suggest creating an audit via the aidex-audit skill (/aidex-audit new <type> <slug>). Audits differ from issues (which are already-triaged and scoped to fix) and plans (which are active work).

Backlog

Deferred or parked ideas: work the team intends to do later but is not acting on now. A backlog entry captures the idea, why it is deferred, and what would trigger picking it up — created via the aidex-backlog skill.

Characteristics: Single dated file, status lifecycle (opendoingdone/dropped), priority, optional link to the plan or loop-spec that picks it up.

Research

Investigation or spike notes captured before a plan or implementation exists: how something works, what the options are, what an experiment found — created via the aidex-research skill.

Characteristics: Numbered files in a dated topic folder (<topic>/00-index.md, 01-*.md), findings referenced (not duplicated) by later plans/decisions.

Communications

A log of emails, WhatsApp messages, calls, and meetings — received from or sent to a stakeholder/client, or held synchronously — captured so the thread is searchable and cross-linkable to plans/decisions/requests. Created via the aidex-comm skill.

Characteristics: {received,sent,meetings}/<YYYY-MM-DD>-<slug>/body.md (attachments alongside; synchronous records live in meetings/ with a participants list instead of direction/from/to), front-matter (channel, direction, from/to, subject, date, status for the sent side, related: [], created, updated). Body text is in the native language of the communication — communications are exempt from the English-only rule (front-matter keys stay English). See communication-conventions.md.

Plan: Modular vs Single-File

Single-file (default):

  • Up to 4 phases
  • Less than 20 tasks total
  • Small-medium project

Multi-file (directory with 00-index.md):

  • 5+ phases
  • 20+ tasks
  • Large or multi-layer project (backend + frontend + infra)
  • Phases executed by different sessions/teammates

Workflow Integration

aidex-conventions provides structural conventions for documentation. To create or validate documentation:

Complementary skills (e.g., skill-creator for behavioral testing, TDD workflows) can extend these conventions with execution tracking.

Syncing Documentation

When documentation needs updating from official sources:

For skills: Extract version + Resources section from SKILL.md → resolve Context7 library ID → fetch latest → compare → report changes → apply with approval.

For references (code-based): Compare documented file paths and code snippets against actual project code → flag drift.

For docs (library-based): Compare documented library version against package.json/pyproject.toml → detect minor/feature/major version changes → incremental sync or full regeneration.

Related

  • Auditing and fixing: Use the aidex skill (/aidex) for ecosystem audits and automated fixes
  • Agent definitions: aidex skill contains the subagent specifications used during audits

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.