-
Notifications
You must be signed in to change notification settings - Fork 347
feat: add Claude Code and Cursor plugins for AIDLC methodology #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rsmets
wants to merge
3
commits into
awslabs:main
Choose a base branch
from
rsmets:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "name": "aidlc", | ||
| "version": "0.1.8", | ||
| "description": "AI-Driven Development Life Cycle \u2014 structured adaptive workflow for software development with AI coding agents", | ||
| "repository": "https://github.com/awslabs/aidlc-workflows", | ||
| "license": "Apache-2.0" | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # markdownlint overrides for aidlc-rules/ (LLM prompt files) | ||
| # These rules are temporarily disabled pending incremental remediation. | ||
| # Each rule is re-enabled in a separate PR after fixing its violations. | ||
| # See PR #159 for the full remediation plan ordered by LLM prompt impact. | ||
|
|
||
| config: | ||
| # --- Tier 1: Zero prompt impact (invisible whitespace) --- | ||
| MD009: false # no-trailing-spaces (9 violations) | ||
| MD012: false # no-multiple-blanks (2 violations) | ||
| MD047: false # single-trailing-newline (4 violations) | ||
|
|
||
| # --- Tier 2: Zero prompt impact (formatting normalization) --- | ||
| MD029: false # ol-prefix (1 violation) | ||
| MD026: false # no-trailing-punctuation (17 violations) | ||
|
|
||
| # --- Tier 3: Zero prompt impact (blank line structure) --- | ||
| MD022: false # blanks-around-headings (274 violations) | ||
| MD032: false # blanks-around-lists (426 violations) | ||
| MD031: false # blanks-around-fences (31 violations) | ||
|
|
||
| # --- Tier 4: Minimal prompt impact (table/URL formatting) --- | ||
| MD060: false # table-column-style (34 violations) | ||
|
|
||
| # --- Tier 5: Low prompt impact (structural cosmetic) --- | ||
| MD046: false # code-block-style (8 violations) | ||
| MD007: false # ul-indent (34 violations) | ||
|
|
||
| # --- Tier 6: Needs review (adds content or changes structure) --- | ||
| MD040: false # fenced-code-language (18 violations) | ||
| MD025: false # single-title (13 violations) | ||
|
|
||
| # --- Plugin-specific overrides --- | ||
| MD041: false # first-line-heading — plugin files use YAML frontmatter |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,156 @@ | ||
| # AI-DLC Claude Code Plugin | ||
|
|
||
| AI-Driven Development Life Cycle (AI-DLC) packaged as a Claude Code plugin. | ||
| Provides an adaptive three-phase software development workflow (Inception, | ||
| Construction, Operations) driven by an orchestrator agent, phase-specific slash | ||
| commands, and progressive-disclosure skills. | ||
|
|
||
| **Version**: 0.1.8 | ||
| **Source of truth**: `aidlc-rules/` in this repository | ||
| **Generator**: `scripts/build-cc-plugin.py` | ||
|
|
||
| > This directory is **generated**. Do not edit files here directly — edit the | ||
| > canonical sources in `aidlc-rules/` and run the generator. CI enforces sync. | ||
|
|
||
| ## What You Get | ||
|
|
||
| | Component | Purpose | | ||
| | ---------------------------- | ------------------------------------------------------------ | | ||
| | `/aidlc` | Start or resume an AI-DLC workflow | | ||
| | `/aidlc:inception` | Start or resume the Inception phase | | ||
| | `/aidlc:construction` | Start or resume the Construction phase | | ||
| | `/aidlc:operations` | Start or resume the Operations phase (placeholder) | | ||
| | `aidlc-orchestrator` agent | Drives the three-phase workflow, detects phase from state | | ||
| | `aidlc-core-workflow` skill | Master workflow definition | | ||
| | `aidlc-inception` skill | Inception phase rules (workspace detection, requirements, …) | | ||
| | `aidlc-construction` skill | Construction phase rules (design, NFR, code generation, …) | | ||
| | `aidlc-operations` skill | Operations phase rules (placeholder) | | ||
| | `aidlc-common` skill | Cross-cutting rules (terminology, depth, error handling, …) | | ||
| | `aidlc-security-baseline` | Opt-in security extension | | ||
| | `aidlc-property-testing` | Opt-in property-based testing extension | | ||
|
|
||
| ## Installing | ||
|
|
||
| ### For Development (Local Path) | ||
|
|
||
| Use `--plugin-dir` to load the plugin from a local path for a single session. | ||
| This is the fastest way to iterate on plugin changes without publishing. | ||
|
|
||
| ```bash | ||
| # From a clone of this repo, at the repo root: | ||
| claude --plugin-dir ./plugins/claude-code-aidlc | ||
| ``` | ||
|
|
||
| The flag is repeatable for loading multiple plugins side-by-side: | ||
|
|
||
| ```bash | ||
| claude --plugin-dir ./plugins/claude-code-aidlc --plugin-dir ../other-plugin | ||
| ``` | ||
|
|
||
| Inside the session, use `/reload-plugins` to pick up changes without | ||
| restarting Claude Code. | ||
|
|
||
| ### For Persistent Local Install (Development) | ||
|
|
||
| Add this repo as a local marketplace, then install the plugin from it: | ||
|
|
||
| ```bash | ||
| # Register the repo as a marketplace (persists across sessions) | ||
| claude plugin marketplace add /absolute/path/to/aws-aidlc-workflows | ||
|
|
||
| # Install the aidlc plugin | ||
| claude plugin install aidlc | ||
| ``` | ||
|
|
||
| Scope the install with `--scope user|project|local` if needed (defaults to | ||
| `user`). | ||
|
|
||
| ### For End Users (Git Install) | ||
|
|
||
| Once published, users install directly from the repository: | ||
|
|
||
| ```bash | ||
| claude plugin marketplace add https://github.com/awslabs/aidlc-workflows | ||
| claude plugin install aidlc | ||
| ``` | ||
|
|
||
| ## Using the Plugin | ||
|
|
||
| After installation, start or resume a workflow: | ||
|
|
||
| ```text | ||
| /aidlc | ||
| ``` | ||
|
|
||
| With no argument, the orchestrator detects existing AIDLC state in the | ||
| workspace (via `aidlc-docs/aidlc-state.md`) and either resumes or shows the | ||
| welcome message. You can also provide an initial request: | ||
|
|
||
| ```text | ||
| /aidlc build a REST API for order management | ||
| ``` | ||
|
|
||
| Target a specific phase: | ||
|
|
||
| ```text | ||
| /aidlc:inception | ||
| /aidlc:construction | ||
| /aidlc:operations | ||
| ``` | ||
|
|
||
| ## How It Works | ||
|
|
||
| 1. The orchestrator agent detects current phase from workspace state | ||
| 2. It loads the appropriate phase skill (`aidlc-inception`, | ||
| `aidlc-construction`, or `aidlc-operations`) on demand | ||
| 3. Each skill's `references/` directory contains the rule-detail files — | ||
| loaded lazily as the workflow progresses | ||
| 4. The `aidlc-common` skill provides cross-cutting rules (terminology, | ||
| question formatting, error handling) referenced throughout | ||
| 5. Extension skills (`aidlc-security-baseline`, `aidlc-property-testing`) are | ||
| loaded only when the user opts in during Requirements Analysis | ||
|
|
||
| All rule content is bundled with the plugin — no workspace file copies | ||
| required. | ||
|
|
||
| ## Contributing | ||
|
|
||
| Do not edit files in this directory directly. Edit the canonical source in | ||
| `aidlc-rules/` at the repository root, then regenerate: | ||
|
|
||
| ```bash | ||
| python scripts/build-cc-plugin.py | ||
| ``` | ||
|
rsmets marked this conversation as resolved.
|
||
|
|
||
| CI (`plugin-sync` job) runs the generator on every PR and fails if the | ||
| committed output drifts from the source. | ||
|
|
||
| ## Structure | ||
|
|
||
| ```text | ||
| plugins/claude-code-aidlc/ | ||
| ├── .claude-plugin/ | ||
| │ └── plugin.json # Plugin manifest (name, version, metadata) | ||
| ├── agents/ | ||
| │ └── aidlc-orchestrator.md # Orchestrator agent definition | ||
| ├── commands/ | ||
| │ ├── aidlc.md # /aidlc entry command | ||
| │ ├── aidlc-inception.md # /aidlc:inception | ||
| │ ├── aidlc-construction.md # /aidlc:construction | ||
| │ └── aidlc-operations.md # /aidlc:operations | ||
| └── skills/ | ||
| ├── aidlc-core-workflow/ | ||
| ├── aidlc-inception/ | ||
| ├── aidlc-construction/ | ||
| ├── aidlc-operations/ | ||
| ├── aidlc-common/ | ||
| ├── aidlc-security-baseline/ | ||
| └── aidlc-property-testing/ | ||
| ``` | ||
|
|
||
| Each skill contains a `SKILL.md` and a `references/` subdirectory with the | ||
| bundled rule-detail files. | ||
|
|
||
| ## License | ||
|
|
||
| Apache-2.0 — see [LICENSE](../../LICENSE). | ||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.