-
Notifications
You must be signed in to change notification settings - Fork 347
feat: add interactive CLI installer for multi-agent rule setup #166
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
base: main
Are you sure you want to change the base?
Changes from all commits
050ff44
eee2285
14dbb20
4537d41
c333ec3
ad8df56
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| node_modules/ | ||
| *.tgz | ||
| aidlc-rules/ |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,67 @@ | ||||||||||||||||||||||||||||||||||||||
| # aidlc-install | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| Interactive CLI installer for [AI-DLC](https://github.com/awslabs/aidlc-workflows) rules across coding agents. | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| ## Usage | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||||||||||||||||
| npx aidlc-install | ||||||||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| Interactively select which agents to install AI-DLC rules for: | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||||||||
| ┌ AI-DLC Rules Installer | ||||||||||||||||||||||||||||||||||||||
| │ | ||||||||||||||||||||||||||||||||||||||
| ◇ Agent Detection | ||||||||||||||||||||||||||||||||||||||
| │ Detected: Kiro, Claude Code | ||||||||||||||||||||||||||||||||||||||
| │ | ||||||||||||||||||||||||||||||||||||||
| ◆ Select agents to install rules for: | ||||||||||||||||||||||||||||||||||||||
| │ ● Kiro .kiro/steering/ (detected) | ||||||||||||||||||||||||||||||||||||||
| │ ○ Amazon Q Developer .amazonq/rules/ | ||||||||||||||||||||||||||||||||||||||
| │ ○ Cursor IDE .cursor/rules/ai-dlc-workflow.mdc | ||||||||||||||||||||||||||||||||||||||
| │ ○ Cline .clinerules/ | ||||||||||||||||||||||||||||||||||||||
| │ ● Claude Code CLAUDE.md (detected) | ||||||||||||||||||||||||||||||||||||||
| │ ○ GitHub Copilot .github/copilot-instructions.md | ||||||||||||||||||||||||||||||||||||||
| │ | ||||||||||||||||||||||||||||||||||||||
| ◆ Installation mode: | ||||||||||||||||||||||||||||||||||||||
| │ ● Symlink (recommended) | ||||||||||||||||||||||||||||||||||||||
| │ ○ Copy | ||||||||||||||||||||||||||||||||||||||
| │ | ||||||||||||||||||||||||||||||||||||||
| └ Done! Restart your agent to load the new rules. | ||||||||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| ## Supported Agents | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| | Agent | Install Path | | ||||||||||||||||||||||||||||||||||||||
| |-------|-------------| | ||||||||||||||||||||||||||||||||||||||
| | Kiro | `.kiro/steering/aws-aidlc-rules` | | ||||||||||||||||||||||||||||||||||||||
| | Amazon Q Developer | `.amazonq/rules/aws-aidlc-rules` | | ||||||||||||||||||||||||||||||||||||||
| | Cursor IDE | `.cursor/rules/ai-dlc-workflow.mdc` | | ||||||||||||||||||||||||||||||||||||||
| | Cline | `.clinerules/core-workflow.md` | | ||||||||||||||||||||||||||||||||||||||
| | Claude Code | `CLAUDE.md` | | ||||||||||||||||||||||||||||||||||||||
| | GitHub Copilot | `.github/copilot-instructions.md` | | ||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+36
to
+43
|
||||||||||||||||||||||||||||||||||||||
| | Agent | Install Path | | |
| |-------|-------------| | |
| | Kiro | `.kiro/steering/aws-aidlc-rules` | | |
| | Amazon Q Developer | `.amazonq/rules/aws-aidlc-rules` | | |
| | Cursor IDE | `.cursor/rules/ai-dlc-workflow.mdc` | | |
| | Cline | `.clinerules/core-workflow.md` | | |
| | Claude Code | `CLAUDE.md` | | |
| | GitHub Copilot | `.github/copilot-instructions.md` | | |
| | Agent | Rules Path | Rule Details Path | | |
| |-------|------------|-------------------| | |
| | Kiro | `.kiro/steering/aws-aidlc-rules` | `.kiro/aws-aidlc-rule-details/` | | |
| | Amazon Q Developer | `.amazonq/rules/aws-aidlc-rules` | `.aidlc-rule-details/` | | |
| | Cursor IDE | `.cursor/rules/ai-dlc-workflow.mdc` | `.aidlc-rule-details/` | | |
| | Cline | `.clinerules/core-workflow.md` | `.aidlc-rule-details/` | | |
| | Claude Code | `CLAUDE.md` | `.aidlc-rule-details/` | | |
| | GitHub Copilot | `.github/copilot-instructions.md` | `.aidlc-rule-details/` | |
Copilot
AI
Apr 1, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The “Supported Agents” table omits the rule-details destinations that are also installed (e.g. .aidlc-rule-details/, .kiro/aws-aidlc-rule-details, .amazonq/aws-aidlc-rule-details). Update this section to include both installed paths so the docs match actual installer behavior.
| | Agent | Install Path | | |
| |-------|-------------| | |
| | Kiro | `.kiro/steering/aws-aidlc-rules` | | |
| | Amazon Q Developer | `.amazonq/rules/aws-aidlc-rules` | | |
| | Cursor IDE | `.cursor/rules/ai-dlc-workflow.mdc` | | |
| | Cline | `.clinerules/core-workflow.md` | | |
| | Claude Code | `CLAUDE.md` | | |
| | GitHub Copilot | `.github/copilot-instructions.md` | | |
| | Agent | Install Path(s) | | |
| |-------|-----------------| | |
| | Kiro | `.kiro/steering/aws-aidlc-rules`, `.kiro/aws-aidlc-rule-details` | | |
| | Amazon Q Developer | `.amazonq/rules/aws-aidlc-rules`, `.amazonq/aws-aidlc-rule-details` | | |
| | Cursor IDE | `.cursor/rules/ai-dlc-workflow.mdc` | | |
| | Cline | `.clinerules/core-workflow.md` | | |
| | Claude Code | `CLAUDE.md` | | |
| | GitHub Copilot | `.github/copilot-instructions.md` | | |
| The installer also creates a workspace-level `.aidlc-rule-details/` directory that contains shared rule details, alongside the per-agent rule-details directories such as `.kiro/aws-aidlc-rule-details` and `.amazonq/aws-aidlc-rule-details`. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| { | ||
| "name": "@inariku/aidlc-install", | ||
| "version": "0.1.1", | ||
| "description": "Interactive installer for AI-DLC rules across coding agents", | ||
| "license": "MIT-0", | ||
| "bin": { | ||
| "aidlc-install": "src/index.mjs" | ||
| }, | ||
| "type": "module", | ||
| "files": [ | ||
| "src/", | ||
| "aidlc-rules/", | ||
| "README.md" | ||
| ], | ||
| "scripts": { | ||
| "prepack": "node -e \"require('fs').cpSync('../aidlc-rules','aidlc-rules',{recursive:true})\"", | ||
| "postpack": "node -e \"require('fs').rmSync('aidlc-rules',{recursive:true,force:true})\"" | ||
| }, | ||
| "dependencies": { | ||
| "@clack/prompts": "^0.11.0" | ||
| }, | ||
| "engines": { | ||
| "node": ">=18" | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The markdown table under "Supported Agents" uses
||at the start of each row, which renders as an extra empty column in many renderers. Use a single leading|per row to form a standard 2-column table.