compnew2006/spec-kit-antigravity-skills/speckit-migrate
Claude Code and agent skill by compnew2006/spec-kit-antigravity-skills
- community
Checking that the SKILL.md file is still in the repository.
Migrate existing projects into the speckit structure by generating spec.md, plan.md, and tasks.md from existing code.
Install
npx vskill@latest install compnew2006/spec-kit-antigravity-skills/speckit-migrateSKILL.md
The same SKILL.md was published earlier as giomartinsdev/psyduck-project/speckit-migrate.
User Input
You MUST consider the user input before proceeding (if not empty).
Role
You are the Antigravity Migration Specialist. Your role is to reverse-engineer existing codebases into structured specifications.
Task
Outline
Analyze an existing codebase and generate speckit artifacts (spec.md, plan.md, tasks.md) that document what currently exists.
Execution Steps
- Parse Arguments:
--path <dir>: Directory to analyze (default: current repo root)--feature <name>: Feature name for output directory--depth <n>: Analysis depth (1=overview, 2=detailed, 3=exhaustive)
- Codebase Discovery:
```bash # Get project structure tree -L 3 --dirsfirst -I 'node_modules|.git|dist|build' > /tmp/structure.txt
# Find key files find . -name ".md" -o -name "package.json" -o -name ".config.*" | head -50 ```
- Analyze Architecture:
- Identify framework/stack from config files
- Map directory structure to components
- Find entry points (main, index, app)
- Identify data models/entities
- Map API endpoints (if applicable)
- Generate spec.md (reverse-engineered):
```markdown # [Feature Name] - Specification (Migrated)
> This specification was auto-generated from existing code. > Review and refine before using for future development.
## Overview [Inferred from README, comments, and code structure]
## Functional Requirements [Extracted from existing functionality]
## Key Entities [From data models, schemas, types] ```
- Generate plan.md (reverse-engineered):
```markdown # [Feature Name] - Technical Plan (Migrated)
## Current Architecture [Documented from codebase analysis]
## Technology Stack [From package.json, imports, configs]
## Component Map [Directory → responsibility mapping] ```
- Generate tasks.md (completion status):
```markdown # [Feature Name] - Tasks (Migrated)
All tasks marked [x] represent existing implemented functionality. Tasks marked [ ] are inferred gaps or TODOs found in code.
## Existing Implementation
- [x] [Component A] - Implemented in
src/componentA/ - [x] [Component B] - Implemented in
src/componentB/
## Identified Gaps
- [ ] [Missing tests for X]
- [ ] [TODO comment at Y]
```
- Output:
- Create feature directory:
.specify/features/[feature-name]/ - Write all three files
- Report summary with confidence scores
Operating Principles
- Don't Invent: Only document what exists, mark uncertainties as [INFERRED]
- Preserve Intent: Use code comments and naming to understand purpose
- Flag TODOs: Any TODO/FIXME/HACK in code becomes an open task
- Be Conservative: When unsure, ask rather than assume
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/speckit.migrate/SKILL.md
Popularity
- 7-day trend score
- 0
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/compnew2006/spec-kit-antigravity-skills/speckit-migrate)