Repository navigation
Description
Problem to solve
Projects using AIDD may need to combine its development workflows with third-party skills, organization-specific practices, or additional project-specific actions.
For example, Astronomer's Airflow skills provide technology-specific guidance but also define their own workflows. Installing them alongside AIDD does not explicitly establish how these skills should participate in AIDD workflows without overlapping responsibilities or bypassing existing steps.
Projects may also need to execute additional actions before or after an AIDD skill. There is currently no documented generic extension mechanism for doing so without modifying or duplicating upstream skills.
Project instructions can express these expectations, but execution order, completion, and mandatory extensions are difficult to verify consistently.
Proposed solution
Allow projects to extend existing AIDD skill workflows while preserving their native responsibilities and contracts.
Support:
- Loading external skills as contextual guidance, without necessarily executing their full workflows.
- Executing additional skills, agents, or commands before or after an AIDD skill.
- Declaring extension order and whether an extension is mandatory or optional.
- Handling unavailable capabilities, conflicts, and execution failures explicitly.
- Preserving project-defined extensions across framework updates.
Extensions should respect the scope of the current skill, existing permission boundaries, and AIDD's cross-plugin independence.
The configuration format, storage location, execution mechanism, and ownership are left open.
Example use cases
| AIDD skill | Extension point | Additional capability |
|---|---|---|
| Plan | Before | Load Airflow DAG authoring guidance |
| Plan | Before | Load external architecture rules |
| Plan | After | Validate the proposed architecture against project constraints |
| Implement | Before | Load technology-specific implementation guidance |
| Assert | After | Execute a project-specific deterministic compliance checker |
| Review | After | Run an additional specialist review |
Acceptance criteria
- A project can declare extensions without modifying or duplicating upstream AIDD skills.
- External skill guidance can inform an AIDD step without triggering an unrelated workflow or violating the step's scope.
- Additional skills and commands execute in the declared order, before the native workflow begins or after its actual completion.
- Extensions apply to supported skills invoked directly or through the SDLC orchestrator.
- Missing or failing mandatory extensions prevent a successful extended-step result; skipped or failed optional extensions are reported.
- Extensions preserve native validation, approval requirements, artifact contracts, and host permissions.
- Execution results identify which extensions ran, were skipped, or failed.
- Existing behavior remains unchanged when no extensions are configured.
- Project-defined extensions survive framework updates.
- The mechanism is documented and validated on at least two supported agent hosts, with host limitations made explicit.
Content type
- Rule
- Skill
- Command
- Agent
- Plugin
- Other
Target tool(s)
- Claude Code
- Cursor
- Windsurf
- Gemini CLI
- Other
Host-neutral behavior is intended, including Kilo Code, Codex, and OpenCode.
Additional context
Prior art in this repo
- feat(framework): template override mechanism for skill templates #145: Template overrides, explicitly excluding skill actions and
SKILL.md. - feat(aidd-orchestrator): route by discovered capability, not hardcoded plugin #146: Dynamic capability discovery.
- feat(framework): specialized plugins — craftsmanship and tech stacks #148: Technology-specific plugins.
- feat(aidd-dev): pluggable specialist agents on spec and code-review #591: Pluggable specialist agents for specification and code review. Its closure rationale identifies permission, provenance, portability, and workflow ownership concerns relevant to this proposal.
- spike(framework): validate a portable project-policy boundary #585: Portable project-policy boundary and configuration lifecycle.
- feat(framework): emit step boundaries instead of inferring them #663: Skill boundaries for telemetry. The recorded experiments distinguish skill invocation from actual workflow completion, which is relevant to reliable post-skill extensions.
Relevant source contracts:
- Skill execution, delegation and plugin independence
- Planning workflow
- Implementation workflow
- SDLC orchestration
Constraints
A host-level skill-loading event does not necessarily indicate that the skill's work has completed. Extension sequencing should account for this distinction rather than assume equivalent lifecycle hooks across hosts.
Out of scope
- Replacing or disabling mandatory AIDD steps.
- Arbitrary overrides of upstream skill implementations.
- Maintaining technology-specific skills within AIDD.
- Duplicating existing project validation mechanisms.
- Introducing a separate workflow engine.
Code of Conduct
- I agree to follow this project's Code of Conduct.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIdeation
Activity