Add template agent support to create-agent skill#226
Merged
Conversation
Allow seeding a new LearningAgent from an existing one by passing an optional template path. Copies core-knowledge.md, topics, and learnings from the template as a starting point, which the user can then customize. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add REQ-002.16 through REQ-002.24 covering template-based agent seeding (validation, copying, reporting, skill guidance). Update REQ-002.5 and REQ-002.6 to reflect the optional template argument. Add 16 tests for create_agent.sh covering both baseline and template flows — all passing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
template-agent-pathargument tocreate_agent.shthat copiescore-knowledge.md,topics/, andlearnings/from an existing agent as a starting pointcreate-agentSKILL.md to document template usage and guide the user through reviewing/adapting copied contentTest plan
create_agent.sh new-agentwithout template — verify it still creates the TODO placeholdercreate_agent.sh new-agent .deepwork/learning-agents/existing-agent— verify it copies core-knowledge, topics, and learningscore-knowledge.md— verify it exits with an error/learning-agents create-agent my-agent .deepwork/learning-agents/existing-agent— verify the skill guides the user through reviewing copied content🤖 Generated with Claude Code