Skip to content

Commit a01ed7a

Browse files
authored
Merge pull request #58 from sampleXbro/develop
Develop
2 parents ac83910 + 7c57018 commit a01ed7a

664 files changed

Lines changed: 117228 additions & 1365 deletions

File tree

Some content is hidden

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

.agents/skills/add-agent-target/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Use this skill when the task is to add a brand-new supported agent target to thi
3333
- Prefer official docs and other primary sources. Use vendor examples or source code only when official docs are incomplete, and call that out explicitly.
3434
- Separate the target product from the current assistant runtime before making format decisions. Do not confuse a generated target like `codex-cli` with Codex desktop/chat, or local CLI MCP config with app-managed connectors.
3535
- Capture the target's real capability map for every canonical feature: rules, additionalRules, commands, agents, skills, mcp, hooks, ignore, permissions.
36+
- Fill in the descriptor `metadata` block (`displayName`, `category`, `officialUrl`, `shortDescription`). This is required at compile time and drives every auto-generated tool list in README + website. The scaffold leaves `TODO(agentsmesh-scaffold)` markers — replace them with the values from your Phase 1 research before commit.
3637
- When a feature is `none` but `skills` is `native` or `embedded`, evaluate whether `supportsConversion` should project that feature as skills. If the target reads skill bundles, commands and agents with no native surface should be projected as skills via `supportsConversion: { commands: true, agents: true }` and registered in `src/config/core/conversions.ts` with `DEFAULT_*_TO_SKILLS`. Do not add lint warnings for features that are projected as skills — only warn for features that are truly dropped.
3738
- Start from `agentsmesh target scaffold <id>` when building a built-in target. Do not hand-write the 10 skeleton files the scaffold produces.
3839
- Write failing tests first for every new behavior. Do not implement first and backfill later.
@@ -41,7 +42,7 @@ Use this skill when the task is to add a brand-new supported agent target to thi
4142
- Cover all edge cases for the new target, including legacy paths, fallbacks, malformed files, partial support, and unsupported features.
4243
- Wire descriptor capabilities for both project and global scope. New targets must include global mode unless the target has no global config surface at all, and that absence must be documented.
4344
- Update every affected command surface and user-facing document so the new target is discoverable and accurately described.
44-
- Update the compatibility matrix to reflect native, embedded, partial, or unsupported features. The matrix auto-builds from descriptor capabilities; `pnpm matrix:verify` must pass.
45+
- Update the compatibility matrix to reflect native, embedded, partial, or unsupported features. The matrix auto-builds from descriptor capabilities; `pnpm matrix:verify` must pass. The same script auto-generates the import-targets table, homepage tool list, and README tool list from descriptor `metadata` — no manual edits to those tables.
4546
- Update init detection and import empty-state messaging for the new target when native files exist.
4647
- Reuse existing capability-focused tests where possible; extend them instead of duplicating assertions across multiple files.
4748
- Preserve the canonical `.agentsmesh/` contract. If the target cannot represent a feature natively, model that explicitly instead of inventing fake native output.

.agents/skills/add-agent-target/references/target-addition-checklist.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ Concrete audit list for adding a built-in agent target. For the step-by-step wor
66

77
Every item must have a primary-source link before coding starts:
88

9-
- Official docs URL for the tool
9+
- Official docs URL for the tool (becomes `metadata.officialUrl` — must be a canonical, stable URL)
10+
- Human-readable display name (becomes `metadata.displayName` — used in every doc table and tool list)
11+
- One-line description (becomes `metadata.shortDescription` — used in tool lists for SEO)
12+
- Tool category — one of: `cli` | `ide` | `agent-platform` (becomes `metadata.category` — groups the target on the homepage and supported-tools page)
1013
- Exact product surface being implemented (CLI vs desktop vs chat — often different config systems)
1114
- Project-scope config directory and root-instruction file
1215
- Global-scope config directory and root-instruction file
@@ -51,10 +54,21 @@ Shared code to audit, not usually modify:
5154

5255
## Documentation Touchpoints
5356

