aemerson-commits/shareable-skills/propagate-feature
Claude Code and agent skill by aemerson-commits/shareable-skills
- community
Checking that the SKILL.md file is still in the repository.
Replicate features across projects with independent codebases — diff, adapt, apply. For cross-project propagation when projects have component copies instead of shared imports.
Install
npx vskill@latest install aemerson-commits/shareable-skills/propagate-featureSKILL.md
The same SKILL.md was published earlier as aemerson-commits/shareable-skills/propagate-feature.
Propagate Feature — Cross-Project Replication
When a feature is built in one project and needs to exist in another project that has its own component copies (not shared imports). The primary use case is when two projects share component structure but have diverged over time.
When to Use
- After modifying components that another project also has copies of
- After adding a feature to one project that should exist in another
- When
/audit-componentsflags drift between project copies - When user says "also add this to [other project]" or "propagate to [project]"
Arguments
--source=<project>(required: source project)--target=<project>(required: target project)--files=<glob>(optional: specific files to propagate)--all— propagate all drifted files (uses diff to find them)
Phase 1: Drift Analysis (2 Parallel Agents, model: "opus")
Agent: Component Differ
Agent: API Differ
Phase 2: Adaptation Plan (Main Agent)
Present the diff analysis to user:
Wait for user approval on conflicts.
Phase 3: Apply (1 Worktree Agent, model: "opus")
Agent: Propagator (worktree)
For each approved file:
- SOURCE_ONLY changes: Apply the diff hunks to target file
- CONFLICT resolution: Apply user's chosen resolution
- Auto-adapt:
- Adjust import paths for target project structure
- Verify env var names match target config
- Adjust CSS class prefixes if projects use different conventions
- Do NOT touch source project files
Phase 4: Verification (2 Parallel Agents, model: "opus")
Agent: Build Verifier
cd {target} && npm run lint && npm run build- If shared/ was also modified: build source project too
Agent: Consistency Checker
- Verify propagated components have same props interface
- Verify API endpoints handle same actions/params
- Verify no broken imports in target project
- Verify CSS additions don't collide with target's existing styles
Phase 5: Report
Pre-Edit Divergence Check (MANDATORY)
Before modifying a component that exists in both projects:
- Read the file in both projects
- Run
diff -u target/src/path source/src/pathto see divergence - Identical sections — safe to change in both
- Diverged sections — require project-specific edits
CSS File Mapping
Projects may store equivalent styles in different files:
- Some projects use component-specific
.cssfiles (e.g.,FeatureModal.css) - Others consolidate into
App.css
Always grep for class names in BOTH App.css AND component CSS files.
Anti-Patterns
- NEVER blindly copy entire files — always diff and apply hunks
- NEVER overwrite target-specific adaptations (extra features, project-specific logic)
- NEVER propagate without checking import path differences
- If a component has diverged significantly (>50% different), flag for user decision rather than auto-merging
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/propagate-feature/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aemerson-commits/shareable-skills/propagate-feature)