julien-dev-powershell-profile

majiayu000 的头像作者 majiayu000

管理 PowerShell 配置文件、别名、函数。触发器:添加别名、更新配置文件、修改 claude 命令、Microsoft.PowerShell_profile.ps1

📖 中文导读:管理 PowerShell 配置文件、别名、函数。触发器:添加别名、更新配置文件、修改 claude 命令、Microsoft.PowerShell_profile.ps1 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: julien-dev-powershell-profile description: "Manage PowerShell profile, aliases, functions. Triggers: add alias, update profile, modify claude command, Microsoft.PowerShell_profile.ps1" triggers: - powershell profile - add alias - update profile - modify claude command - powershell alias - ps1 profile

PowerShell Profile Manager

Profile: C:\Users\julien\OneDrive\Documents\PowerShell\Microsoft.PowerShell_profile.ps1

Workflow

  1. Read profile to identify correct section (11 numbered sections)
  2. Edit profile (or use Python if OneDrive sync fails)
  3. User runs rup to reload

Reference Files

Need File
Section details references/profile-structure.md
Code patterns references/code-patterns.md
OneDrive issues references/troubleshooting.md

Skill Chaining

Skills Required Before

  • None (entry point skill)

Input Expected

  • User request to modify profile/alias/function
  • Clear description of desired behavior

Output Produced

  • Format: Modified Microsoft.PowerShell_profile.ps1
  • Side effects: Changes apply after rup or new terminal

Compatible Skills After

  • None typically (standalone modifications)

Tools Used

  • Read (read current profile state)
  • Edit (modify profile sections)
  • Bash with Python (workaround for OneDrive sync)

Visual Workflow

User: "Add/modify PowerShell alias"
    ↓
[THIS SKILL]
    ├─► Read profile + refs as needed
    ├─► Identify correct section
    ├─► Edit (or Python workaround)
    └─► Verify modification
    ↓
User runs `rup` or opens new terminal