-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathinstall.ps1
More file actions
25 lines (20 loc) · 1.07 KB
/
Copy pathinstall.ps1
File metadata and controls
25 lines (20 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Cognitive Coverage — Copilot Skill Installer (Windows)
#
# This script installs the skill for GitHub Copilot.
# For other agents, see README.md for platform-specific instructions.
$ErrorActionPreference = "Stop"
$SkillDir = Join-Path $env:USERPROFILE ".copilot\skills\cognitive-coverage"
Write-Host "🧠 Installing Cognitive Coverage skill for GitHub Copilot..." -ForegroundColor Cyan
# Create skill directory
if (-not (Test-Path $SkillDir)) {
New-Item -ItemType Directory -Path $SkillDir -Force | Out-Null
}
# Copy skill file
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
Copy-Item (Join-Path $ScriptDir "skills\cognitive-coverage\SKILL.md") (Join-Path $SkillDir "SKILL.md") -Force
Write-Host "✅ Installed to $SkillDir\SKILL.md" -ForegroundColor Green
Write-Host ""
Write-Host "Usage: Ask Copilot to generate a 'cognitive coverage' or 'learning guide' for any project."
Write-Host "The skill works with codebases, research papers, documentation, and general knowledge."
Write-Host ""
Write-Host "For other agents (Claude Code, OpenAI Codex, etc.), see README.md."