← ClaudeAtlas

export-configlisted

Export dotforge configuration to other AI code editors (Cursor, Codex, Windsurf, OpenClaw).
luiseiman/dotforge · ★ 7 · AI & Automation · score 73
Install: claude install-skill luiseiman/dotforge
# Export Configuration Convert the current project's dotforge configuration into formats compatible with other AI coding tools. ## Input $ARGUMENTS contains the target format: `cursor`, `codex`, `windsurf`, or `openclaw`. If no argument provided, show available targets and ask. ## Step 1: Read current configuration Read these files from the current project: - `CLAUDE.md` — project instructions - `.claude/rules/*.md` — contextual rules (strip YAML frontmatter) - `.claude/settings.json` — permissions and hooks If none exist, error: "No dotforge configuration found. Run `/forge bootstrap` first." ## Step 2: Transform based on target ### `cursor` → `.cursorrules` Generate a single `.cursorrules` file at project root: 1. Extract content from `CLAUDE.md` (skip forge markers) 2. Append all rules from `.claude/rules/*.md` (strip YAML frontmatter — `globs:`, `paths:`, `alwaysApply:`, etc. — keep content) 3. Convert deny list to text: "DO NOT: read/modify files matching: .env, *.key, *.pem, *credentials*" 4. Convert hooks to text instructions: "Before executing bash commands, check for destructive patterns: rm -rf, DROP TABLE, force push" 5. Wrap in a single markdown document ### `codex` → `AGENTS.md` Generate `AGENTS.md` at project root: 1. Start with project context from `CLAUDE.md` 2. Append rules as "## Rules" section 3. Convert permissions to "## Permissions" section: list allowed and denied commands 4. Add "## Workflow" section from agent orchestration rules if present