Skip to content

docs(openhands): add keyword-triggered AI-DLC setup#372

Open
rajshah4 wants to merge 5 commits into
awslabs:mainfrom
rajshah4:codex/add-openhands-platform
Open

docs(openhands): add keyword-triggered AI-DLC setup#372
rajshah4 wants to merge 5 commits into
awslabs:mainfrom
rajshah4:codex/add-openhands-platform

Conversation

@rajshah4

Copy link
Copy Markdown

Summary

Adds OpenHands as a named AI-DLC setup path, but frames it around OpenHands' loading model rather than platform branding.

OpenHands supports always-on repository context through AGENTS.md, but also supports keyword-triggered skills. Since AI-DLC is meant to activate when the user explicitly starts with "Using AI-DLC, ...", the recommended OpenHands setup now uses a small keyword-triggered skill that points to the full rules under .aidlc/.

Changes

  • Add OpenHands to the platform setup index.
  • Add a new OpenHands setup section with:
    • recommended .agents/skills/ai-dlc/SKILL.md keyword-triggered skill setup,
    • .aidlc/ rule storage,
    • Unix/Linux/macOS and Windows PowerShell commands,
    • lightweight AGENTS.md fallback for users who prefer that convention,
    • verification steps and expected directory structure.
  • Clarify version-control guidance for OpenHands:
    • commit the keyword-triggered skill,
    • gitignore .aidlc/ unless users want pinned rule copies,
    • distinguish the OpenHands AGENTS.md fallback from the OpenAI Codex full-AGENTS.md setup.
  • Add OpenHands troubleshooting guidance for the skill path and .aidlc/ rule details path.
  • Update the experimental AI-assisted setup prompt so OpenHands creates the keyword-triggered skill instead of falling through to "Any other agent".

User experience

Before: OpenHands users were not named in the setup guide. They could reasonably follow the OpenAI Codex AGENTS.md path and copy the full AI-DLC workflow into always-on repository context, even when the current task was not an AI-DLC workflow.

After: OpenHands users get a first-class setup that keeps AGENTS.md available for concise repository knowledge and loads AI-DLC through an explicit keyword-triggered skill only when the user invokes AI-DLC.

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have reviewed the contributing guidelines
  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

Test Plan

  • Confirmed core-workflow.md already checks .aidlc/aidlc-rules/aws-aidlc-rule-details/ before the other rule-detail fallback paths.
  • Checked current OpenHands documentation for keyword-triggered skills and always-on AGENTS.md repository context.
  • Checked current OpenAI Codex documentation for AGENTS.md discovery and project_doc_max_bytes.
  • Ran npm exec --yes --package markdownlint-cli2 -- markdownlint-cli2 README.md (0 error(s)).
  • Ran git diff --check.

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

Copilot AI review requested due to automatic review settings June 16, 2026 23:05
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the README to document OpenHands support for AI-DLC, including setup steps, troubleshooting, and recommended repo hygiene.

Changes:

  • Added an OpenHands section with two activation options (keyword-triggered skill vs. AGENTS.md fallback)
  • Expanded troubleshooting with OpenHands-specific checks
  • Updated .gitignore guidance and clarified a troubleshooting row

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment on lines +1003 to +1006
# For OpenHands: commit the keyword-triggered skill; gitignore .aidlc/
.agents/skills/

# For OpenHands AGENTS.md fallback: commit AGENTS.md as a lightweight trigger
Comment thread README.md Outdated
Comment on lines +948 to +951
| Rules not loading | Check file exists in the correct location for your platform |
| File encoding issues | Ensure files are UTF-8 encoded |
| Rules not applied in session | Start a new chat session after file changes |
| Rule details not loading | Verify `.aidlc-rule-details/` exists with subdirectories |
| Rule details not loading | Verify rule details directory exists with subdirectories |
@rajshah4

rajshah4 commented Jun 16, 2026

Copy link
Copy Markdown
Author

Addressed Copilot's comments in 26d2cb7: narrowed the OpenHands skill commit path to .agents/skills/ai-dlc/ and restored a concrete rule-details path in troubleshooting.

@rajshah4 rajshah4 marked this pull request as ready for review June 16, 2026 23:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.

Comment thread README.md Outdated
Comment on lines +631 to +645
@'
---
name: ai-dlc
description: Run the AI-DLC workflow for structured software development tasks.
triggers:
- AI-DLC
- AIDLC
---

When the user invokes AI-DLC (starts with "Using AI-DLC, ..."),
read and follow `.aidlc/aidlc-rules/aws-aidlc-rules/core-workflow.md`.
'@ | Set-Content ".agents\skills\ai-dlc\SKILL.md"

# 4. Gitignore the rules directory (optional - commit it instead if you want rules pinned)
Add-Content ".gitignore" ".aidlc/"
Comment thread README.md Outdated

When the user invokes AI-DLC (starts with "Using AI-DLC, ..."),
read and follow `.aidlc/aidlc-rules/aws-aidlc-rules/core-workflow.md`.
'@ | Add-Content ".\AGENTS.md"
Comment thread README.md Outdated
Comment on lines 1000 to 1008
# These should be version controlled
CLAUDE.md

# For OpenHands: commit the keyword-triggered AI-DLC skill; gitignore .aidlc/
.agents/skills/ai-dlc/

# For OpenHands AGENTS.md fallback: commit AGENTS.md as a lightweight trigger
# For OpenAI Codex: commit AGENTS.md containing the full core-workflow.md content
AGENTS.md
Copilot AI review requested due to automatic review settings June 17, 2026 20:19
@rajshah4

Copy link
Copy Markdown
Author

Addressed the latest Copilot comments in 639fd1b and 5e47425: PowerShell snippets now write UTF-8 without BOM using .NET file APIs, and the version-control guidance is now prose bullets rather than a .gitignore/code-style block. Current PR checks are passing.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread README.md Outdated
| Rules not loading | Check file exists in the correct location for your platform |
| File encoding issues | Ensure files are UTF-8 encoded |
| Rules not applied in session | Start a new chat session after file changes |
| Rule details not loading | Verify the platform-specific rule details path, e.g. `.aidlc/aidlc-rules/aws-aidlc-rule-details/` exists |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants