Automated summary
This skill analyzes gitignored files and configures the ws store to automatically share configuration files across worktrees.
Strengths
- Automatically identifies relevant files from .gitignore
- Suggests appropriate sync strategies (symlink or copy)
- Provides step-by-step guidance with executable commands
- Verifies final configuration status
Limitations
- Requires user confirmation for each decision
- Does not handle files not yet in .gitignore
- Depends on the ws store tool specific to Claude Code
Use this skill when working with multiple worktrees and you want to automatically share gitignored files like .env or editor settings.
Do not use this skill if you are not using ws store or if all your files are already versioned.
Security analysis
SafeThe skill guides the user through analyzing gitignored files and setting up a workspace store using 'ws' commands. There is no execution of destructive, exfiltrating, or obfuscated actions. All allowed tools (Bash, Read, Glob, Grep) are used for legitimate file inspection and standard CLI operations.
No concerns found
How this analysis is madeExamples
Set up ws store for this repository. Analyze .gitignore and configure tracking for .env files and .vscode/settings.json as symlinks.I want to share .claude/settings.local.json across all worktrees using ws store. Help me set it up.Guide me through setting up ws store for my project. Start by reading .gitignore and finding gitignored files that should be shared.name: ws-store-setup description: > Analyze the project's gitignored files and set up the ws store with appropriate tracking strategies. Guides initial store configuration. disable-model-invocation: true allowed-tools: Bash, Read, Glob, Grep
ws store setup
Guide the user through setting up the ws shared store for their repository. The store ensures that gitignored files (like .env, editor configs, local settings) are automatically shared across worktrees.
Step 1: Analyze .gitignore
Read the project's .gitignore file(s) to identify candidates for the store:
# Read gitignore at repo root (worktree level)
cat .gitignore 2>/dev/null
# Also check for nested gitignore files
find . -name .gitignore -not -path './.bare/*' -not -path './worktree-store/*' 2>/dev/null
Step 2: Find existing gitignored files
For each gitignored pattern, check which files actually exist in the current worktree:
# List files that exist but are gitignored
git ls-files --others --ignored --exclude-standard
Focus on files that are:
- Configuration files (
.env,.env.local,.env.development) - Editor/tool settings (
.vscode/settings.json,.idea/,.claude/settings.local.json) - Local overrides that developers typically maintain per-project
Ignore:
- Build artifacts (
node_modules/,target/,dist/,__pycache__/) - Cache directories (
.cache/,.turbo/,.next/) - OS files (
.DS_Store,Thumbs.db) - Log files (
*.log)
Step 3: Determine strategy for each file
Present a table of recommended files and strategies to the user:
Strategy guidelines
| Strategy | When to use | Examples |
|----------|-------------|---------|
| symlink | File should be identical across all worktrees. Editing in one worktree should propagate everywhere. | .claude/settings.local.json, .vscode/settings.json, .editorconfig (local) |
| copy | File may need worktree-specific values. Each worktree gets its own independent copy. | .env, .env.local, .env.development.local |
Decision rules
- Environment files (
.env*) → Almost always copy (different worktrees may run on different ports or have different feature flags) - Editor/IDE settings → Usually symlink (you want consistent editor behavior)
- Claude/AI settings → Usually symlink (consistent AI tool behavior)
- Credentials/tokens → Usually copy (may differ per environment/branch)
- Local config overrides → Depends on the file; ask the user if unsure
Step 4: Get user confirmation
Present the proposed configuration as a clear table:
File Strategy Reason
.env copy Environment-specific values
.env.local copy Local overrides
.claude/settings.local.json symlink Shared AI tool settings
.vscode/settings.json symlink Consistent editor config
Ask the user to:
- Review and approve/modify the list
- Confirm strategies for any files you're unsure about
- Add any files they want that weren't auto-detected
Step 5: Execute tracking
After user confirmation, track each file:
# Track each file with its strategy
ws store track .env --strategy copy
ws store track .claude/settings.local.json --strategy symlink
# ... repeat for each file
# Push store files to all existing worktrees
ws store push
Step 6: Verify
Run ws store status to verify everything was set up correctly:
ws store status
Check that all files show OK status. If any show MISSING or ERROR, troubleshoot:
MISSING: File doesn't exist in the current worktree yet — may need to create it first, thenws store pullMISSING(store): File exists in worktree but not in store — runws store pull <file>to import itNOT_LINK: Strategy is symlink but file is a regular file —ws store pushshould fix this
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/ws-store-setup-mm5t8bgq/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/ws-store-setup-mm5t8bgq' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/ws-store-setup-mm5t8bgq/download' --output '.skill-downloads/ws-store-setup-mm5t8bgq/SKILL.md.part' && mv '.skill-downloads/ws-store-setup-mm5t8bgq/SKILL.md.part' '.skill-downloads/ws-store-setup-mm5t8bgq/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash, Read, Glob, Grep
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/ws-store-setup-mm5t8bgq/SKILL.md' && test -s '.skill-downloads/ws-store-setup-mm5t8bgq/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/ws-store-setup' && cp -R '.skill-downloads/ws-store-setup-mm5t8bgq' '.claude/skills/ws-store-setup'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/ws-store-setup-mm5t8bgq'openskills read 'ws-store-setup-mm5t8bgq'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/ws-store-setup-mm5t8bgq/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.