Skip to content

Commit f73f92d

Browse files
[sync] Package project-agent prompts for consumers (#130) (#131)
* [sync] Add packaged project-agent synchronization (#130) * [docs] Generalize packaged project-agent prompts (#130) * [sync] Simplify packaged directory synchronizer (#130) * [docs] Restore SynchronizeResult PHPDoc detail (#130) * Update wiki submodule pointer for PR #131 * [docs] Refresh consumer sync and agents documentation (#130) * [docs] Apply follow-up consumer command corrections (#130) * Update wiki submodule pointer for PR #131 * docs: Update command syntax for agent synchronization in AGENTS.md Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com> --------- Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 370830c commit f73f92d

44 files changed

Lines changed: 1156 additions & 778 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/agents/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ Each agent file uses:
2424

2525
## Scope
2626

27-
These prompts are specific to the Fast Forward DevTools repository. They define
28-
durable role behavior and delegation boundaries, while `.agents/skills` remains
29-
the procedural source of truth.
27+
These prompts are packaged for Fast Forward repositories. They define durable
28+
role behavior and delegation boundaries that can be reused in consumer
29+
repositories, while `.agents/skills` remains the procedural source of truth.

.agents/agents/consumer-sync-auditor.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: consumer-sync-auditor
3-
description: Audit downstream sync and consumer bootstrap impacts for packaged skills, workflows, wiki, and repository defaults.
3+
description: Audit downstream sync and consumer bootstrap impacts for packaged skills, packaged agents, workflows, wiki, and repository defaults.
44
primary-skill: github-pull-request
55
supporting-skills:
66
- package-readme
@@ -12,19 +12,21 @@ supporting-skills:
1212
## Purpose
1313

1414
Review changes through the lens of downstream consumer repositories that rely on
15-
`dev-tools:sync`, packaged skills, workflow stubs, and wiki/bootstrap assets.
15+
`dev-tools:sync`, packaged skills, packaged agents, workflow stubs, and
16+
wiki/bootstrap assets.
1617

1718
## Responsibilities
1819

1920
- Check whether changes affect consumer-facing synchronized files.
21+
- Check whether changes affect packaged role prompts as well as packaged skills.
2022
- Call out downstream bootstrap, workflow, wiki, or onboarding implications.
2123
- Verify that packaged defaults remain coherent with sync behavior.
2224
- Surface when docs or README updates are needed for consumer adoption.
2325

2426
## Use When
2527

2628
- A change touches `resources/`, `.github/workflows/`, `.agents/skills`,
27-
`.editorconfig`, wiki automation, or `dev-tools:sync`.
29+
`.agents/agents`, `.editorconfig`, wiki automation, or `dev-tools:sync`.
2830
- A PR may affect how consumer repositories adopt or refresh DevTools assets.
2931

3032
## Boundaries

.agents/agents/docs-writer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: docs-writer
3-
description: Create and refresh Sphinx documentation for Fast Forward DevTools under docs/.
3+
description: Create and refresh Sphinx documentation for Fast Forward repositories under docs/.
44
primary-skill: sphinx-docs
55
supporting-skills: []
66
---
@@ -10,7 +10,7 @@ supporting-skills: []
1010
## Purpose
1111

1212
Keep the Sphinx documentation tree accurate, navigable, and beginner-friendly
13-
for Fast Forward DevTools users and contributors.
13+
for Fast Forward repository users and contributors.
1414

1515
## Responsibilities
1616

.agents/agents/issue-editor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ supporting-skills: []
1010
## Purpose
1111

1212
Shape bugs, features, and maintenance requests into implementation-ready GitHub
13-
issues for this repository.
13+
issues for the current repository.
1414

1515
## Responsibilities
1616

.agents/agents/issue-implementer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: issue-implementer
3-
description: Execute a ready DevTools issue from branch creation through verification and pull request publication.
3+
description: Execute a ready repository issue from branch creation through verification and pull request publication.
44
primary-skill: github-pull-request
55
supporting-skills:
66
- phpunit-tests
@@ -13,8 +13,8 @@ supporting-skills:
1313

1414
## Purpose
1515

16-
Carry a ready Fast Forward DevTools issue from local implementation to an open
17-
or updated pull request.
16+
Carry a ready repository issue from local implementation to an open or updated
17+
pull request.
1818

1919
## Responsibilities
2020

.agents/agents/readme-maintainer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: readme-maintainer
3-
description: Keep the Fast Forward DevTools README aligned with commands, onboarding, links, badges, and public package guidance.
3+
description: Keep the repository README aligned with commands, onboarding, links, badges, and public package guidance.
44
primary-skill: package-readme
55
supporting-skills: []
66
---

.agents/agents/test-guardian.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: test-guardian
3-
description: Extend and repair PHPUnit and Prophecy coverage in Fast Forward DevTools.
3+
description: Extend and repair PHPUnit and Prophecy coverage in Fast Forward repositories.
44
primary-skill: phpunit-tests
55
supporting-skills: []
66
---

.github/wiki

Submodule wiki updated from f5cf885 to 0722b9a

AGENTS.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ composer dev-tools:fix
3838
composer dev-tools tests # Run PHPUnit tests
3939
composer dev-tools code-style # Check and fix code style (ECS + Composer Normalize)
4040
composer dev-tools refactor # Refactor code using Rector
41-
composer dev-tools phpdoc # Check and fix PHPDoc comments
41+
composer dev-tools phpdoc # Check and fix PHPDoc comments
4242
composer dev-tools docs # Generate HTML API documentation
43-
composer dev-tools wiki # Generate Markdown documentation for wiki
43+
composer dev-tools wiki # Generate Markdown documentation for wiki
4444
composer dev-tools reports # Generate docs frontpage and reports
45-
composer dev-tools:sync # Sync scripts, GitHub Actions, .editorconfig, wiki
45+
composer dev-tools agents # Sync packaged project agents into .agents/agents
46+
composer dev-tools:sync # Sync scripts, GitHub Actions, .editorconfig, wiki
4647
```
4748

4849
**Notable Specialized Commands:**
@@ -168,6 +169,7 @@ composer dev-tools
168169
- `docs/usage/` and `docs/internals/`: workflow, reporting, release, and implementation notes
169170
- `.github/workflows/`: CI and release automation truth, especially `tests.yml`, `reports.yml`, `wiki.yml`, and `changelog.yml`
170171
- `.github/pull_request_template.md`: expected PR structure and reviewer checklist
172+
- `src/Sync/`: shared packaged-directory synchronization primitives used by `skills` and `agents`
171173
- `.agents/skills/`: packaged procedural skills shipped to consumer repositories
172174
- `.agents/agents/`: repository-specific role prompts mirrored through `.github/agents`
173175
- `.github/wiki`: generated or synchronized wiki content published by repo workflows
@@ -179,6 +181,7 @@ composer dev-tools
179181
- **Documentation**: Sphinx-based docs in `docs/` directory
180182
- **Wiki**: GitHub wiki synced via `dev-tools wiki` and `dev-tools:sync`
181183
- **GitHub Actions**: Workflows in `.github/workflows/` (synced via `dev-tools:sync`)
184+
- **Project Agents**: Packaged role prompts synchronized via `composer agents` and `dev-tools:sync`
182185

183186
## Skills Usage
184187

@@ -192,10 +195,10 @@ composer dev-tools
192195

193196
## Project Agents
194197

195-
Repository-specific agent prompts live in `.agents/agents/` and are mirrored
196-
through `.github/agents` for GitHub-facing discovery. These role prompts define
197-
behavior and ownership boundaries, while `.agents/skills/` remains the
198-
procedural source of truth.
198+
Packaged project-agent prompts live in `.agents/agents/` for both this
199+
repository and consumer repositories that synchronize DevTools assets. These
200+
role prompts define behavior and ownership boundaries, while `.agents/skills/`
201+
remains the procedural source of truth.
199202

200203
- Use `issue-editor` for issue drafting, refinement, comments, updates, and closure workflows.
201204
- Use `issue-implementer` for issue-to-branch-to-PR execution.
@@ -204,6 +207,6 @@ procedural source of truth.
204207
- Delegate to `php-style-curator` for PHPDoc cleanup, file-header normalization, and repository style conformance.
205208
- Delegate to `readme-maintainer` when public commands, installation, usage, links, or badges change.
206209
- Delegate to `docs-writer` when `docs/` must be created or updated.
207-
- Delegate to `consumer-sync-auditor` when packaged skills, sync assets, wiki, workflows, or consumer bootstrap behavior change.
210+
- Delegate to `consumer-sync-auditor` when packaged skills, packaged agents, sync assets, wiki, workflows, or consumer bootstrap behavior change.
208211
- Delegate to `quality-pipeline-auditor` when a task changes command orchestration, verification flow, or quality gates.
209212
- Delegate to `changelog-maintainer` when a task needs changelog authoring, changelog validation for PRs, release promotion, or release-note export.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Add CODEOWNERS generation and sync support for consumer repositories (#67)
1313
- Package a create-agentsmd skill for repository-level AGENTS.md authoring (#128)
1414
- Add an agents-maintainer project agent for ongoing AGENTS.md upkeep (#128)
15+
- Synchronize packaged project-agent prompts into consumer repositories (#130)
1516

1617
## [1.13.0] - 2026-04-19
1718

0 commit comments

Comments
 (0)