Initialize the CV plugin — creates data directories and starter cv_data.json template. Triggers: "cv-init" | "init cv" | "setup cv".
Scanned 9/23/2026
Install to Claude Code
npx -y skills add Roxabi/roxabi-plugins --skill cv-init --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cv Init?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/roxabi-cv-init)More formats (shields.io, HTML) on the badges page.
---
name: cv-init
description: 'Initialize the CV plugin — creates data directories and starter cv_data.json template. Triggers: "cv-init" | "init cv" | "setup cv".'
version: 0.1.0
allowed-tools: Read, Write, Bash, Glob
---
# CV Init
Set up the CV plugin data directories and starter files.
Let:
V := ~/.roxabi-vault/cv/ — plugin data root
G := V/generated/ — generated CVs output
A := V/adapted/ — adapted CVs output
D := V/cv_data.json — master CV data
C := ~/.roxabi-vault/config/cv.json — plugin config
E := <plugin>/examples/cv_data.example.json — example data template
## Phase 1 — Check Existing State
```bash
echo "=== CV Plugin State ==="
test -d ~/.roxabi-vault/cv && echo "Data dir: EXISTS" || echo "Data dir: MISSING"
test -f ~/.roxabi-vault/cv/cv_data.json && echo "cv_data.json: EXISTS" || echo "cv_data.json: MISSING"
test -d ~/.roxabi-vault/cv/generated && echo "generated/: EXISTS" || echo "generated/: MISSING"
test -d ~/.roxabi-vault/cv/adapted && echo "adapted/: EXISTS" || echo "adapted/: MISSING"
test -f ~/.roxabi-vault/config/cv.json && echo "Config: EXISTS" || echo "Config: MISSING"
```
∃D → present choice "cv_data.json already exists. Overwrite with template?" Options: **Yes, overwrite** | **No, keep existing** No → skip data file creation.
## Phase 2 — Create Directories
```bash
mkdir -p ~/.roxabi-vault/cv/generated ~/.roxabi-vault/cv/adapted ~/.roxabi-vault/config
chmod 700 ~/.roxabi-vault/cv
```
## Phase 3 — Copy Starter Data
¬D ∨ user approved overwrite → read E, write to D. Inform: "Created cv_data.json from template. Edit it with your real information before generating a CV."
## Phase 4 — Create Config
¬C → write default:
```json
{
"default_language": "en",
"supported_languages": ["en"],
"default_format": "md",
"default_template": "cv_template",
"output_dir_generated": "~/.roxabi-vault/cv/generated",
"output_dir_adapted": "~/.roxabi-vault/cv/adapted"
}
```
∃C but missing `default_language`/`supported_languages` → add defaults (`"en"`, `["en"]`); inform user: "Updated cv.json with language configuration keys."
## Phase 5 — Report
```
CV Plugin Initialized
Data directory: ~/.roxabi-vault/cv/
Generated CVs: ~/.roxabi-vault/cv/generated/
Adapted CVs: ~/.roxabi-vault/cv/adapted/
Master data: ~/.roxabi-vault/cv/cv_data.json [NEW|EXISTING]
Config: ~/.roxabi-vault/config/cv.json [NEW|EXISTING]
Next step: edit cv_data.json with your information, then run /cv to generate.
```
$ARGUMENTS
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!