54-
- `README.md` — matrix tables update automatically via `pnpm matrix:generate`
55-
- `website/src/content/docs/reference/supported-tools.mdx` — single docs page for per-target detail (paths, native vs embedded, limitations). Update this manually.
57+
The following are **all auto-generated** by `pnpm matrix:generate` from descriptor data — no manual edits:
58+
59+
- `README.md` — feature matrices + tool-list (from `metadata` + `capabilities`)
60+
- `website/src/content/docs/reference/supported-tools.mdx` — feature matrices (from `capabilities`)
61+
- `website/src/content/docs/cli/import.mdx` — import-targets table (from `metadata` + `descriptor.importer`)
62+
- `website/src/content/docs/index.mdx` — homepage tool-list (from `metadata` grouped by `category`)
63+
64+
Manual edits:
65+
66+
- `website/src/content/docs/reference/supported-tools.mdx` — per-target detail sections (paths, native vs embedded, limitations, global-mode notes). Add a section for the new target.
5667
- `docs/prd-v2-complete.md` — only if the architecture contract changes
57-
- No other docs pages should need edits per repo rules
68+
69+
After adding the descriptor metadata, run `pnpm matrix:generate && pnpm matrix:verify`. CI will fail any PR where docs drift from `TARGET_REGISTRY` (see `src/targets/catalog/target-metadata-registry.ts`).
70+
71+
No other docs pages should need edits per repo rules.
5872

5973
## Unit Tests
6074

@@ -143,10 +157,12 @@ Before marking complete, every command must exit 0:
143157

144158
- Did you search the internet first, using official docs only?
145159
- Did you start from `agentsmesh target scaffold <id>`, or did you hand-write the skeleton?
160+
- Did you replace every `TODO(agentsmesh-scaffold)` marker in the descriptor `metadata` block with real values (`displayName`, `category`, `officialUrl`, `shortDescription`)?
146161
- Did you write failing tests first?
147162
- Did you add rich fixtures instead of placeholders?
148163
- Did you register the id in all three catalog files (`target-ids.ts`, `builtin-targets.ts`, `import-maps/index.ts`)?
149164
- Did you include global mode, or document the decision to omit it?
150165
- Did you check conversion eligibility for `none` features — could commands/agents be projected as skills instead of dropped?
151-
- Did you update `supported-tools.mdx` with per-target detail?
152-
- Did every verification command pass?
166+
- Did you run `pnpm matrix:generate` to refresh README + website auto-generated blocks from the new descriptor `metadata`?
167+
- Did you update `supported-tools.mdx` with per-target detail (paths, native vs embedded, limitations, global-mode notes)?
168+
- Did every verification command pass, including `pnpm matrix:verify`?

.agentsmesh/.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Auto-generated. DO NOT EDIT MANUALLY.
22
# Tracks the state of all config files for team conflict resolution.
33

4-
generated_at: 2026-05-09T14:39:23.798Z
4+
generated_at: 2026-05-11T09:59:03.607Z
55
generated_by: serhii
66
lib_version: 0.16.0
77
checksums:
@@ -22,8 +22,8 @@ checksums:
2222
permissions.yaml: sha256:c806acb62daf533af836dc113be37e9840a2a9b3e21b984c5909fcfb16eb52f2
2323
rules/_root.md: sha256:5c0ad47e9507d3ffbf19d01acb7fe166b19f82dcad8f80cc49b43ced633a9ddc
2424
rules/typescript.md: sha256:18f52143dfdd3e219a5c6d6c0feb7283fe74cce99458c46dafcd1c3620ad4fba
25-
skills/add-agent-target/SKILL.md: sha256:2aca4da8dad8e7dd6740dfae026408d64f9ec4f649980f1781b3414261c5b7b4
26-
skills/add-agent-target/references/target-addition-checklist.md: sha256:f735648de63644832b106c1dd8a64e00976a8025325c532548751e97b0d8342a
25+
skills/add-agent-target/SKILL.md: sha256:b425055659d29f74dbbe97966f6396e918d96cb0736d1448217656cf26b410f6
26+
skills/add-agent-target/references/target-addition-checklist.md: sha256:c2f4db92fd672349496c541bc3813bd3ba26781dbf7d0a154449fc8ef2242dab
2727
skills/add-global-mode-target/SKILL.md: sha256:88347b6ff928213abaf37d110d252bc51c999a44f3463cbfb328cfb15609f3d5
2828
skills/add-global-mode-target/references/global-mode-target-checklist.md: sha256:61f8827978f90ee079e2dfd426ef25b17e77c71d9f79c5f81ebc700379f6fafc
2929
skills/changelog-generator/SKILL.md: sha256:0973622bc8b1e48f4de7eef712dfad42740fe8252f1632ef14a5a7f44d34a4d3

