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
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"displayName": "AI Add-on Builder",
"description": "Describe what you want Claude to do, in your own words. AI Add-on Builder plans, builds, checks, and packages the skill or plugin for you, including internal tools for your team, and adds a Prompt Builder form that starts it. Works in Claude Code, Cowork, and claude.ai.",
"source": "./adapters/claude",
"version": "0.3.0",
"version": "0.4.0",
"category": "developer-tools"
}
]
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

Newest first.

## 0.4.0: Validator and tool feedback fixes

**Added**
- A core router can list skills from other plugins in a `## Module routes` table (same columns as the Routing table). Those rows are checked for a well-formed `<plugin>-<skill>` or `<plugin>:<skill>` slug, not against this plugin's own skills (P024).
- P023 (a skill name ending in a role noun) is a warning instead of an error for names listed in `.public-safety-allow` as `P023:<path-glob>:<name>`, so names that existed before the rule keep passing.

**Changed**
- `X014` (error) replaces `R001`/`R002`: a `/root/.claude` or `~/.claude` path in a shell command in SKILL.md, references, commands, agents or hooks. The packager refuses to package while it exists. The rule text is built from parts so the validator never matches itself.
- `D020` (directory target, error): agent frontmatter keys outside name, description, model, tools (for example `color`).
- Review and maintain: restart Claude after installing a new plugin version. Build and maintain: versioning guidance (0.0.1 start, Keep a Changelog, 1.0.0 only on the owner's word) and a generated `AGENTS.md` model-routing default.

**Fixed**
- The packager finds `validate_extension.py` next to its own tools folder first, so it no longer reports "validator not found".
- `bump_version.py` updates the README `**Version**` line whatever its old value.
- X008 no longer flags business email addresses inside `.public-safety-allow` itself; key and other rules still apply there.
- The P028 message (a router with no routing table) names the file, the `## Routing table` heading, the header row, and that each Skill cell must be an exact skill slug.

## 0.3.0: Single-branch layout

**Changed**
Expand Down
14 changes: 7 additions & 7 deletions IMPROVEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ Log feedback and ideas here; move to Accepted when approved.

## Inbox

- 2026-11-12 | validator | Flag agent frontmatter keys outside name, description, model, tools (e.g. `color`) for `--target directory`, so LOCAL_CODE_FRONTMATTER_KEY is caught before submission. | final directory review
- 2026-11-12 | release | Exclude `.public-safety-allow` from the release `.plugin` built by release-plugin.yml, and drop the duplicate `AI.Add-on.Builder.v<ver>.plugin` asset. | release check
- 2026-11-12 | review skill | A session can keep an older cached skill text after the plugin updates; tell the user to restart Claude after installing a new version. | self-review
- 2026-11-05 | Versioning: every new app/plugin starts at 0.0.1 with a semantic CHANGELOG (Keep a Changelog); bump slowly (patch/minor) through beta; 1.0.0 only when the owner says so. | User
- 2026-11-11 | Directory policy (non-Verified orgs) refuses: any hook (all types, LOCAL_CODE_HOOK_COMMAND); any file not md/txt/json/yaml/png/jpeg/gif/webp/ico, or starting with #!, or a package-manager config, or non-UTF-8/NUL (LOCAL_CODE_FILE_TYPE; .py/.svg/.tmpl/CODEOWNERS/.public-safety-allow hit it); frontmatter keys outside the allowed list (LOCAL_CODE_FRONTMATTER_KEY; evals/*.md and agent model/color/tools/metadata suspected). Add a "directory edition" build (no hooks, scripts or evals; scripts become instructions) and make validate_extension.py fail on these three for community submissions. | Directory review of v0.1.0 fa89fba | Claude
- 2026-11-11 | Policy hold MCP_FORWARDS_CREDENTIAL_ENV is a false positive from validate_extension.py's own env-read regexes (lines 428, 663); keep regex text out of shipped files or build it from parts. RUNTIME_FETCH_EXEC (10 files) is docs plus the validator pattern: no action. UNREAD_ASSET_REFERENCED: CHANGELOG, distribution-routes.md, plugin.json mention icon files. | Directory review | Claude
- 2026-11-11 | Directory policy (non-Verified orgs) refuses: any hook (all types, LOCAL_CODE_HOOK_COMMAND); any file not md/txt/json/yaml/png/jpeg/gif/webp/ico, or starting with #!, or a package-manager config, or non-UTF-8/NUL (LOCAL_CODE_FILE_TYPE; .py/.svg/.tmpl/CODEOWNERS/.public-safety-allow hit it); frontmatter keys outside the allowed list (LOCAL_CODE_FRONTMATTER_KEY; evals/*.md and agent model/color/tools/metadata suspected). Add a "directory edition" build (no hooks, scripts or evals; scripts become instructions) and make validate_extension.py fail on these three for community submissions. | Directory review of v0.1.0 fa89fba | Claude DONE (checked 2026-11-22: validator D017-D019, single-branch shipped plugin has no hooks or scripts).
Format: date · idea · source

- 2026-11-04 · AGENTS.md model routing (Opus plans, Haiku/Sonnet execute) as a shipped default · all plugins (Claude plugins note)

## Accepted

## Done
- 2026-11-12 | validator | Flag agent frontmatter keys outside name, description, model, tools (e.g. `color`) for `--target directory`, so LOCAL_CODE_FRONTMATTER_KEY is caught before submission. | final directory review | Done 2026-11-22 in 0.4.0
- 2026-11-12 | release | Exclude `.public-safety-allow` from the release `.plugin` built by release-plugin.yml, and drop the duplicate `AI.Add-on.Builder.v<ver>.plugin` asset. | release check DONE (checked 2026-11-22: release-plugin.yml excludes it and asserts; one asset `aiaddon.plugin`).
- 2026-11-12 | review skill | A session can keep an older cached skill text after the plugin updates; tell the user to restart Claude after installing a new version. | self-review | Done 2026-11-22 in 0.4.0
- 2026-11-05 | Versioning: every new app/plugin starts at 0.0.1 with a semantic CHANGELOG (Keep a Changelog); bump slowly (patch/minor) through beta; 1.0.0 only when the owner says so. | User | Done 2026-11-22 in 0.4.0
- 2026-11-11 | Policy hold MCP_FORWARDS_CREDENTIAL_ENV is a false positive from validate_extension.py's own env-read regexes (lines 428, 663); keep regex text out of shipped files or build it from parts. RUNTIME_FETCH_EXEC (10 files) is docs plus the validator pattern: no action. UNREAD_ASSET_REFERENCED: CHANGELOG, distribution-routes.md, plugin.json mention icon files. | Directory review | Claude DONE (checked 2026-11-22: the validator lives in dev/, not in the shipped plugin).
- 2026-11-04 · AGENTS.md model routing (Opus plans, Haiku/Sonnet execute) as a shipped default · all plugins (Claude plugins note) | Done 2026-11-22 in 0.4.0
- 2026-11-05 | Security first (enterprise level): never break existing behaviour (tests + review before merge); secure-by-default foundation for every project: secret scanning, least-privilege tokens, dependency pinning/audit (supply chain), input validation, signed releases, threat model in each brief, Critical/Important security findings block release. | User | Done in 1.0.1
- 2026-11-05 | Packager crashes printing its scratchpad on Windows cp1252 consoles (UnicodeEncodeError on the arrow); reconfigure stdout to UTF-8. Package itself was written. | Claude | Done in 1.0.1
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tell Claude what you want. Use your own words, and AI Add-on Builder turns that

**Download:** [aiaddon.plugin](https://github.com/syncwin/aiaddon/releases/latest/download/aiaddon.plugin) (asset of the latest GitHub release)

**Version** 0.3.0 · **Author** @wasimness · **Company** SyncWin · **Contact** support@syncwin.com · **License** MIT
**Version** 0.4.0 · **Author** @wasimness · **Company** SyncWin · **Contact** support@syncwin.com · **License** MIT

## What you can build

Expand Down Expand Up @@ -123,7 +123,7 @@ Every change also runs CodeQL, a secret scan, the injection screen, and the full

## Status

Version 0.3.0. Maintainer CI (dev tools in `dev/`, not shipped): every push to `main` and every pull request runs the 195 self-tests and 43 router cases, the directory validator, the secret scan, the injection screen, and the trigger simulation on Python 3.9 to 3.13, and `claude plugin validate --strict` passed before release. The `evals/` folder holds five live cases for `claude plugin eval`; the last full run (2026-10-12, Sonnet as judge) scored 0.93, 0.73 above the same tasks without the plugin; six-run repeats scored 1.00 on audits, intake, and scaffolding. Run them yourself with `claude plugin eval . --allow-tools Bash Write Edit --judge-model sonnet` (the shell cases need the sandbox tools bubblewrap and socat on Linux; the default small judge misreads long, table-heavy replies). Platform facts were checked against Anthropic's documentation on 2026-10-11. If you find a mismatch, please open an issue.
Version 0.4.0. Maintainer CI (dev tools in `dev/`, not shipped): every push to `main` and every pull request runs the 206 self-tests and 43 router cases, the directory validator, the secret scan, the injection screen, and the trigger simulation on Python 3.9 to 3.13, and `claude plugin validate --strict` passed before release. The `evals/` folder holds five live cases for `claude plugin eval`; the last full run (2026-10-12, Sonnet as judge) scored 0.93, 0.73 above the same tasks without the plugin; six-run repeats scored 1.00 on audits, intake, and scaffolding. Run them yourself with `claude plugin eval . --allow-tools Bash Write Edit --judge-model sonnet` (the shell cases need the sandbox tools bubblewrap and socat on Linux; the default small judge misreads long, table-heavy replies). Platform facts were checked against Anthropic's documentation on 2026-10-11. If you find a mismatch, please open an issue.

## Contributing and credits

Expand Down
4 changes: 2 additions & 2 deletions adapters/claude/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aiaddon",
"displayName": "AI Add-on Builder",
"version": "0.3.0",
"version": "0.4.0",
"description": "Describe what you want Claude to do, in your own words. AI Add-on Builder plans, builds, checks, and packages the skill or plugin for you, including internal tools for your team, and adds a Prompt Builder form that starts it. Works in Claude Code, Cowork, and claude.ai.",
"author": {
"name": "@wasimness",
Expand Down Expand Up @@ -31,7 +31,7 @@
],
"metadata": {
"displayName": "AI Add-on Builder",
"version": "0.3.0",
"version": "0.4.0",
"author": "@wasimness",
"company": "SyncWin",
"homepage": "https://github.com/syncwin/aiaddon",
Expand Down
17 changes: 17 additions & 0 deletions adapters/claude/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

Newest first.

## 0.4.0: Validator and tool feedback fixes

**Added**
- A core router can list skills from other plugins in a `## Module routes` table (same columns as the Routing table). Those rows are checked for a well-formed `<plugin>-<skill>` or `<plugin>:<skill>` slug, not against this plugin's own skills (P024).
- P023 (a skill name ending in a role noun) is a warning instead of an error for names listed in `.public-safety-allow` as `P023:<path-glob>:<name>`, so names that existed before the rule keep passing.

**Changed**
- `X014` (error) replaces `R001`/`R002`: a `/root/.claude` or `~/.claude` path in a shell command in SKILL.md, references, commands, agents or hooks. The packager refuses to package while it exists. The rule text is built from parts so the validator never matches itself.
- `D020` (directory target, error): agent frontmatter keys outside name, description, model, tools (for example `color`).
- Review and maintain: restart Claude after installing a new plugin version. Build and maintain: versioning guidance (0.0.1 start, Keep a Changelog, 1.0.0 only on the owner's word) and a generated `AGENTS.md` model-routing default.

**Fixed**
- The packager finds `validate_extension.py` next to its own tools folder first, so it no longer reports "validator not found".
- `bump_version.py` updates the README `**Version**` line whatever its old value.
- X008 no longer flags business email addresses inside `.public-safety-allow` itself; key and other rules still apply there.
- The P028 message (a router with no routing table) names the file, the `## Routing table` heading, the header row, and that each Skill cell must be an exact skill slug.

## 0.3.0: Single-branch layout

**Changed**
Expand Down
4 changes: 2 additions & 2 deletions adapters/claude/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tell Claude what you want. Use your own words, and AI Add-on Builder turns that

**Download:** [aiaddon.plugin](https://github.com/syncwin/aiaddon/releases/latest/download/aiaddon.plugin) (asset of the latest GitHub release)

**Version** 0.3.0 · **Author** @wasimness · **Company** SyncWin · **Contact** support@syncwin.com · **License** MIT
**Version** 0.4.0 · **Author** @wasimness · **Company** SyncWin · **Contact** support@syncwin.com · **License** MIT

## What you can build

Expand Down Expand Up @@ -123,7 +123,7 @@ Every change also runs CodeQL, a secret scan, the injection screen, and the full

## Status

Version 0.3.0. Maintainer CI (dev tools in `dev/`, not shipped): every push to `main` and every pull request runs the 195 self-tests and 43 router cases, the directory validator, the secret scan, the injection screen, and the trigger simulation on Python 3.9 to 3.13, and `claude plugin validate --strict` passed before release. The `evals/` folder holds five live cases for `claude plugin eval`; the last full run (2026-10-12, Sonnet as judge) scored 0.93, 0.73 above the same tasks without the plugin; six-run repeats scored 1.00 on audits, intake, and scaffolding. Run them yourself with `claude plugin eval . --allow-tools Bash Write Edit --judge-model sonnet` (the shell cases need the sandbox tools bubblewrap and socat on Linux; the default small judge misreads long, table-heavy replies). Platform facts were checked against Anthropic's documentation on 2026-10-11. If you find a mismatch, please open an issue.
Version 0.4.0. Maintainer CI (dev tools in `dev/`, not shipped): every push to `main` and every pull request runs the 206 self-tests and 43 router cases, the directory validator, the secret scan, the injection screen, and the trigger simulation on Python 3.9 to 3.13, and `claude plugin validate --strict` passed before release. The `evals/` folder holds five live cases for `claude plugin eval`; the last full run (2026-10-12, Sonnet as judge) scored 0.93, 0.73 above the same tasks without the plugin; six-run repeats scored 1.00 on audits, intake, and scaffolding. Run them yourself with `claude plugin eval . --allow-tools Bash Write Edit --judge-model sonnet` (the shell cases need the sandbox tools bubblewrap and socat on Linux; the default small judge misreads long, table-heavy replies). Platform facts were checked against Anthropic's documentation on 2026-10-11. If you find a mismatch, please open an issue.

## Contributing and credits

Expand Down
4 changes: 3 additions & 1 deletion adapters/claude/skills/aiaddon-build/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ Build only what the plan confirmed. No approved plan in context: hand to `aiaddo
- Verify field names and limits against `aiaddon/references/claude-platform-facts.md` (refresh via `claude-docs-sync.md` when stale or doubtful).
- Names, acronym, metadata: `aiaddon/references/standards.md`.
- **Secure by default:** every component follows `aiaddon/references/standards.md` §5c (exec-form commands, quoted `${CLAUDE_PLUGIN_ROOT}`, path containment, fail-closed guards, no secrets); the reference templates already do.
- **Script paths (E9):** every plugin you build tells its skills to copy needed scripts once per session into the working folder (for example `./tools/`) and run them from there; never put a `/root/.claude` or `~/.claude` path in a shell command (`R001` error in the validator).
- **Script paths (E9):** every plugin you build tells its skills to copy needed scripts once per session into the working folder (for example `./tools/`) and run them from there; never put a `/root/.claude` or `~/.claude` path in a shell command (`X014` error in the validator).
- **Versions:** a new app or plugin starts at `0.0.1` with a Keep a Changelog `CHANGELOG.md`; patch or minor bumps through the beta; `1.0.0` only on the owner's word (`aiaddon-maintain/references/versioning.md`).
- **Model routing default:** the generated plugin ships an `AGENTS.md` saying the top model plans, decides and reviews, and cheaper models execute. Before any model override on a worker, check which tools that worker needs and keep a model that has them.
- Copy the shared foundation (scratchpad, efficiency ladder, lean build, security; standards §5) into generated extensions when relevant.
- **Directory-compliant by default:** no hook files, no shipped scripts, no non-text files, text-only frontmatter; guardrails are recipe steps (copy `aiaddon-review/references/screen-text.md` into the new plugin's `references/` instead of a script). Hooks, scripts and local MCP servers only when the user asks after being told the directory refuses them from non-Verified organizations (they still work for private and GitHub-marketplace installs); offer skill or command instructions, `userConfig` with `sensitive: true`, or a remote MCP over HTTP first (`references/hooks.md`, `references/mcp-servers.md`).
- Every skill, agent, and connector you write ends with a scratchpad step.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Propose a change when a reusable gap appears (missing, wrong, ambiguous, or cont
- **Same session, same build:** add lines to the current changelog entry; don't bump per edit. New version only for a genuinely new iteration, a confirmed milestone, or an explicit request.
- `CHANGELOG.md`: newest first; per version, Added / Changed / Fixed / Removed; each line says what and why. Never delete history. A deliberate backward or skipped number gets a note.
- The plugin version moves when any skill changes (skills carry no `metadata.version`: frontmatter stays text only for the directory; a legacy one is moved with the plugin version if present) (plugin version pins users, so a changed plugin with an unchanged `version` is never delivered to existing installs).
- **Start and pace:** every new app or plugin starts at `0.0.1` with a Keep a Changelog `CHANGELOG.md`; bump patch or minor through the beta; `1.0.0` only when the owner says so.
- After an update is installed, tell the user to restart Claude (a session can keep the older cached skill text).
- Repo-backed extensions the user keeps in sync: push the update, tag a version bump, and clean orphans (`aiaddon-package/references/github.md`).
- Every update ships: edited files, changelog, the new version stated, a short what/why, revalidated and repackaged output (filename carries the version), the release diff (files kept, changed, added, dropped), scratchpad.
- Recipes: `references/bump-version.md` writes the entry and moves every version field (manifest, its metadata, marketplace entry, every skill and agent, README) from one summary; `references/release-diff.md` counts the file changes.
Expand Down
Loading