22 lines
1.0 KiB
Rust
22 lines
1.0 KiB
Rust
//! Skill use cases (ARCHITECTURE §14.2; L12).
|
|
//!
|
|
//! Skills are reusable, model-agnostic workflows (IdeA's universal equivalent of
|
|
//! a CLI slash-command). This module owns their CRUD across both scopes
|
|
//! ([`domain::skill::SkillScope`]) and the agent↔skill assignment that records a
|
|
//! [`domain::skill::SkillRef`] in the project manifest. The actual injection of
|
|
//! an assigned skill's body into the generated convention file happens at agent
|
|
//! activation (L6).
|
|
//!
|
|
//! Every use case talks only to ports ([`domain::ports::SkillStore`],
|
|
//! [`domain::ports::AgentContextStore`], [`domain::ports::IdGenerator`],
|
|
//! [`domain::ports::EventBus`]).
|
|
|
|
mod usecases;
|
|
|
|
pub use usecases::{
|
|
AssignSkillToAgent, AssignSkillToAgentInput, AssignedSkillResolver, CreateSkill,
|
|
CreateSkillInput, CreateSkillOutput, DeleteSkill, DeleteSkillInput, ListSkills,
|
|
ListSkillsInput, ListSkillsOutput, ReadSkill, ReadSkillInput, UnassignSkillFromAgent,
|
|
UnassignSkillFromAgentInput, UpdateSkill, UpdateSkillInput, UpdateSkillOutput,
|
|
};
|