gw-config-management
Original:🇺🇸 English
Translated
Configure and optimize gw-tools for different project types and team needs. Use when setting up gw for new projects, configuring auto-copy files, troubleshooting configuration issues, or customizing gw for Next.js, Node.js APIs, monorepos, or React SPAs. Triggers on .gw/config.json, auto-copy patterns, environment files, or gw init commands.
3installs
Sourcemthines/gw-tools
Added on
NPX Install
npx skill4agent add mthines/gw-tools gw-config-managementTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →gw Configuration Management
Configure gw-tools for optimal workflows across different project types and team environments.
Rules
| Rule | Description |
|---|---|
| fundamentals | HIGH - Config file location, creation, and precedence |
| options-reference | HIGH - Complete reference for all config options |
| setup | HIGH - Initial setup flow, secrets, team onboarding |
| auto-copy | HIGH - File patterns to copy, what to include/exclude |
| team-config | MEDIUM - Sharing config, documentation, onboarding |
| advanced | LOW - Multiple sources, secret management integration |
| troubleshooting | HIGH - Common issues and solutions |
Project-Type Patterns
| Pattern | Description |
|---|---|
| nextjs | MEDIUM - Next.js with Vercel deployment |
| nodejs-api | MEDIUM - Node.js backend/API services |
| monorepo | MEDIUM - pnpm/Yarn/npm workspaces |
| react-spa | MEDIUM - React Single Page Applications |
Quick Reference
| Task | Command |
|---|---|
| Initialize config | |
| Initialize with options | |
| Interactive setup | |
| Clone and initialize | |
| Sync files to worktree | |
| Show setup command | |
Configuration Options
| Option | Purpose | Default |
|---|---|---|
| Repository root path | Auto-detected |
| Source for file copying | |
| Files to auto-copy | |
| merge or rebase | |
| Days before stale | |
| Prompt for cleanup | |
Key Principles
- Set up secrets in defaultBranch first: Source must exist before auto-copy works.
- Commit config to version control: Team gets it automatically.
- Copy secrets, not dependencies: yes,
.envno.node_modules - Use for documentation: Generate setup command.
gw show-init
Related Skills
- git-worktree-workflows - Using worktrees effectively
- autonomous-workflow - Autonomous development workflows
Resources
- Project-Type Guides - Configuration guides for common project types
- Next.js Setup Example
- Monorepo Setup Example
- Troubleshooting Guide