Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions packages/genomic/src/scaffolder/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,17 @@ export interface BoilerplatesConfig {
dir?: string;
}

/**
* Declares a skill to install after scaffolding completes.
* Used with the agentskills.io CLI (`npx skills add <source> --skill <name>`).
*/
export interface BoilerplateSkill {
/** GitHub repository in org/repo format, or a full URL */
source: string;
/** Skill name(s) to install from the source */
skills: string[];
}

/**
* Configuration for a single boilerplate template.
* Stored in `.boilerplate.json` within each template directory.
Expand All @@ -153,6 +164,13 @@ export interface BoilerplateConfig {
* Questions to prompt the user during scaffolding
*/
questions?: Question[];

/**
* Skills to install after scaffolding completes.
* Each entry specifies a source repository and skill names to install.
* Non-fatal: callers should handle install failures gracefully.
*/
skills?: BoilerplateSkill[];
}

/**
Expand Down
Loading