docs: add authoring agent instructions guide#286
Merged
Paveltarno merged 1 commit intomainfrom Feb 23, 2026
Merged
Conversation
Contributor
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/cli@0.0.33-pr.286.ddceb19Prefer not to change any import paths? Install using npm alias so your code still imports npm i "base44@npm:@base44-preview/cli@0.0.33-pr.286.ddceb19"Or add it to your {
"dependencies": {
"base44": "npm:@base44-preview/cli@0.0.33-pr.286.ddceb19"
}
}
Preview published to npm registry — try new features instantly! |
Consolidates guidance for writing skills, CLAUDE.md, AGENTS.md, and subagent definitions into a docs topic guide with progressive disclosure patterns. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9125c24 to
9231293
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Description
This PR adds a new topic guide,
docs/authoring-agent-instructions.md, covering best practices for writing Claude Code skills,CLAUDE.mdproject instructions,AGENTS.mdfiles, and subagent definitions. It also registers the new guide indocs/AGENTS.mdalongside the existing topic guide index so it is discoverable by both humans and AI agents.Related Issue
None
Type of Change
Changes Made
docs/authoring-agent-instructions.md(154 lines) — new topic guide covering:CLAUDE.mdstructure, what to include/exclude, and anti-patternsname,description), body guidelines, and progressive disclosure levelsscripts/,references/,assets/).claude/agents/) format and a skills-vs-subagents comparison tabledocs/AGENTS.mdto add a link entry for the new guide in the topic guide indexTesting
npm test)Checklist
docs/(AGENTS.md) if I made architectural changesAdditional Notes
The new guide follows the progressive disclosure pattern already established in the docs directory — short directives plus pointers to where full details live — and stays within the ~500-line skill body budget it itself recommends.
🤖 Generated by Claude | 2026-02-23 00:00 UTC