From 5904f3b2ac1229fb117028baf77041d14417b2ce Mon Sep 17 00:00:00 2001 From: bgagent Date: Mon, 1 Jun 2026 10:52:40 -0400 Subject: [PATCH] fix: restore AI-Assisted Setup agent prompt lost in merge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The body of the Experimental: AI-Assisted Setup section was dropped during the merge conflict resolution — the header survived but the prompt content merged into the Additional Resources table. Restores the content verbatim from upstream/main (added by PR #109). Co-Authored-By: Claude Sonnet 4.6 (1M context) --- README.md | 62 ++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 48 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 091620adb..601b6eece 100644 --- a/README.md +++ b/README.md @@ -876,20 +876,54 @@ For the complete reference of all documentation artifacts generated by the AI-DL ## Experimental: AI-Assisted Setup (Release Download) -| Resource | Link | -| --------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| AI-DLC Method Definition Paper | [Paper](https://prod.d13rzhkk8cj2z0.amplifyapp.com/) | -| AI-DLC Methodology Blog | [AWS Blog](https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/) | -| AI-DLC Open-source Launch Blog | [AWS Blog](https://aws.amazon.com/blogs/devops/open-sourcing-adaptive-workflows-for-ai-driven-development-life-cycle-ai-dlc/) | -| AI-DLC Example Walkthrough Blog | [AWS Blog](https://aws.amazon.com/blogs/devops/building-with-ai-dlc-using-amazon-q-developer/) | -| Amazon Q Developer Documentation | [Docs](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/q-in-IDE.html) | -| Kiro CLI Documentation | [Docs](https://kiro.dev/docs/cli/steering/) | -| Cursor Rules Documentation | [Docs](https://cursor.com/docs/context/rules) | -| Claude Code Documentation | [GitHub](https://github.com/anthropics/claude-code) | -| GitHub Copilot Documentation | [Docs](https://docs.github.com/en/copilot) | -| Working with AI-DLC (interaction patterns and tips) | [docs/WORKING-WITH-AIDLC.md](docs/WORKING-WITH-AIDLC.md) | -| Contributing Guidelines | [CONTRIBUTING.md](CONTRIBUTING.md) | -| Code of Conduct | [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) | +> Instead of manually copying files, let your AI agent handle the setup. This is an experimental workflow — currently validated with Kiro, Claude code, Cursor, Antigravity. +> +> **Note:** This approach requires your agent to have shell access (e.g., Kiro, Claude Code, Cline). For agents without shell access, follow the [Common](#common) setup above. + +Paste this prompt into your AI agent: + +```text +Set up AI-DLC in this project by doing the following: + +1. Download the latest AI-DLC release: + - Use the GitHub API to find the latest release asset URL: + curl -sL https://api.github.com/repos/awslabs/aidlc-workflows/releases/latest \ + | grep -o '"browser_download_url": *"[^"]*"' \ + | head -1 \ + | cut -d'"' -f4 + - Download the zip from that URL to /tmp/aidlc-rules.zip + - Extract it: unzip -o /tmp/aidlc-rules.zip -d /tmp/aidlc-release + - Copy the aidlc-rules/ folder from the extracted contents into .aidlc at the project root + - Clean up: rm -rf /tmp/aidlc-rules.zip /tmp/aidlc-release + +2. Create the appropriate rules/steering file for your IDE using the options below. + Pick the one that matches the agent you are running in: + + - Kiro IDE or Kiro CLI → create `.kiro/steering/ai-dlc.md` + - Amazon Q Developer → create `.amazonq/rules/ai-dlc.md` + - Antigravity → create `.agent/rules/ai-dlc.md` + - Cursor → create `.cursor/rules/ai-dlc.mdc` with frontmatter: + --- + description: "AI-DLC workflow" + alwaysApply: true + --- + - Cline → create `.clinerules/ai-dlc.md` + - Claude Code → create `CLAUDE.md` + - GitHub Copilot → create `.github/copilot-instructions.md` + - Any other agent → create `AGENTS.md` + +3. The file content should be: + When the user invokes AI-DLC, read and follow + `.aidlc/aidlc-rules/aws-aidlc-rules/core-workflow.md` to start the workflow. + +4. Add `.aidlc` to `.gitignore` unless I explicitly ask you not to. + +5. Confirm what file you created and that `.aidlc` is gitignored. +``` + +The agent will download the latest release, create the correct config file for your IDE, and gitignore the `.aidlc` directory automatically. + +**Updating AI-DLC** — Re-run the prompt above. The agent will download the latest release and overwrite the existing `.aidlc/` folder. ---