Skip to content

feat(aidd-pr): add /aidd-pr skill for PR review and fix delegation#168

Draft
ericelliott wants to merge 21 commits intomainfrom
cursor/aidd-config-json-support-24c1
Draft

feat(aidd-pr): add /aidd-pr skill for PR review and fix delegation#168
ericelliott wants to merge 21 commits intomainfrom
cursor/aidd-config-json-support-24c1

Conversation

@ericelliott
Copy link
Collaborator

@ericelliott ericelliott commented Mar 24, 2026

Summary

Implements #166: adds the /aidd-pr skill for reviewing pull requests, triaging review comments, and delegating targeted fixes to sub-agents via /aidd-fix.

What's Added / Changed

  • ai/skills/aidd-pr/SKILL.md — Skill with frontmatter, preamble (role + Competencies), then the verbatim prompt from the issue spec (including original Constraints and Commands blocks)
  • ai/skills/aidd-pr/README.md — Human-readable reference documentation
  • ai/commands/aidd-pr.md — Command shortcut that loads and executes the skill
  • ai/skills/aidd-please/SKILL.md — Added 🔍 /aidd-pr to the Commands discovery block so the main orchestrator surfaces it
  • AGENTS.md — Task Index entry: review pull request => /aidd-pr
  • Auto-generated index.md files updated

How It Works

/aidd-pr [PR URL] instructs an agent to:

  1. Use gh to identify comments already addressed — list for manual approval, then resolve after approval
  2. Validate remaining issues, and for each generate a focused /aidd-fix delegation prompt (one issue per prompt, in a markdown codeblock with nested codeblocks indented, targeting the PR branch directly)

/aidd-pr delegate dispatches those prompts to sub-agents and uses the GitHub GraphQL API to resolve related PR conversations.

Open in Web Open in Cursor 

- Add ai/skills/aidd-pr/SKILL.md with 6-step PR triage process
- Add ai/skills/aidd-pr/README.md with usage documentation
- Add ai/commands/aidd-pr.md command shortcut
- Update AGENTS.md Task Index with 'review pull request => /aidd-pr'
- Regenerate index.md files to include new skill and command

The /aidd-pr skill enables agents to:
1. Fetch PR details and review comments via gh CLI
2. Identify already-addressed comments and present for approval
3. Resolve approved conversations via GitHub GraphQL API
4. Validate remaining issues against current source
5. Generate focused /aidd-fix delegation prompts per issue
6. Optionally dispatch prompts to sub-agents

Closes #166
@ericelliott
Copy link
Collaborator Author

@janhesters @ianwhitedeveloper any idea why the AI tests are failing?

Remove the 6-step SudoLang elaboration (Steps 1–6, the pipeline line, and
the previous Constraints/Commands blocks). Insert the verbatim prompt from
issue #166 directly after the Competencies block, preserving the frontmatter
and preamble (role line + Competencies) unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants