Skip to content

Improve learning-agents dispatch: template arg and dynamic listing#250

Merged
nhorton merged 4 commits intomainfrom
learning-agents-improvements
Mar 3, 2026
Merged

Improve learning-agents dispatch: template arg and dynamic listing#250
nhorton merged 4 commits intomainfrom
learning-agents-improvements

Conversation

@nhorton
Copy link
Contributor

@nhorton nhorton commented Mar 3, 2026

Summary

  • Adds optional [template-path] argument to the create subcommand, allowing new agents to be seeded from an existing agent's knowledge files
  • Adds dynamic "Existing Learning Agents" section using ! backtick syntax to auto-list agents at skill load time
  • Updates help text and examples to reflect both changes

Test plan

  • Run /learning-agents with no args — verify help text shows [template-path]
  • Run /learning-agents create test-agent — verify it works without template
  • Run /learning-agents create test-agent .deepwork/learning-agents/existing-agent — verify template seeding works
  • Verify "Existing Learning Agents" section populates dynamically when agents exist

🤖 Generated with Claude Code

nhorton and others added 4 commits March 3, 2026 11:42
- Surface the optional [template-path] argument on the create command
  so it appears in help text and routing signatures
- Add dynamic "Existing Learning Agents" section using !`ls` to show
  available agents when the skill is invoked
- Add template-path example to help text

Co-Authored-By: Claude Opus 4.6 <[email protected]>
- Add learning_agents/.deepreview with update_dispatch_skill rule
- Update architecture doc: template-path arg, dynamic listing, missing scripts/skills
- Update LA-REQ-011.4 for template-path, add LA-REQ-011.13 for agent listing
- Expand prompt_best_practices to cover learning_agents skills and agents

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Update shell_code_review to check for hardcoded shebang paths and
require #!/usr/bin/env bash for NixOS compatibility (per #247).

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
@nhorton nhorton merged commit 30ff855 into main Mar 3, 2026
5 checks passed
@nhorton nhorton deleted the learning-agents-improvements branch March 3, 2026 20:08
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.

1 participant