Skip to main content
Glama
README.md
# ResumeCraft

A tool that lets any AI agent (Claude, GPT, Gemini, local LLMs, etc.) generate resumes in a consistent, opinionated format — and gives you a local editor to work on the same resume yourself.

The agent (or you) fills in structured resume data that follows a fixed schema, and the kit renders it using a predefined template, so every resume comes out in the same style no matter who produced it.

## Install

```bash
git clone https://github.com/Spidy12317/resumecraft.git
cd resumecraft
python3 -m venv .venv && .venv/bin/pip install -e '.[dev]'

# Make the `resumecraft` command available everywhere (needed by the Claude Code plugin and other agent apps)
mkdir -p ~/.local/bin && ln -s "$PWD/.venv/bin/resumecraft" ~/.local/bin/resumecraft   # any folder on your PATH
```

## Quick start

```bash

# Agents: render a data file into output/
.venv/bin/resumecraft generate examples/sample.json

# You: open the editor in your browser (form on the left, live preview on the right)
.venv/bin/resumecraft edit my-resume.json
```

The editor runs only on this computer (`127.0.0.1:8000`, change with `--port` or `RESUMECRAFT_PORT`).
It saves to the same JSON file agents use. **Download PDF** uses the browser's "Save as PDF".

## Use with any agent (MCP)

The kit is an MCP server: `resumecraft mcp`. Any MCP-capable app can start it and use seven tools —
`get_resume_guide`, `get_design_options`, `validate_resume`, `render_resume`, `save_resume_data`,
`load_resume_data`, `open_editor`.

Do the [Install](#install) steps first, so the `resumecraft` command is on your PATH.

**Claude Code plugin** (adds a resume-writing skill and the `/resume`, `/resume-edit` commands) — install from GitHub:
```
/plugin marketplace add Spidy12317/resumecraft
/plugin install resumecraft@resumecraft
```
Working on the code locally? Add your clone instead: `/plugin marketplace add /path/to/resumecraft`.

Or only the MCP server: `claude mcp add resumecraft -- resumecraft mcp`

**Claude Desktop, Cursor (`.cursor/mcp.json`), Gemini CLI (`~/.gemini/settings.json`)** — same block:
```json
{ "mcpServers": { "resumecraft": { "command": "resumecraft", "args": ["mcp"] } } }
```

**VS Code (`.vscode/mcp.json`):**
```json
{ "servers": { "resumecraft": { "type": "stdio", "command": "resumecraft", "args": ["mcp"] } } }
```

If an app cannot find `resumecraft`, use the full path, e.g. `/path/to/resumecraft/.venv/bin/resumecraft`.
Resume data files are read and written only inside `RESUMECRAFT_DATA_DIR` (default: this folder);
rendered resumes go to `output/`; the editor listens on 127.0.0.1 only.

## Project structure (Clean Architecture)

```
resumecraft/
├── AGENTS.md                 # Instructions any AI agent should follow
├── schema/                   # resume.schema.json — the contract agents must fill
├── templates/                # classic.html.j2 — the layout
├── examples/                 # sample.json (placeholder data) and its rendered sample.html
├── output/                   # Generated resumes (git-ignored)
├── plugin/                # Claude Code plugin (skill, /resume commands, MCP config)
├── tests/
└── app/
    ├── domain/entities/      # Resume, Job, Project, Degree, SkillGroup, Achievement
    ├── application/
    │   ├── ports/            # interfaces + errors the use cases depend on
    │   └── use_cases/        # RenderResume, GenerateResume, SaveResumeData
    ├── adapters/
    │   ├── api/              # CLI (generate / edit / mcp), MCP server, editor server + editor page
    │   ├── repositories/     # JSON data file store, output writer
    │   └── gateways/         # JSON-schema checker, Jinja template renderer
    └── infrastructure/       # settings and wiring
```

Inner layers never import outer ones; `app/infrastructure/container.py` is the only place that picks concrete adapters.
The plan for all of this lives in `.codeflow/` (Codeflow canvas).

## Settings

| Variable | Default |
|---|---|
| `RESUMECRAFT_SCHEMA` | `schema/resume.schema.json` |
| `RESUMECRAFT_TEMPLATES` | `templates/` |
| `RESUMECRAFT_OUTPUT` | `output/` |
| `RESUMECRAFT_PORT` | `8000` |
| `RESUMECRAFT_DATA_DIR` | this folder (where MCP tools may read/write resume data) |

## Tests

```bash
.venv/bin/pytest
```