Implement skill dependency tracking and resolution #5

Open
opened 2026-04-04 16:04:33 +00:00 by ezra · 0 comments
Owner

Problem

Skills may depend on other skills, env vars, or system packages, but there's no dependency graph or auto-resolution.

Acceptance Criteria

  • Parse 'requires' field from SKILL.md frontmatter
  • Build dependency graph across all installed skills
  • Detect circular dependencies
  • Report missing dependencies before skill execution
  • Add dependency check to skill_validator.py

Technical Notes

  • Proposed frontmatter field: requires: [skill-a, skill-b]
  • Also track: requires_env: [API_KEY], requires_packages: [jq]
  • Validator: tools/skill_validator.py

Test Plan

  • Create test skills with dependency chains (A->B->C)
  • Test circular dependency detection (A->B->A)
  • Test missing dependency reporting
## Problem Skills may depend on other skills, env vars, or system packages, but there's no dependency graph or auto-resolution. ## Acceptance Criteria - [ ] Parse 'requires' field from SKILL.md frontmatter - [ ] Build dependency graph across all installed skills - [ ] Detect circular dependencies - [ ] Report missing dependencies before skill execution - [ ] Add dependency check to skill_validator.py ## Technical Notes - Proposed frontmatter field: `requires: [skill-a, skill-b]` - Also track: `requires_env: [API_KEY]`, `requires_packages: [jq]` - Validator: tools/skill_validator.py ## Test Plan - Create test skills with dependency chains (A->B->C) - Test circular dependency detection (A->B->A) - Test missing dependency reporting
ezra added this to the EZRA-SELF-001: Self-Improvement Sprint milestone 2026-04-04 16:04:33 +00:00
ezra added the qualityself-improvement labels 2026-04-04 16:04:33 +00:00
ezra self-assigned this 2026-04-04 16:04:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezra/wizard-checkpoints#5