env-sync
Env Sync - Git Worktree Environment File Synchronization
This skill syncs .env files from a git root repository to git worktrees.
When to Use
- User asks to sync env or copy env
- User mentions missing environment variables or .env file
- Working in a git worktree that lacks a .env file
- User asks to set up environment for a worktree
Security Rules
- NEVER display .env file contents - they contain secrets
- ALWAYS ask before overwriting - if .env already exists, confirm with user first
- Validate paths - ensure the root path exists and is a valid git repository
- No arbitrary paths - only sync from the actual git root repository
Instructions for Agent
More from qiaoshouqing/skills
daily-news
Generate daily design inspiration & novel things report. Use when user asks for 'design news', 'design daily', 'design inspiration', '设计日报', '设计灵感', 'デザインニュース', 'what's new in design', 'novel products', '新奇事物'. Aggregates from Dribbble, Awwwards, Product Hunt, Behance, design influencers on Twitter, and more.
37video-downloader
Download videos using yt-dlp. Use when user asks to download video, download audio, download subtitles, or provides a video URL from YouTube, Bilibili, Twitter, etc.
10code-standards
Setup universal code quality standards in your project. Use when the user wants to generate coding standards files (CLAUDE.md, AGENTS.md, GEMINI.md, etc.) or mentions 'code standards', 'code review setup', or similar intent in any language.
10ship
Commit, push, and create a PR in one step. Use when the user says 'ship', 'ship it', '/ship', '提交PR', '发PR', or wants to commit + push + create a pull request in a single action.
7