.agentsmesh/skills/add-agent-target/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Use this skill when the task is to add a brand-new supported agent target to thi
3333
- Prefer official docs and other primary sources. Use vendor examples or source code only when official docs are incomplete, and call that out explicitly.
3434
- Separate the target product from the current assistant runtime before making format decisions. Do not confuse a generated target like `codex-cli` with Codex desktop/chat, or local CLI MCP config with app-managed connectors.
3535
- Capture the target's real capability map for every canonical feature: rules, additionalRules, commands, agents, skills, mcp, hooks, ignore, permissions.
36+
- Fill in the descriptor `metadata` block (`displayName`, `category`, `officialUrl`, `shortDescription`). This is required at compile time and drives every auto-generated tool list in README + website. The scaffold leaves `TODO(agentsmesh-scaffold)` markers — replace them with the values from your Phase 1 research before commit.
3637
- When a feature is `none` but `skills` is `native` or `embedded`, evaluate whether `supportsConversion` should project that feature as skills. If the target reads skill bundles, commands and agents with no native surface should be projected as skills via `supportsConversion: { commands: true, agents: true }` and registered in `src/config/core/conversions.ts` with `DEFAULT_*_TO_SKILLS`. Do not add lint warnings for features that are projected as skills — only warn for features that are truly dropped.
3738
- Start from `agentsmesh target scaffold <id>` when building a built-in target. Do not hand-write the 10 skeleton files the scaffold produces.
3839
- Write failing tests first for every new behavior. Do not implement first and backfill later.
@@ -41,7 +42,7 @@ Use this skill when the task is to add a brand-new supported agent target to thi
4142
- Cover all edge cases for the new target, including legacy paths, fallbacks, malformed files, partial support, and unsupported features.
4243
- Wire descriptor capabilities for both project and global scope. New targets must include global mode unless the target has no global config surface at all, and that absence must be documented.
4344
- Update every affected command surface and user-facing document so the new target is discoverable and accurately described.
44-
- Update the compatibility matrix to reflect native, embedded, partial, or unsupported features. The matrix auto-builds from descriptor capabilities; `pnpm matrix:verify` must pass.
45+
- Update the compatibility matrix to reflect native, embedded, partial, or unsupported features. The matrix auto-builds from descriptor capabilities; `pnpm matrix:verify` must pass. The same script auto-generates the import-targets table, homepage tool list, and README tool list from descriptor `metadata` — no manual edits to those tables.
4546
- Update init detection and import empty-state messaging for the new target when native files exist.
4647
- Reuse existing capability-focused tests where possible; extend them instead of duplicating assertions across multiple files.
4748
- Preserve the canonical `.agentsmesh/` contract. If the target cannot represent a feature natively, model that explicitly instead of inventing fake native output.

.agentsmesh/skills/add-agent-target/references/target-addition-checklist.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ Concrete audit list for adding a built-in agent target. For the step-by-step wor
66

77
Every item must have a primary-source link before coding starts:
88

9-
- Official docs URL for the tool
9+
- Official docs URL for the tool (becomes `metadata.officialUrl` — must be a canonical, stable URL)
10+
- Human-readable display name (becomes `metadata.displayName` — used in every doc table and tool list)
11+
- One-line description (becomes `metadata.shortDescription` — used in tool lists for SEO)
12+
- Tool category — one of: `cli` | `ide` | `agent-platform` (becomes `metadata.category` — groups the target on the homepage and supported-tools page)
1013
- Exact product surface being implemented (CLI vs desktop vs chat — often different config systems)
1114
- Project-scope config directory and root-instruction file
1215
- Global-scope config directory and root-instruction file
@@ -51,10 +54,21 @@ Shared code to audit, not usually modify:
5154

5255
## Documentation Touchpoints
5356

54-
- `README.md` — matrix tables update automatically via `pnpm matrix:generate`
55-
- `website/src/content/docs/reference/supported-tools.mdx` — single docs page for per-target detail (paths, native vs embedded, limitations). Update this manually.
57+
The following are **all auto-generated** by `pnpm matrix:generate` from descriptor data — no manual edits:
58+
59+
- `README.md` — feature matrices + tool-list (from `metadata` + `capabilities`)
60+
- `website/src/content/docs/reference/supported-tools.mdx` — feature matrices (from `capabilities`)
61+
- `website/src/content/docs/cli/import.mdx` — import-targets table (from `metadata` + `descriptor.importer`)
62+
- `website/src/content/docs/index.mdx` — homepage tool-list (from `metadata` grouped by `category`)
63+
64+
Manual edits:
65+
66+
- `website/src/content/docs/reference/supported-tools.mdx` — per-target detail sections (paths, native vs embedded, limitations, global-mode notes). Add a section for the new target.
5667
- `docs/prd-v2-complete.md` — only if the architecture contract changes
57-
- No other docs pages should need edits per repo rules
68+
69+
After adding the descriptor metadata, run `pnpm matrix:generate && pnpm matrix:verify`. CI will fail any PR where docs drift from `TARGET_REGISTRY` (see `src/targets/catalog/target-metadata-registry.ts`).
70+
71+
No other docs pages should need edits per repo rules.
5872

