feat(skill): add agent skills loader #453
No reviewers
Labels
No labels
auto/needs-reevaluation
controller-managed
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cleveragents/cleveragents-core!453
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/m3-agent-skills-loader"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Implements the Agent Skills Standard loader (
AgentSkillSpec) that parsesSKILL.mdfrontmatter and progressive disclosure sections into structured tool definitions. Agent Skills are mapped to Tool/Validation definitions with namespaced naming, resource binding slots, and read-only defaults.Changes
Core Implementation
src/cleveragents/skills/agent_skill_loader.py— FullAgentSkillSpecloader (~780 lines)AgentSkillSpec,AgentSkillStep,AgentSkillSupportDirPydantic modelsAgentSkillLoadErrorexception with actionable messagesload_agent_skill_spec()— full SKILL.md parser (frontmatter + steps + support dirs)scan_support_directories()— scripts/references/assets scanningmap_agent_skill_to_tool()— maps to Tool domain model with resource slots + read-only defaultsmap_agent_skill_to_tool_spec()— maps to ToolSpec for registryvalidate_skill_spec()— post-load validationsrc/cleveragents/skills/__init__.py— Updated imports and__all__with 9 new exportsTests
features/agent_skill_loader.feature— 35 Behave scenarios covering:features/steps/agent_skill_loader_steps.py— Step implementationsrobot/agent_skill_loader.robot— 10 Robot integration test casesrobot/helper_agent_skill_loader.py— Robot helperBenchmarks & Documentation
benchmarks/agent_skills_loader_bench.py— 6 ASV benchmark suitesdocs/reference/agent_skills.md— Full reference documentationAcceptance Criteria
Closes #160
What It Does
Adds the Agent Skills Standard loader (AgentSkillSpec / AgentSkillLoader) that parses SKILL.md frontmatter into structured tool definitions with a three-tier progressive disclosure model (discover / activate / deactivate). Includes Pydantic v2 models, resource binding slots for scripts/, references/, assets/ directories, full Behave test suite (50 scenarios), Robot integration tests (8 cases), ASV benchmarks, and reference docs.
Blocking Issues
Non-Blocking Issues
What Looks Good
476823dd1af8bc02869afeature/m3-agent-skills-loaderto feat(skill): add agent skills loaderCI passing, one thing to consider is to split the files above 500 lines agent_skills_loader.py, agent_skills_loader_steps.py, agent_skills_loader.feature
76db58414aba46f53b5dNew commits pushed, approval review dismissed automatically according to repository settings
ba46f53b5d4c4bd74d94