Skip to content

feat(framework): support extensible skill workflows and external skill composition #1341

Backlog

Description

@waewoo

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

Relevant source contracts:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions