Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
855cb0b
feat(aidd-fix): add /aidd-fix skill and command
claude Feb 24, 2026
5f8744e
fix(aidd-fix): standardize command references in SKILL.md
claude Feb 26, 2026
889fe73
fix(aidd-fix): remove duplicated constraints and self-referential Com…
claude Feb 26, 2026
47c3021
fix(aidd-fix): restore Commands block as canonical skill command defi…
claude Feb 26, 2026
b3535be
fix(aidd-fix): carve out e2e exception for planning and documentation…
claude Mar 2, 2026
55758c7
fix(aidd-fix): clarify pre-commit test constraint with lint/unit/e2e …
claude Mar 2, 2026
aa8ba01
fix(aidd-fix): use /execute (not /task) for TDD step β€” /task is for p…
claude Mar 2, 2026
d333c52
fix(aidd-fix): decouple e2e test run from /review in Step 5
claude Mar 2, 2026
cade027
fix(aidd-fix): make /review mandatory in Step 5
claude Mar 2, 2026
8f179ab
chore(index): regenerate ai/**/index.md to include skills
claude Mar 2, 2026
36f02e7
Merge remote-tracking branch 'origin/main' into claude/aidd-fix-pr-97…
claude Mar 2, 2026
cd81d46
chore(index): regenerate indexes after merge from main
claude Mar 2, 2026
85aafa1
feat(installer): add aidd-custom/config.yml with e2eBeforeCommit
claude Mar 2, 2026
5d84fd1
feat(aidd-custom): add project customization layer
claude Mar 2, 2026
70b8725
chore(index): add aidd-custom/index.md
claude Mar 2, 2026
614fc49
test(aidd-custom): add missing coverage from review
claude Mar 2, 2026
b69a637
style: apply linter fixes
claude Mar 2, 2026
1096e8d
fix(aidd-custom): preserve config.yml on --force reinstall
claude Mar 2, 2026
eda5cfa
fix(test): update AGENTS.md fixture to include aidd-custom directive
claude Mar 2, 2026
41b8261
docs(aidd-custom): clarify e2eBeforeCommit is a deliberate repo override
claude Mar 2, 2026
a1e9c42
fix(agents-md): only append missing directive sections on upgrade
cursoragent Mar 2, 2026
9f6c68e
chore: apply lint formatting fixes
cursoragent Mar 2, 2026
0f1492b
fix(aidd-fix): reorder Step 5 so tests run after review resolution
cursoragent Mar 2, 2026
7a89e01
Merge cursor/aidd-custom-upgrade-issue-e8ea: fix upgrade duplication bug
cursoragent Mar 2, 2026
ab8e0cd
fix(please): correct aidd-fix command description grammar
cursoragent Mar 2, 2026
10ac463
fix(skill): allow any conventional commit type in Step 6
cursoragent Mar 2, 2026
ad69254
fix(skill): rename skills/fix/ to skills/aidd-fix/ to match name field
cursoragent Mar 2, 2026
b96953f
fix(agents): explicitly direct agents to read aidd-custom/config.yml
cursoragent Mar 2, 2026
1c613ab
chore: regenerate index files
cursoragent Mar 2, 2026
08fa4c9
fix(cli): show accurate config.yml status in dry-run output
cursoragent Mar 2, 2026
5053b8f
fix(cli): generate aidd-custom/index.md during install
cursoragent Mar 2, 2026
1664166
fix(cli): remove force option from createAiddCustomConfig to prevent …
cursoragent Mar 2, 2026
b5394b9
fix(types): update appendDirectives signature and export DIRECTIVE_AP…
cursoragent Mar 3, 2026
cb8bb71
fix(agents-md): prevent duplicate wrapper heading on repeated appendD…
cursoragent Mar 3, 2026
dc9e92e
docs(tasks): add code review epic for aidd-fix PR
cursor[bot] Mar 3, 2026
c0f3fc7
refactor: rename non-env-var constants to camelCase per JS style guide
cursoragent Mar 3, 2026
53e9763
feat(types): add lib/cli-core.d.ts type declarations
cursoragent Mar 3, 2026
3d945d0
fix(types): normalize generateAllIndexes error shape and fix generate…
cursoragent Mar 3, 2026
5704070
docs(epic): revise requirement descriptions to express expected behavior
cursoragent Mar 3, 2026
8c5a50b
docs(tasks): update epic β€” add agentsMdContent rename and pre-commit …
cursor[bot] Mar 3, 2026
d598850
refactor(agents-md): rename AGENTS_MD_CONTENT to agentsMdContent per …
cursoragent Mar 3, 2026
bd191a4
feat(types): enable type-checking on test files as consumers of .d.ts…
cursoragent Mar 3, 2026
fb81221
feat(types): enable checkJs: true globally
cursoragent Mar 3, 2026
111ae94
fix(types): resolve all checkJs errors in src/server
cursoragent Mar 3, 2026
eebf4ed
feat(skill): add preamble and competencies to aidd-fix skill
cursoragent Mar 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Generate index.md files for ai/ folders
# Generate index.md files for ai/ and aidd-custom/ folders
node bin/aidd.js --index "$(git rev-parse --show-toplevel)"

