julien-dev-powershell-profile
Manage PowerShell profile, aliases, functions. Triggers: add alias, update profile, modify claude command, Microsoft.PowerShell_profile.ps1
When & Why to Use This Skill
The PowerShell Profile Manager is a specialized Claude skill designed to automate the management of PowerShell profiles, aliases, and functions. It streamlines developer workflows by programmatically editing the Microsoft.PowerShell_profile.ps1 file, allowing users to quickly add custom commands, update environment settings, and resolve common synchronization issues like OneDrive conflicts. This tool ensures a consistent and optimized terminal environment for Windows-based development.
Use Cases
- Custom Alias Creation: Quickly define short command aliases for frequently used complex CLI tools to boost terminal productivity and reduce typing effort.
- Environment Configuration: Automatically update the PowerShell profile to include new environment variables, paths, or startup scripts without manual file editing.
- Function Automation: Add or modify reusable PowerShell functions within the profile to automate repetitive system tasks or complex command sequences.
- Sync Conflict Resolution: Utilize built-in Python-based workarounds to modify profile files when standard file access is restricted by OneDrive synchronization locks.
| name | julien-dev-powershell-profile |
|---|---|
| description | "Manage PowerShell profile, aliases, functions. Triggers: add alias, update profile, modify claude command, Microsoft.PowerShell_profile.ps1" |
PowerShell Profile Manager
Profile: C:\Users\julien\OneDrive\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
Workflow
- Read profile to identify correct section (11 numbered sections)
- Edit profile (or use Python if OneDrive sync fails)
- User runs
rupto 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
rupor new terminal
Compatible Skills After
- None typically (standalone modifications)
Tools Used
Read(read current profile state)Edit(modify profile sections)Bashwith 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