Skip to content

docs: add command authoring guidelines - #308

Merged
jpage-godaddy merged 3 commits into
mainfrom
docs/command-authoring-guidelines
Oct 2, 2026
Merged

jpage-godaddy merged 3 commits into
mainfrom
docs/command-authoring-guidelines

Conversation

@sswaminathan-godaddy

Copy link
Copy Markdown
Collaborator

Summary

  • Add conventions to AGENTS.md (read by Claude Code, Codex, Cursor, and Copilot code review): extra bullets under Command Patterns, plus new "Reuse Before You Build" and "User-Facing Text" sections.
  • Add docs/command-authoring.md with the longer checklist and rationale (reuse, correctness/security, customer-facing text, guides, PRs).
  • Link the checklist from docs/maintainers.md.

Docs-only; no code changes.

🤖 Generated with Claude Code

Add reuse, correctness, and user-facing text conventions to AGENTS.md,
with a longer checklist in docs/command-authoring.md linked from the
maintainers guide.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

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.

Copilot review overview

🟡 Changes recommended

The path-encoding guidance could cause double encoding when using generated clients.

Review effort: Balanced
Findings: 2 Low severity

Open (2)
What changed in this PR

Adds command-authoring standards for contributors and coding agents.

Changes:

  • Documents reuse, security, rendering, and customer-facing text conventions.
  • Adds a detailed command-authoring checklist.
  • Links the checklist from maintainer onboarding.
File Description
AGENTS.md Adds concise command-authoring requirements.
docs/​command-authoring.md Adds the expanded checklist and rationale.
docs/​maintainers.md Links to the new checklist.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread AGENTS.md Outdated
Comment thread docs/command-authoring.md Outdated
sswaminathan-godaddy and others added 2 commits October 1, 2026 18:12
Address review feedback (generated clients already encode path params;
checklist applies to standalone commands too) and add conventions for
dry-run, next actions, input validation, API result handling, and guides.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Expand the unclear conventions with concrete explanations, join
hard-wrapped lines, merge overlapping bullets, and drop the
ambiguity rule.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jpage-godaddy
jpage-godaddy merged commit 687da15 into main Oct 2, 2026
4 checks passed
@jpage-godaddy
jpage-godaddy deleted the docs/command-authoring-guidelines branch October 2, 2026 01:29
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.

3 participants