feat(aidd-context): per-artifact context generators (skill, rule, agent, command, hook)#264
Merged
Merged
Conversation
Contributor
|
@blafourcade All good on simplifera après :) |
Split the 03-context-generate monolith into five dedicated router-based skills: 07-skill, 08-rule, 09-agent, 10-command, 11-hook. - SKILL.md and actions stay tool-agnostic; per-tool data (paths, frontmatter, events, scopes) lives only in references. - Host-project and plugin-source write modes, plus modify mode for skills. - Unsupported tools are skipped with an actionable reason. - Hook support researched across all five tools and corrected to match the installed CLIs (Codex hooks are stable/default-on, not flag-gated). - Detection verified end-to-end against the real CLIs for Claude, Copilot, OpenCode, and Codex. - Registered in plugin.json; CATALOG and README counts regenerated. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
A plugin or standalone hooks/hooks.json wraps the event map under a top-level `hooks` key, the same as settings.json. The reference wrongly stated the file is the bare hooks object, which `claude plugin validate` rejects (verified: the wrapped form passes, the bare form fails). Inherited from the monolith. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…enerators Reduce 03-context-generate from a seven-artifact monolith to a thin router that hands off to the dedicated generators, and renumber the generators to 04-08 so they sit directly after the router (mermaid, learn, discovery move to 09-11). - Drop plugin and marketplace generation (parked); update descriptions and docs. - Update every cross-reference, the plugin.json order, and the catalog. - Each SKILL name now matches its folder; all aidd-context:NN refs resolve. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
d6f185b to
23e373a
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Splits the
03-context-generatemonolith into five dedicated, router-based generators:Each follows the same contract: a tool-agnostic
SKILL.md+ actions, with all per-tool data (paths, frontmatter, events, scopes) isolated inreferences/.Why
The monolith was verbose and over-coupled (one action per case, tool-specifics leaking into agnostic files). These are leaner, self-conforming to the R1-R11 skill-authoring contract, and easier to maintain per artifact.
Highlights
Not in this PR (follow-ups)
publishskill (package a user's artifacts into a distributable plugin + marketplace entry), which replaces the monolith'splugin/marketplacetypes.03-context-generate.🤖 Generated with Claude Code