@@ -205,8 +205,7 @@ agent: $basename
205205}
206206
207207# Create skills in <skills_dir>\<name>\SKILL.md format.
208- # Most agents use hyphenated names (e.g. speckit-plan); Kimi is the
209- # current dotted-name exception (e.g. speckit.plan).
208+ # Skills use hyphenated names (e.g. speckit-plan).
210209#
211210# Technical debt note:
212211# Keep SKILL.md frontmatter aligned with `install_ai_skills()` and extension
@@ -466,7 +465,7 @@ function Build-Variant {
466465 ' kimi' {
467466 $skillsDir = Join-Path $baseDir " .kimi/skills"
468467 New-Item - ItemType Directory - Force - Path $skillsDir | Out-Null
469- New-Skills - SkillsDir $skillsDir - ScriptVariant $Script - AgentName ' kimi' - Separator ' . '
468+ New-Skills - SkillsDir $skillsDir - ScriptVariant $Script - AgentName ' kimi'
470469 }
471470 ' trae' {
472471 $rulesDir = Join-Path $baseDir " .trae/rules"
@@ -501,13 +500,13 @@ $AllAgents = @('claude', 'gemini', 'copilot', 'cursor-agent', 'qwen', 'opencode'
501500$AllScripts = @ (' sh' , ' ps' )
502501
503502function Normalize-List {
504- param ([string ]$Input )
503+ param ([string ]$Value )
505504
506- if ([string ]::IsNullOrEmpty($Input )) {
505+ if ([string ]::IsNullOrEmpty($Value )) {
507506 return @ ()
508507 }
509508
510- $items = $Input -split ' [,\s]+' | Where-Object { $_ } | Select-Object - Unique
509+ $items = $Value -split ' [,\s]+' | Where-Object { $_ } | Select-Object - Unique
511510 return $items
512511}
513512
@@ -530,7 +529,7 @@ function Validate-Subset {
530529
531530# Determine agent list
532531if (-not [string ]::IsNullOrEmpty($Agents )) {
533- $AgentList = Normalize- List - Input $Agents
532+ $AgentList = Normalize- List - Value $Agents
534533 if (-not (Validate- Subset - Type ' agent' - Allowed $AllAgents - Items $AgentList )) {
535534 exit 1
536535 }
@@ -540,7 +539,7 @@ if (-not [string]::IsNullOrEmpty($Agents)) {
540539
541540# Determine script list
542541if (-not [string ]::IsNullOrEmpty($Scripts )) {
543- $ScriptList = Normalize- List - Input $Scripts
542+ $ScriptList = Normalize- List - Value $Scripts
544543 if (-not (Validate- Subset - Type ' script' - Allowed $AllScripts - Items $ScriptList )) {
545544 exit 1
546545 }
0 commit comments