docs: add agent contribution template#125
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds a standardized template for community contributors to document new agents. ChangesAgent Contribution Template
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
AGENTS_TEMPLATE.md (1)
10-10: ⚡ Quick winClarify command naming pattern variability.
The template shows
npm run run:<agent-name>, but the existing CLI agents use inconsistent patterns (e.g.,npm run healvs.npm run run:auto-pom). Consider adding a note that the exact command format may vary, or standardize on one pattern project-wide.📝 Suggested clarification
-**Command:** `npm run run:<agent-name>` +**Command:** `npm run <agent-name>` or `npm run run:<agent-name>` (check `package.json` scripts)Or add a note below the metadata block explaining the variation.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@AGENTS_TEMPLATE.md` at line 10, The template's example command `npm run run:<agent-name>` is misleading because CLI agents use different naming patterns (e.g., `npm run heal` and `npm run run:auto-pom`); update AGENTS_TEMPLATE.md to either standardize the pattern project-wide or add a concise note below the metadata block clarifying that the exact `npm run` command may vary per agent and show both styles (`npm run <name>` and `npm run run:<name>`) as acceptable examples so readers know the variation.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@AGENTS_TEMPLATE.md`:
- Around line 47-62: AGENTS_TEMPLATE.md currently shows an outdated payload with
fields {name, description, command, inputs}, but the “Add to Claude” button (see
AgentCard.tsx and SkillCard.tsx) copies a payload shaped as {name, description,
system_prompt, tool_schema: {input_schema: ...}, run_command}; update the
example JSON in AGENTS_TEMPLATE.md to use run_command instead of command,
include a system_prompt string, and replace the simple inputs object with a
tool_schema.input_schema that follows JSON Schema structure (e.g., properties
and required) so the template matches the actual payload produced by
AgentCard/SkillCard.
---
Nitpick comments:
In `@AGENTS_TEMPLATE.md`:
- Line 10: The template's example command `npm run run:<agent-name>` is
misleading because CLI agents use different naming patterns (e.g., `npm run
heal` and `npm run run:auto-pom`); update AGENTS_TEMPLATE.md to either
standardize the pattern project-wide or add a concise note below the metadata
block clarifying that the exact `npm run` command may vary per agent and show
both styles (`npm run <name>` and `npm run run:<name>`) as acceptable examples
so readers know the variation.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: c7a7142d-9aee-44a9-a7f3-a8a8338665d5
📒 Files selected for processing (2)
AGENTS_TEMPLATE.mdREADME.md
|
Quick check on the red This PR only touches npx prettier --check AGENTS_TEMPLATE.md README.md
git diff --checkBoth passed. The other GitHub checks for this PR are green, including Docs, UI Build, Typecheck, E2E, and CodeRabbit. |
|
Thanks, fixed both template issues in
Verification:
This follow-up was Codex-assisted and manually checked before pushing. |
Description
Adds
AGENTS_TEMPLATE.mdas a copyable scaffold for community-contributed agents, and links it from the README contribution guidelines.Fixes #55
Type of change
Checklist:
Verification:
No runtime tests were run because this is a documentation/template-only change.
This was prepared with Codex assistance, with the final docs reviewed manually and scoped to the requested template.
Summary by CodeRabbit