Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 6 additions & 6 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ flutter/craftd_widget/ # Flutter library (pub.dev)
docs/ # site documentation (MkDocs)
```

Full module dependency graph → `ia/module-graph.md`
Full module dependency graph → `ai/module-graph.md`

---

## Loading Platform Context

Before starting any task, identify the platform and read the corresponding file:

- Android/KMP → `ia/instructions/android.md`
- iOS → `ia/instructions/ios.md`
- Flutter → `ia/instructions/flutter.md`
- Android/KMP → `ai/instructions/android.md`
- iOS → `ai/instructions/ios.md`
- Flutter → `ai/instructions/flutter.md`

Ignore folders outside the platform of the current task:
- Android/KMP tasks → ignore `ios/` and `flutter/`
Expand All @@ -67,7 +67,7 @@ When starting `/apply`, read the `platform:` field from the change's `proposal.m
## Available Skills

Before starting any task:
1. List all files in `ia/skills/`
1. List all files in `ai/skills/`
2. Identify which one covers the current task
3. Read that file in full before proceeding

Expand Down Expand Up @@ -103,7 +103,7 @@ When applying a change that adds a new Android/KMP component (detectable by the
- Agent Docs/Sample → documentation and sample app tasks

**Round 4** — reviewer (after Round 3):
- Agent Reviewer → reviews all produced code against the rules in `ia/skills/architecture.md`. No build — each agent already validated theirs.
- Agent Reviewer → reviews all produced code against the rules in `ai/skills/architecture.md`. No build — each agent already validated theirs.

Each agent runs in an isolated worktree (`isolation: "worktree"`) and validates the build before marking `[x]`.

Expand Down
8 changes: 4 additions & 4 deletions README-AI-CONTEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CraftD uses multiple AI coding tools (Claude Code, GitHub Copilot, Gemini, Curso

```
📄 AGENTS.md ← single source of truth (master initializer)
📁 ia/ ← detailed context: instructions, skills, module graph
📁 ai/ ← detailed context: instructions, skills, module graph
```

```mermaid
Expand All @@ -16,7 +16,7 @@ graph LR
CODEX["Codex / OpenAI<br/>(reads natively)"]

AG["📄 AGENTS.md<br/>Master Initializer"]
IA["📁 ia/<br/>Detailed Context"]
IA["📁 ai/<br/>Detailed Context"]

CLAUDE -->|reads| AG
COPILOT -->|reads| AG
Expand All @@ -27,10 +27,10 @@ graph LR
AG -->|references| IA
```

## ia/ structure
## ai/ structure

```
ia/
ai/
module-graph.md ← module dependency graph
instructions/
android.md ← Android/KMP patterns
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ Fix any compilation errors before proceeding.

## iOS / Flutter

Follow the same pattern adapted to each platform. See `ia/instructions/ios.md` and `ia/instructions/flutter.md` for platform-specific folder structure and conventions.
Follow the same pattern adapted to each platform. See `ai/instructions/ios.md` and `ai/instructions/flutter.md` for platform-specific folder structure and conventions.
File renamed without changes.
File renamed without changes.
Loading