| Template | Scope | Purpose |
|---|---|---|
task.generic.aep.json | task | Starting point for any recurring task pattern |
project.aep.json | project | Project-wide defaults and constraints |
user.aep.json | user | User collaboration style across repos |
index.json | — | Manifest that tracks all packs in the repo |
Templates
How to use each template
task.generic.aep.json — task packs
Use this template when you want to capture a pattern for a specific recurring task (a migration, a code review style, a particular kind of refactor).- Copy the file to
.agent/aep/tasks/<your-id>.aep.json. - Replace
"id"with a kebab-case slug that describes the task. - Fill in
match.keywords,match.patterns, andmatch.tagswith terms that describe when this pack should activate. - Populate
applies_towith the languages, frameworks, paths, and domains involved. - Add your
constraints,preferences,workflow,failure_traps, andsuccess_checks. - Update
metrics.first_used_at,metrics.last_used_at, andhistory[0].atto the current timestamp. - Add an entry for this pack to
index.json.
project.aep.json — project packs
Use this template for conventions and constraints that apply across many tasks in a single repository — coding style, commit message format, branching rules, and so on.- Copy the file to
.agent/aep/project.aep.json(one per repo). - Replace
"id"with something like"<repo-name>-project-defaults". - Populate
constraintswith hard project rules andpreferenceswith soft conventions. - Leave
applies_tobroad (or empty) if the rules apply everywhere in the repo. - Add an entry to
index.jsonwithscope: "project".
user.aep.json — user packs
Use this template to capture your personal collaboration style: how you like explanations structured, how much detail you want before the agent proceeds, your preferred decision-making flow.- Copy the file to
.agent/aep/user.aep.json. - Replace
"id"with"<your-handle>-collaboration-style"or similar. - Populate
preferenceswith your communication and workflow preferences. - Because user packs apply broadly,
applies_tois often left empty or minimal. - Add an entry to
index.jsonwithscope: "user".
index.json — the manifest
index.json lives at .agent/aep/index.json and is the first file the agent reads. It tells the agent which packs exist and their key attributes, so the agent can rank candidates before opening individual files.
Update index.json every time you add, rename, or remove a pack. If you use aep save, the agent updates the index for you.
Set up a new repo
Run these commands to initialize the AEP directory structure and copy the templates:Related pages
Pack schema reference
Every field in a pack file, with types and examples.
Index schema reference
Every field in index.json, with types and examples.