/colin-shipping:colin-feature-export Describe the feature, sources, etc...from colin-shipping
Analyzes git history and code to create a detailed implementation guide for porting a feature from one project to another similar project.
Ships in colin-shipping. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
I need you to create a detailed implementation guide for porting a feature from this project to another similar project. The feature I want to document is: #$ARGUMENTS
Both projects share the same base structure so focus on the specific implementation details rather than general setup.
Please follow these steps:
Git History Analysis Start by examining git history to find all changes related to this feature:
# Search commit messages for feature-related keywords
git log --all --oneline --grep="{feature_keyword}"
# Look at recent commits that might contain the feature
git log --oneline -20
# If you know specific files, check their history
git log --oneline -- path/to/file.ts
Once you identify relevant commits:
git show {commit_hash} to see the complete diff for each commitThis will give you the complete picture of:
Feature Discovery & Analysis
Understand the Implementation
Analyze Testing Infrastructure
tests/e2e/utils/test-helpers.ts?tests/e2e/fixtures.ts?server/api/_test/?server/api/_test/cleanup.post.ts?Create Implementation Guide
Create a markdown file at ./FEATURE-{FEATURE_NAME}.md with the following structure:
# Feature Export: {Feature Name}
## Overview
Brief description of what this feature does and why it's useful.
## Git History Context
Document the commits that introduced this feature:
- Commit hashes and messages
- Order of implementation (what was built first)
- Any refactoring or related changes to existing code
- Key decisions noted in commit messages
## Prerequisites
- Required packages (with versions from package.json)
- Required configuration
- Any dependencies on other features
## Implementation Files
### Application Files
#### Components
For each component file:
- **Path**: `app/components/path/to/Component.vue`
- **Purpose**: What this component does
- **Props/Emits**: Interface definitions
- **Git Context**: Was this new or modified? What changed?
- **Full Code**: Complete implementation with all imports
```vue
<script setup lang="ts">
// Full component code here
</script>
For each composable:
app/composables/useFeature.ts// Full composable code here
app/pages/path/to/page.vueapp/middleware/feature.ts or server/middleware/feature.tsFor each endpoint:
server/api/path/to/endpoint.post.ts// Full endpoint code here
If schema changes are needed:
server/database/schema/table-name.ts// Full schema code here
For each query file:
server/database/queries/feature.ts// Full query code here
For server or app utilities:
server/utils/feature.ts or app/utils/feature.tsIMPORTANT: Document any modifications to existing files that aren't primarily about this feature:
For each modified file:
path/to/existing-file.ts// Show the specific changes, with context
If new test helpers were added to tests/e2e/utils/test-helpers.ts:
// Full helper code here with JSDoc comments
If new fixtures were added to tests/e2e/fixtures.ts:
// Full fixture code here
If new test endpoints were created in server/api/_test/:
server/api/_test/endpoint-name.post.ts// Full test endpoint code here
If server/api/_test/cleanup.post.ts was modified:
// Cleanup logic to add
For each E2E test file:
tests/e2e/feature.spec.ts// Full test code here
For each unit test file:
tests/unit/feature.test.ts// Full test code here
If migrations are needed:
server/database/migrations/pnpm db:generate creates migration automatically-- Migration SQL here
If dependencies were added:
{
"dependencies": {
"package-name": "^1.0.0"
},
"devDependencies": {
"dev-package": "^1.0.0"
}
}
If config changes are needed:
// Config changes here - show what was added/modified
If new environment variables are needed:
# Add to .env
NEW_VAR=value
Document any other config changes found in git history:
Step-by-step guide for implementing this feature in the target project:
Install Dependencies (if any)
pnpm add package-name
Update Configuration (if needed)
Create Database Schema (if needed)
server/database/schema/pnpm db:generate to create migrationCreate Backend Files (in order of dependencies)
Modify Existing Backend Files (if needed)
Create Frontend Files
Modify Existing Frontend Files (if needed)
Create Test Infrastructure
Write Tests
Verify Implementation
pnpm typecheckpnpm format .pnpm test:unitpnpm test:e2e:aiIf new helpers were added, show how to use them:
import { newHelper } from './utils/test-helpers'
test('example', async ({ page }) => {
await newHelper(page, options)
})
If new fixtures were added, show how to use them:
import { test } from './fixtures'
test('example', async ({ newFixture, page }) => {
// newFixture is already set up and ready to use
})
# Run specific test file
pnpm test:e2e:ai tests/e2e/feature.spec.ts
# Run specific test case
pnpm test:e2e:ai tests/e2e/feature.spec.ts --grep "test case name"
# Run unit tests
pnpm test:unit tests/unit/feature.test.ts
pnpm typecheck)pnpm format .)Provide clear examples of how to use this feature:
// Example code showing feature usage
Document any gotchas discovered (from git history or implementation):
List any features this depends on or enhances:
Include Complete Code
Document Test Patterns
After completing this analysis and documentation, save the implementation guide and let me know it's ready. The guide should be comprehensive enough that another AI agent in the target project can implement this feature completely without needing to reference the source project.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub colinmollenhour/dotfiles --plugin colin-shipping34 skills in this plugin
/cclsp-fix-diagnosticsScan a codebase with the CCLSP MCP and fix reported diagnostics. Language- and project-agnostic. Use for "fix all the LSP errors", "check the workspace for errors", "fix diagnostics in <path>", or auditing a branch/PR/commit range for new errors. Default scope is the whole codebase, chunked. User can narrow to files, folders, commits, ranges, branches, PRs, or MRs./clickup-task-authoringAuthor a ClickUp task from a conversation, plan, review, incident, or spec as CUFM via cup task-sync. Covers the source-fidelity ledger, the house voice for task copy (plain verbs, declarative mood, paragraphs over lists, 5% length budget), rich description structure (banners, toggles, mermaid, tldraw, tables), open-decision blocks (question, AI Recommendation, two alternatives), title conventions, workspace Value Stream / Requested By / Bug-type rules, and the post-write audit. Use when creating or updating ClickUp task content (file a bug, write a ticket, turn this into a task). Load the clickup skill from `cup skill` for CUFM syntax and task-sync flags. Workspace IDs come from `cup` or a project ClickUp skill. Formerly clickup-tasks./cli-designDesign, implement, or review CLI UX: args, flags, help, output, errors, config, interactivity, and distribution.Other plugins' skills for the same job