File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -521,6 +521,14 @@ export class InitCommand {
521521 // SKILL & COMMAND GENERATION
522522 // ═══════════════════════════════════════════════════════════
523523
524+ /**
525+ * Generates skill files and slash commands for each selected tool,
526+ * honoring the configured delivery mode (skills, commands, or both).
527+ *
528+ * @param projectPath - Absolute path to the project root
529+ * @param tools - Selected tools with their skill directory metadata
530+ * @returns Created, refreshed, and failed tools plus removed artifact counts
531+ */
524532 private async generateSkillsAndCommands (
525533 projectPath : string ,
526534 tools : Array < { value : string ; name : string ; skillsDir : string ; wasConfigured : boolean } >
Original file line number Diff line number Diff line change @@ -80,6 +80,12 @@ export class UpdateCommand {
8080 this . force = options . force ?? false ;
8181 }
8282
83+ /**
84+ * Refreshes OpenSpec skills and commands for all configured tools,
85+ * regenerating artifacts according to the effective profile and delivery mode.
86+ *
87+ * @param projectPath - Path to the project root containing the openspec directory
88+ */
8389 async execute ( projectPath : string ) : Promise < void > {
8490 const resolvedProjectPath = path . resolve ( projectPath ) ;
8591 const openspecPath = path . join ( resolvedProjectPath , OPENSPEC_DIR_NAME ) ;
You can’t perform that action at this time.
0 commit comments