rosettablueprint
v0.4.0
Published
CLI to scaffold and sync AI agent rule/skill files across IDEs from a single master spec. Supports 9+ IDEs with auto-detection and format translation.
Maintainers
Readme
██████╗ ██████╗ ███████╗███████╗████████╗████████╗ █████╗
██╔══██╗██╔═══██╗██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██╔══██╗
██████╔╝██║ ██║███████╗█████╗ ██║ ██║ ███████║
██╔══██╗██║ ██║╚════██║██╔══╝ ██║ ██║ ██╔══██║
██║ ██║╚██████╔╝███████║███████╗ ██║ ██║ ██║ ██║
╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝Single source of truth for AI agent rules and engineering memory.
Single Source of Truth for AI Agents 🤖⚙️
Rosetta is a CLI tool designed to help engineering teams maintain a consistent Global Brain for their AI agents (GitHub Copilot, Cursor, Windsurf, Claude Code, Codex CLI, Kilo Code, Continue.dev) across an entire repository.
Instead of duplicating instructions in every IDE-specific hidden file, you define your project's soul in .ai/master-skill.md. Rosetta then generates independent IDE wrappers that reference your project spec without using symlinks, ensuring maximum compatibility.
Status: v0.4.0 - Renamed to rosettablueprint and enhanced with catalog system, skill ideation, and translation commands.
Installation
# Using npx (no installation required)
npx rosettablueprint scaffold
# Or install globally
npm install -g rosettablueprint
rosetta scaffoldQuick Start
1. Initialize Rosetta
Run the following command in your project root to set up architecture:
npx rosettablueprint scaffoldScaffold Output:
* Scaffolding atlas-pay...
┣━ Context gathered OK
┣━ .ai/ brain created OK
┣━ 2 IDEs configured OK
┣━ 4 starter skills added OK
┗━ Memory initialized OK
New agentic structure created with preset: agentic-starter2. Verify Your Brain
Once scaffolded, your project will have a structured context layer:
.ai/
├── master-skill.md <-- The Source of Truth
├── AGENT.md <-- Agent-specific identity
├── task.md <-- Current task tracking
├── memory/
│ ├── PROJECT_MEMORY.md <-- Long-lived architecture notes
│ └── AUTO_MEMORY.md <-- Learned heuristics
└── logs/
└── daily/ <-- Chronological logbookSupported IDEs
Rosetta supports 9 IDEs out of the box:
| IDE | Config File |
|-----|-------------|
| VSCode / Claude Code | CLAUDE.md |
| Cursor | .cursorrules |
| GitHub Copilot | .github/copilot-instructions.md |
| Windsurf | .windsurf/rules/rosetta-rules.md |
| Antigravity | .agent/skills/project-skill.md |
| GSD/generic | skills/gsd-skill.md |
| Codex CLI | .codex/rules.md |
| Kilo Code | .kilo/rules.md |
| Continue.dev | .continue/config.md |
Why Rosetta?
Engineering memory usually answers "why was this built?" Rosetta answers "how should the agent help me built it right now?"
| Problem | Rosetta's Answer |
|---------|----------------|
| Fragmented IDE rules | One master spec synced to all wrappers |
| Agent "forgets" conventions | 3-layer memory (Project, Auto, Logs) |
| Root directory pollution | Centralized state in .ai/ folder |
| Brittle symlinks | Independent markdown wrappers |
| Manual context gathering | Auto-detection of project type & stack |
Core Commands
Setup & Core Flow
Scaffold — Set up the .ai/ directory and configure IDEs
rosetta scaffoldScaffold with Auto-Ideate — Scaffold and automatically generate skill ideation template
rosetta scaffold --auto-ideateThe --auto-ideate flag automatically generates .ai/skill-ideation-template.md after scaffolding completes. This template contains project context and instructions for your IDE agent to help design custom skills tailored to your project.
Sync — Verify IDE wrappers or regenerate them from templates
rosetta sync --regenerate-wrappersWatch — Monitor .ai/master-skill.md for changes
rosetta watchIDE Management
Add IDE — Add a new IDE to an existing Rosetta setup
rosetta add-ide codex
# or
rosetta add-ide kilo
# or
rosetta add-ide
# (interactive prompt)Translate — Convert a config file between IDE formats
rosetta translate .cursorrules --to claude --output CLAUDE.mdTranslate All — Bulk migrate all IDE configs to a target format
rosetta translate-all --to claude --dry-run # Preview first
rosetta translate-all --to claude # ExecuteDocumentation
Docs — Generate HTML documentation for installed skills with interactive visualization
rosetta docs # Generate docs (default: .rosetta/docs/skills.html)
rosetta docs --open # Generate and open in browser
rosetta docs --ide vscode # Filter by specific IDE
rosetta docs --dry-run # Preview without writing files
rosetta docs --json # Output data as JSONFor more details, see docs/VISUALIZATION.md.
Skill Management
New Skill — Create a new stateless skill folder
rosetta new-skill api-authSkill Commands
| Command | Description |
|---------|-------------|
| rosetta catalog | Browse the skill catalog to discover available skills |
| rosetta search <query> | Search skills by name, description, or tags (coming soon) |
| rosetta install <git-url> | Install a skill from a git repository |
| rosetta skills | List all installed skills |
| rosetta skill uninstall <name> | Uninstall an installed skill (planned) |
Migration & Adoption
| Command | Description |
|---------|-------------|
| migrate | Interactive wizard for existing repos |
| migrate --source <path> | Migrate from a custom folder (e.g. agentic-corder/) |
| migrate-from-cursor | Convert .cursorrules to .ai/ |
| migrate-from-claude | Convert CLAUDE.md to .ai/ |
Key Features
| Feature | Description |
|---------|-------------|
| 3-Layer Memory | Project decisions, heuristics, and daily logs |
| Multi-Source Skills | Local, global (~/.rosetta), or git-sourced skills |
| Auto-Detection | Automatically detects project type and tech stack |
| Format Translation | Convert configs between any supported IDE format |
| Config Driven | Use .rosetta.json for non-interactive scaffolding |
| Post-Scaffold Hooks | Run scripts automatically after setup |
Auto-Detection
Rosetta automatically detects your project type and tech stack:
Supported Languages:
- Node.js / TypeScript
- Python (Django, FastAPI, Flask)
- Go
- Rust
- Ruby
Auto-Detected Information:
- Project type (Web app, API, CLI, Library, etc.)
- Frontend framework (React, Next.js, Vue, etc.)
- Backend framework (Express, NestJS, Django, etc.)
- Database/ORM (Prisma, SQLAlchemy, TypeORM, etc.)
- Cloud Infrastructure: Docker, Kubernetes, Terraform, Serverless, Cloud SDKs (AWS, GCP, Azure)
- Mobile Development: iOS, Android, Flutter, React Native
- DevOps & CI/CD: GitHub Actions, GitLab CI, CircleCI, Jenkins, Make
Skills System
Rosetta implements a dual skills system to serve different purposes:
Claude Code Skills (.claude/skills/)
Used internally for developing Rosetta CLI itself. These provide focused context loading for specific domains:
| Skill | Purpose |
|-------|---------|
| frontend-context | Frontend docs, styles, patterns |
| backend-context | Backend, API, domain logic |
| testing-context | Test strategy, fixtures, CI/CD |
Load via slash commands in Claude Code: /frontend-context, /backend-context, /testing-context
Rosetta CLI Skills (templates/skills/)
Templates that Rosetta scaffolds into other projects:
| Skill | Stack | Domain |
|-------|-------|--------|
| node-express-postgres | Node.js, Express, PostgreSQL | Backend APIs |
| frontend-react-next | React, Next.js | Frontend apps |
| testing-full-pyramid | Testing frameworks | Quality assurance |
| data-ml-project | Data Science, ML | Analytics & ML |
Skill Commands
# Generate skill ideation template (scaffold-only, no AI calls)
rosetta ideate
# List available skills
rosetta skills
# Create a new skill
rosetta new-skill api-auth
# Create from template
rosetta new-skill payment --template node-express-postgresSee docs/SKILLS.md for complete documentation on the skills system.
Skill Catalog
Rosetta provides a central catalog of curated skills that you can browse and install. The catalog is maintained in catalog.json and includes skills for various domains and tech stacks.
Use rosetta catalog to view all available skills. You can filter by domain using --domain and output raw JSON with --json.
rosetta catalog
rosetta catalog --domain backend
rosetta catalog --jsonFull-text search across the catalog will be available in a future release with rosetta search <query>.
For more details, see docs/CATALOG.md.
Smart Installation
Install skills directly from any Git repository with rosetta install. Rosetta validates the skill, records provenance, and tracks it in your manifest.
# Install a skill to the current project
rosetta install https://github.com/org/api-auth
# Install a skill globally (available in all projects)
rosetta install https://github.com/community/ppt-gen --globalInstallation features:
- Validates the repository contains a
SKILL.mdfile with required frontmatter (name,description) - Checks skill name validity (lowercase alphanumeric and hyphens)
- Copies the skill to
.rosetta/skills/<name>in your project (or~/.rosetta/skills/for global) - Preserves the
.gitdirectory and adds anupstreamremote pointing to the source repository - Records installation details in
.rosetta/skills/manifest.json, including source URL, commit hash, and install date - Supports
--forceto overwrite an existing installation - Supports
--dry-runto preview changes
This provenance tracking enables safe updates and auditability.
Skill Management
Manage your installed skills with the following commands:
List skills:
rosetta skillsshows all installed skills with details (name, source, scope, install date, commit).rosetta skills rosetta skills --format json # Machine-readable output rosetta skills --scope global # Filter by scopeUninstall a skill: (coming soon) Use
rosetta skill uninstall <name>to remove an installed skill and update the manifest.
For more information on skill management, see docs/SKILLS.md.
Ideation
Generate a skill ideation template to use in your IDE agent:
rosetta ideate [project-path]This command analyzes your project and creates .ai/skill-ideation-template.md with context about your codebase. You then paste this template into your IDE's AI agent (Claude Code, Cursor, etc.) and answer 3–5 clarifying questions to receive personalized skill proposals.
Key features:
- No AI calls from the CLI - pure scaffolding
- Project analysis - detects languages, frameworks, tests, architecture
- IDE detection - auto-detects configured IDEs and skills folder locations
- Team context - prompts for team conventions and domain knowledge
- IDE-agnostic - works with any AI agent in your editor
- Interactive - AI agent asks questions and drafts skills live
- Controlled - you review and approve each skill before implementation
Example workflow:
# Generate template in current project
rosetta ideate
# Open the generated file and paste into your IDE agent
# Answer the questions to get skill proposals
# Approve and implement the skills you wantOptions:
--output <path>- Save template to custom location (default:.ai/skill-ideation-template.md)--dry-run- Preview analysis without writing files--json- Output analysis results in JSON format--area <path>- Analyze a specific directory (default: current)
Detected IDEs: The command automatically detects IDE configurations:
- Claude Code -
.claude/skills/folder - Cursor -
.cursorrulesfile - GitHub Copilot -
.github/copilot-instructions.md - Windsurf -
.windsurf/directory - Codex CLI -
.agent/directory
Team Context: When no IDEs are detected, the command prompts for:
- Team domain or industry
- Team conventions to follow
- Existing skills to consider
Detailed guide: See docs/IDEATION.md
Health & Validation
Check if repository is "Rosetta-compliant" and compute a health score.
rosetta healthHealth Check Output:
Validating Rosetta structure...
┣━ .ai/master-skill.md OK
┣━ .ai/AGENT.md OK
┣━ .ai/task.md OK
┣━ .ai/memory/PROJECT_MEMORY.md OK
┣━ .ai/memory/AUTO_MEMORY.md OK
┗━ .ai/logs/daily/ OK
Rosetta Score: 100/100
Your repo is 100% Rosetta-ready!Profiles
Use profiles to bundle context, presets, and preferences:
# Create or switch to a profile
rosetta use-profile fintech
# Define in ~/.rosetta/registry.json:
{
"profiles": {
"fintech": {
"riskLevel": "High (Critical/Financial/Healthcare)",
"testingSetup": "Unit + integration + E2E",
"agentStyle": "More autonomous"
}
}
}Architecture
Rosetta is now modular with a clean architecture:
lib/
├── constants.js # Configuration constants
├── utils.js # Utility functions
├── config.js # Config & profile management
├── templates.js # Template rendering
├── ide-adapters.js # IDE sync logic
├── context.js # Context gathering & auto-detection
├── skills.js # Skill management
├── migration.js # Migration tools
├── validation.js # Health & validation
├── cli-helpers.js # CLI flow helpers
├── analyzers/ # Specialized project analyzers (Cloud, Mobile, DevOps, etc.)
├── visualizers/ # Documentation visualization logic & templates
├── commands/
│ ├── add-ide.js # Add IDE command
│ ├── translate.js # Format translation
│ ├── translate-all.js # Bulk translation
│ ├── ideate.js # Skill ideation command
│ └── docs.js # Documentation generation command
├── translators/
│ └── base.js # Translation engineContributing
Contributions are welcome. See CONTRIBUTING.md.
Security issues: Email [email protected].
License
MIT © Rajan Chavada