# Stage any updated index.md files
git add 'ai/**/index.md' 2>/dev/null || true
git add 'ai/**/index.md' 'aidd-custom/**/index.md' 2>/dev/null || true

# Generate ToC for README.md
npm run toc
Expand Down
10 changes: 10 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,13 @@ If any conflicts are detected between a requested task and the vision document,
3. Ask the user to clarify how to resolve the conflict before proceeding

Never proceed with a task that contradicts the vision without explicit user approval.

## Custom Skills and Configuration

Project-specific customization lives in `aidd-custom/`. Before starting work,
read `aidd-custom/index.md` to discover available project-specific skills,
and read `aidd-custom/config.yml` to load configuration into context.

## Task Index

fix bug => /aidd-fix
Comment thread
cursor[bot] marked this conversation as resolved.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Includes:
- [Creating Your Vision Document](#creating-your-vision-document)
- [How Agents Use the Vision Document](#how-agents-use-the-vision-document)
- [AGENTS.md File](#agentsmd-file)
- [`aidd-custom/` β€” Project Customization](#aidd-custom--project-customization)
- [πŸ”§ Cursor Editor Setup](#-cursor-editor-setup)
- [Automatic Setup (Recommended)](#automatic-setup-recommended)
- [When to Use `--cursor`](#when-to-use---cursor)
Expand Down Expand Up @@ -539,6 +540,12 @@ When you run the AIDD installer, it automatically creates (or updates) an `AGENT
- Respect the vision document as the source of truth
- Handle conflicts appropriately

### `aidd-custom/` β€” Project Customization

The installer also creates `aidd-custom/config.yml` in your project root. This folder is the place for project-specific overrides: custom skills, behavior configuration, and additional agent directives. Agents are instructed to read `aidd-custom/index.md` on startup so your customizations are always in context.

See [docs/aidd-custom.md](docs/aidd-custom.md) for all available options.

## πŸ”§ Cursor Editor Setup

The AIDD CLI can automatically set up the AI agent system for **Cursor editor** users.
Expand Down
7 changes: 7 additions & 0 deletions ai/commands/aidd-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# πŸ› /aidd-fix

Load and execute the skill at `ai/skills/aidd-fix/SKILL.md`.

Constraints {
Before beginning, read and respect the constraints in please.mdc.
}
Comment thread
ericelliott marked this conversation as resolved.
6 changes: 6 additions & 0 deletions ai/commands/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ This index provides an overview of the contents in this directory.

## Files

### πŸ› /aidd-fix

**File:** `aidd-fix.md`

*No description available*

### Commit

**File:** `commit.md`
Expand Down
4 changes: 4 additions & 0 deletions ai/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ See [`commands/index.md`](./commands/index.md) for contents.

See [`rules/index.md`](./rules/index.md) for contents.

### πŸ“ skills/

See [`skills/index.md`](./skills/index.md) for contents.

1 change: 1 addition & 0 deletions ai/rules/please.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Commands {
πŸ”¬ /review - conduct a thorough code review focusing on code quality, best practices, and adherence to project standards
πŸ§ͺ /user-test - use user-testing.mdc to generate human and AI agent test scripts from user journeys
πŸ€– /run-test - execute AI agent test script in real browser with screenshots
πŸ› /aidd-fix - fix a bug or implement review feedback following the full AIDD fix process
}

Constraints {
Expand Down
18 changes: 18 additions & 0 deletions ai/skills/aidd-ecs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# aidd-ecs

This index provides an overview of the contents in this directory.

## Files

### Database.Plugin authoring

**File:** `SKILL.md`

Enforces @adobe/data/ecs best practices. Use this whenever @adobe/data/ecs is imported, when creating or modifying Database.Plugin definitions, or when working with ECS components, resources, transactions, actions, systems, or services.

### Data modeling: components, resources, archetypes

**File:** `data-modeling.md`

*No description available*

113 changes: 113 additions & 0 deletions ai/skills/aidd-fix/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
---
name: aidd-fix
description: >
Fix a bug or implement review feedback following the AIDD fix process.
Use when a bug has been reported, a failing test needs investigation,
or a code review has returned feedback that requires a code change.
compatibility: Requires git, npm, and a test runner (vitest) available in the project.
---
Comment thread
ericelliott marked this conversation as resolved.
Comment thread
cursor[bot] marked this conversation as resolved.

Act as a top-tier software quality engineer to diagnose and fix bugs
following a disciplined TDD process.

Competencies {
root cause analysis
test-driven development (failing test before implementation)
minimal targeted fixes (no scope creep)
regression prevention
conventional commit discipline
}

# πŸ› aidd-fix

Fix a bug or implement review feedback following the structured AIDD fix process.

Constraints {
Do ONE step at a time. Do not skip steps or reorder them.
Run lint and unit tests prior to committing code. Planning and documentation (epics, /plan files, /docs, etc) are exempt.
Run e2e tests prior to committing only if `aidd-custom/config.yml` sets `e2eBeforeCommit: true`.
Never implement before writing a failing test.
Never write a test after implementing β€” that is not TDD.
}

## Step 1 β€” Gain context and validate

Given a bug report or review feedback:

1. Read the relevant source file(s) and colocated test file(s)
2. Read the task epic in `$projectRoot/tasks/` that covers this area
3. Reason through or reproduce the issue to confirm it exists
Comment thread
ericelliott marked this conversation as resolved.
4. If **no change is needed**: summarize findings and stop β€” do not modify any files

## Step 2 β€” Document the requirement in the epic

If a fix is required:

1. Locate the existing task epic that covers this area of the codebase
2. If no matching epic exists, create one at `$projectRoot/tasks/<name>-epic.md` using `/task`
3. Add a requirement bullet in **"Given X, should Y"** format that precisely describes the correct behavior
4. The epic update is its own discrete step β€” commit it separately or include it in the fix commit with a clear message
Comment thread
ericelliott marked this conversation as resolved.

epicConstraints {
Requirements must follow "Given X, should Y" format exactly.
No implementation detail in the requirement β€” describe observable behavior only.
}

## Step 3 β€” TDD: write a failing test first

Using `/execute`:

1. Write a test that captures the new requirement
2. Run the unit test runner and confirm the test **fails**

Comment thread
ericelliott marked this conversation as resolved.
```sh
npm run test:unit
```

3. If the test passes without any implementation change: the bug may already be fixed or the test is wrong β€” stop and reassess before proceeding

## Step 4 β€” Implement the fix

1. Write the minimum code needed to make the failing test pass
2. Run the unit test runner β€” **fail β†’ fix bug β†’ repeat; pass β†’ continue**

```sh
npm run test:unit
```

3. Implement ONLY what makes the test pass β€” do not over-engineer or clean up unrelated code

## Step 5 β€” Self-review and run all tests

1. Run `/review` to self-review all changes
2. Resolve any issues found before moving to the next step
3. Run lint and unit tests to confirm all changes pass:

```sh
npm run test:unit
```

4. Check `aidd-custom/config.yml` for the `e2eBeforeCommit` setting:
- `e2eBeforeCommit: true` β†’ run the full e2e suite before continuing:

```sh
npm run test:e2e
```

- `e2eBeforeCommit: false` (the default) β†’ skip local e2e β€” CI will run the full suite

## Step 6 β€” Commit and push

Using `/commit`:

1. Stage only the files changed by this fix
2. Write a conventional commit message following `/commit` (e.g. `type(optional-scope): description`)
3. Push to the PR branch

```sh
git push -u origin <branch-name>
```

Commands {
πŸ› /aidd-fix - fix a bug or review feedback following the full AIDD fix process
}
13 changes: 13 additions & 0 deletions ai/skills/aidd-fix/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# aidd-fix

This index provides an overview of the contents in this directory.

## Files

### πŸ› aidd-fix

**File:** `SKILL.md`

Fix a bug or implement review feedback following the AIDD fix process. Use when a bug has been reported, a failing test needs investigation, or a code review has returned feedback that requires a code change.


18 changes: 18 additions & 0 deletions ai/skills/aidd-layout/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# aidd-layout

This index provides an overview of the contents in this directory.

## Subdirectories

### πŸ“ references/

See [`references/index.md`](./references/index.md) for contents.

## Files

### Layout and component types

**File:** `SKILL.md`

Enforces UI component layout and composition patterns. Use when designing layouts, creating UI components, spacing, gaps, or when the user asks about component hierarchy, terminal vs layout components, or re-render efficiency.

12 changes: 12 additions & 0 deletions ai/skills/aidd-layout/references/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# references

This index provides an overview of the contents in this directory.

## Files

### Layout design tokens

**File:** `design-tokens.md`

*No description available*

12 changes: 12 additions & 0 deletions ai/skills/aidd-lit/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# aidd-lit

This index provides an overview of the contents in this directory.

## Files

### Lit element authoring

**File:** `SKILL.md`

Enforces Lit element authoring best practices. Use when creating Lit elements, binding elements, presentations, DatabaseElement, useObservableValues, or when the user asks about Lit UI patterns, reactive binding, or action callbacks.

18 changes: 18 additions & 0 deletions ai/skills/aidd-namespace/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# aidd-namespace

This index provides an overview of the contents in this directory.

## Files

### Namespace Example.

**File:** `README.md`

*No description available*

### Type namespace pattern

**File:** `SKILL.md`

Ensures types and related functions are authored and consumed in a modular, discoverable, tree-shakeable pattern. Use when creating types, refactoring type folders, defining schemas, importing types, or when the user mentions type namespaces, constants, or Schema.ToType.

12 changes: 12 additions & 0 deletions ai/skills/aidd-observe/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# aidd-observe

This index provides an overview of the contents in this directory.

## Files

### Observe pattern

**File:** `SKILL.md`

Enforces Observe pattern best practices from @adobe/data/observe. Use when working with Observe, observables, reactive data flow, service Observe properties, or when the user asks about Observe.withMap, Observe.withFilter, Observe.fromConstant, Observe.fromProperties, or similar.

12 changes: 12 additions & 0 deletions ai/skills/aidd-react/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# aidd-react

This index provides an overview of the contents in this directory.

## Files

### React component authoring

**File:** `SKILL.md`

Enforces React component authoring best practices. Use when creating React components, binding components, presentations, useObservableValues, or when the user asks about React UI patterns, reactive binding, or action callbacks.

12 changes: 12 additions & 0 deletions ai/skills/aidd-service/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# aidd-service

This index provides an overview of the contents in this directory.

## Files

### Service authoring

**File:** `SKILL.md`

Enforces asynchronous data service authoring best practices. Use when creating front-end or back-end services, service interfaces, Observe patterns, AsyncDataService, or when the user asks about service layer, data flow, unidirectional UI, or action/observable design.

12 changes: 12 additions & 0 deletions ai/skills/aidd-structure/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# aidd-structure

This index provides an overview of the contents in this directory.

## Files

### Standard folder structure

**File:** `SKILL.md`

Enforces source code structuring and interdependency best practices. Use when creating folders, moving files, adding imports, or when the user asks about architecture, layering, or module dependencies.

42 changes: 42 additions & 0 deletions ai/skills/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# skills

This index provides an overview of the contents in this directory.

## Subdirectories

### πŸ“ aidd-ecs/

See [`aidd-ecs/index.md`](./aidd-ecs/index.md) for contents.

### πŸ“ aidd-fix/

See [`aidd-fix/index.md`](./aidd-fix/index.md) for contents.

### πŸ“ aidd-layout/

See [`aidd-layout/index.md`](./aidd-layout/index.md) for contents.

### πŸ“ aidd-lit/

See [`aidd-lit/index.md`](./aidd-lit/index.md) for contents.

### πŸ“ aidd-namespace/

See [`aidd-namespace/index.md`](./aidd-namespace/index.md) for contents.

### πŸ“ aidd-observe/

See [`aidd-observe/index.md`](./aidd-observe/index.md) for contents.

### πŸ“ aidd-react/

See [`aidd-react/index.md`](./aidd-react/index.md) for contents.

### πŸ“ aidd-service/

See [`aidd-service/index.md`](./aidd-service/index.md) for contents.

### πŸ“ aidd-structure/

See [`aidd-structure/index.md`](./aidd-structure/index.md) for contents.

Loading