5973
## Unit Tests
6074

@@ -143,10 +157,12 @@ Before marking complete, every command must exit 0:
143157

144158
- Did you search the internet first, using official docs only?
145159
- Did you start from `agentsmesh target scaffold <id>`, or did you hand-write the skeleton?
160+
- Did you replace every `TODO(agentsmesh-scaffold)` marker in the descriptor `metadata` block with real values (`displayName`, `category`, `officialUrl`, `shortDescription`)?
146161
- Did you write failing tests first?
147162
- Did you add rich fixtures instead of placeholders?
148163
- Did you register the id in all three catalog files (`target-ids.ts`, `builtin-targets.ts`, `import-maps/index.ts`)?
149164
- Did you include global mode, or document the decision to omit it?
150165
- Did you check conversion eligibility for `none` features — could commands/agents be projected as skills instead of dropped?
151-
- Did you update `supported-tools.mdx` with per-target detail?
152-
- Did every verification command pass?
166+
- Did you run `pnpm matrix:generate` to refresh README + website auto-generated blocks from the new descriptor `metadata`?
167+
- Did you update `supported-tools.mdx` with per-target detail (paths, native vs embedded, limitations, global-mode notes)?
168+
- Did every verification command pass, including `pnpm matrix:verify`?

.aider/skills/add-agent-target/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Use this skill when the task is to add a brand-new supported agent target to thi
3333
- Prefer official docs and other primary sources. Use vendor examples or source code only when official docs are incomplete, and call that out explicitly.
3434
- Separate the target product from the current assistant runtime before making format decisions. Do not confuse a generated target like `codex-cli` with Codex desktop/chat, or local CLI MCP config with app-managed connectors.
3535
- Capture the target's real capability map for every canonical feature: rules, additionalRules, commands, agents, skills, mcp, hooks, ignore, permissions.
36+
- Fill in the descriptor `metadata` block (`displayName`, `category`, `officialUrl`, `shortDescription`). This is required at compile time and drives every auto-generated tool list in README + website. The scaffold leaves `TODO(agentsmesh-scaffold)` markers — replace them with the values from your Phase 1 research before commit.
3637
- When a feature is `none` but `skills` is `native` or `embedded`, evaluate whether `supportsConversion` should project that feature as skills. If the target reads skill bundles, commands and agents with no native surface should be projected as skills via `supportsConversion: { commands: true, agents: true }` and registered in `src/config/core/conversions.ts` with `DEFAULT_*_TO_SKILLS`. Do not add lint warnings for features that are projected as skills — only warn for features that are truly dropped.
3738
- Start from `agentsmesh target scaffold <id>` when building a built-in target. Do not hand-write the 10 skeleton files the scaffold produces.
3839
- Write failing tests first for every new behavior. Do not implement first and backfill later.
@@ -41,7 +42,7 @@ Use this skill when the task is to add a brand-new supported agent target to thi
4142
- Cover all edge cases for the new target, including legacy paths, fallbacks, malformed files, partial support, and unsupported features.
4243
- Wire descriptor capabilities for both project and global scope. New targets must include global mode unless the target has no global config surface at all, and that absence must be documented.
4344
- Update every affected command surface and user-facing document so the new target is discoverable and accurately described.
44-
- Update the compatibility matrix to reflect native, embedded, partial, or unsupported features. The matrix auto-builds from descriptor capabilities; `pnpm matrix:verify` must pass.
45+
- Update the compatibility matrix to reflect native, embedded, partial, or unsupported features. The matrix auto-builds from descriptor capabilities; `pnpm matrix:verify` must pass. The same script auto-generates the import-targets table, homepage tool list, and README tool list from descriptor `metadata` — no manual edits to those tables.
4546
- Update init detection and import empty-state messaging for the new target when native files exist.
4647
- Reuse existing capability-focused tests where possible; extend them instead of duplicating assertions across multiple files.
4748
- Preserve the canonical `.agentsmesh/` contract. If the target cannot represent a feature natively, model that explicitly instead of inventing fake native output.

0 commit comments

Comments
 (0)