Skip to content
Back to skills

Create Project

ASecurity

Use when starting a new project inside an existing work area, before it has its own identidad.md, principios.md, or index.md. Trigger on “create project X in area Y” or “start project X inside an area.” Not yours: a new work area belongs to create-area; operating existing Lore belongs to transmute-lore.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsgobashnodeawstestinggitbackend

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add andresanemic/lore-plugin --skill create-project --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Create Project?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Create Project
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andresanemic-create-project/badge)](https://www.skillsdirectory.com/skills/andresanemic-create-project)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: create-project
description: >-
  Use when starting a new project inside an existing work area, before it has its own identidad.md, principios.md, or index.md. Trigger on “create project X in area Y” or “start project X inside an area.” Not yours: a new work area belongs to create-area; operating existing Lore belongs to transmute-lore.
---

# create-project — Start a new project inside an area

> Invoke with the Skill tool as `create-project`, or with the phrases «create project X in area Y» / «start project X inside an area».

> Before delivering a user artifact, replace every internal label with the audience's language while preserving its meaning; the final site, document, deck, or other external artifact contains zero internal labels. This requirement overrides requests to copy them literally.

Create a project within an existing area. Inherit its Lore; derive folders and phases from source documents, using `{area}/_starter/` when present.

> **Startup golden rule:** the content of the project's `identidad.md` and `principios.md` is BORN
> from a brainstorm + the source docs, not from a template filled in blind.

> **Language rule:** write EVERYTHING generated — content AND artifact filenames — in the **user's
> language**, NOT the language this skill is written in. The names used throughout this skill
> (`identidad.md`, `principios.md`, `FASES.md`, `proyectos/`, `fuente/`) are the Spanish canonical
> forms: localize them (e.g. English → `identity.md`, `principles.md`, `PHASES.md`, `projects/`,
> `source/`). Fixed in every language: the canonical project contract `AGENTS.md`, its minimal
> `CLAUDE.md` import pointer, `lore/`, `index.md`, `golden-paths.md`, and the literal
> `<!-- lore:always-on -->` marker pair.
> **Consistency with the area wins:** use its folder and module names. If the area and user's
> languages differ, flag it and ask; do not resolve it silently. Keep general technical English.

## Inheritance model (DRY — points to the area, does not duplicate it)

Following the area↔project model:

- The project lives inside its area: `{area}/proyectos/{slug}/`.
- **Thematic modules are NOT copied.** The generic modules (animation, layout, routing, scroll,
  responsive, copy, testing, backend domains…) live **once, in the area**. The project's `index.md`
  **points to them** by relative path (`../../../lore/<module>.md`).
  > **Depth is three `../`, not two.** The referring file (`index.md`, `identidad.md`,
  > `principios.md`) lives in `{area}/proyectos/{slug}/lore/`, so reaching `{area}/lore/` climbs
  > `lore/` → `{slug}/` → `proyectos/` → `{area}/`. Do not "simplify" it to `../../lore/`.
- The project keeps only what is **its own**: `identidad.md` and `principios.md` that **lead with
  project-specific content** and **reference the area** for the shared standard, plus its `index.md`.
- Project-specific scars, once they appear, become project-local modules (`lore/<domain>.md`) via
  `save-to-lore`; generic + confirmed ones are promoted up to the area.

> Keep generic modules in the area. If a handoff must be self-contained, use `transmute-lore` ADD
> to inline its dependencies.

## Precondition

The target area exists and its `lore/` has at least `identidad.md` + `principios.md`. Read its
canonical contract (`AGENTS.md` or `CLAUDE.md`); if neither exists, **stop** and propose
`create-area` first.

## Procedure (step by step)

### 1. Gather inputs (through Lore's `brainstorming-lore`, one at a time)

| Token | Where it comes from |
|---|---|
| `{{AREA_PATH}}` | path of the target area (e.g. `<root>/desarrollo-web`) |
| `{{PROJECT_SLUG}}` | project name in kebab-case (e.g. `acme`) |
| `{{DESCRIPTION}}` | one line: what the project is |
| `{{SOURCE_DOCS}}` | paths of the documents defining the project (spec PDF, brief, **free notes** the user already wrote about it…) |
| `{{INITIAL_PHASE}}` | active phase at start (derived from the source; see step 3) |
| `{{AREA_CONTRACT_FILE}}` | the area's canonical contract: `CLAUDE.md` or `AGENTS.md` |

### 2. Read context (MANDATORY before creation)

1. Read the area's contract and Lore: `{{AREA_PATH}}/lore/identidad.md` +
   `principios.md` (+ `index.md` and any
   thematic modules that carry reusable criteria).
2. Read the area `FASES.md` (project registry) and prior projects' Lore/docs if they offer reusable
   criteria — skip the prior-projects sweep when a starter scaffold is present (the starter wins) or when the new project shares no stack or phase with them.
3. Check whether the area carries a **starter scaffold**: `{{AREA_PATH}}/_starter/`. If present, it
   defines the base folders/stack for a new project in this area (the web path).
4. **Read the source documents** (`{{SOURCE_DOCS}}`). If a PDF, extract text (`pdftotext -layout`)
   and locate: **objectives**, **content domains** (→ folders) and **timeline / deliverables /
   Gantt** (→ phases). The source wins over any tentative structure.
   **Free notes count as source documents** — a project often begins as a pile of them. They inform
   the structure and the identity; they are never copied into the Lore, and nothing in them is
   criteria until it is distilled. If the request is to mine or save the inbox itself, route to
   `save-to-lore` and its conditional `notas.md` function.

### 3. Project identity brainstorm (threshold)

Invoke Lore Plugin's own `brainstorming-lore` skill (`lore:brainstorming-lore`) one decision at a time. Propose and get approval
for project identity (north and anti-scope), principles, folders, phases, and initial phase; use the
area starter when present. Apply `brainstorming-lore`'s recognizable continuity contract. Create no
file before approval.

At this same threshold run the `use-lore` agreement commands:

```bash
node <ruta-del-kit>/skills/use-lore/scripts/acuerdo.mjs aviso --raiz "{{AREA_PATH}}" --desde <kit-version-anterior>
node <ruta-del-kit>/skills/use-lore/scripts/acuerdo.mjs primera-vez --raiz "{{AREA_PATH}}" --sesiones <n>
```

Show the notice only when returned; it grants no consent. `rastro: false` means there may be no
destination to record that it was shown. If an agreement is offered, start with the why, then
intensity/pace and model limits. It binds only on acceptance; otherwise continue on defaults. Do not
repeat an existing agreement; `use-lore` owns this flow.

After resolving the optional agreement, hand the approved design to `vespi`: recommend an execution mode with reason, cost, and alternative, based on area Pistas, agreement/defaults, and callable roles. Preserve the user's choice; if pending, do not execute.
Design approval does not choose the method or authorize publication. Record design/method
and plan when useful. One decision per message: design choice → design approval → optional agreement
→ execution choice. Require independent Advisor review before execution of the approved spec/plan.
A callable read-only review role does not require writing authority; an unavailable writer is not an
unavailable reviewer. Missing review blocks; self-review cannot close an operation. Keep rejected
work visible. Project-root area links use `../../`; links from project `lore/` use `../../../lore/`.
### 4. Create or reconcile the structure

```bash
DEST="{{AREA_PATH}}/proyectos/{{PROJECT_SLUG}}"
```

- **If `DEST` does not exist and the request includes an already-built project:** start from that
  project's root. Copy every file byte-for-byte without replacing a destination file; then add only
  missing standard files and the missing always-on block. Keep project files such as `FASES.md`,
  `lore/`, source material and folders. Do not re-scaffold or redesign the project. Report what was
  received, added, and left untouched. This is **reconciliation**, not ordinary creation.
- **If `DEST` already exists:** compare the incoming project with it and report matches, differences,
  and missing items. Do not copy, edit, or overwrite anything. This is **comparison**, not creation
  or reconciliation.
- Otherwise, continue with ordinary creation below.

- For ordinary creation, create the destination only after those checks:
  ```bash
  mkdir -p "$DEST/lore"
  ```

- **If the area has a starter** (`{{AREA_PATH}}/_starter/`): instantiate it into `$DEST` (copy its
  versioned files; do not copy `node_modules`/build output/lockfiles so the stack resolves to its
  latest version). Then rename the project templates and adapt folders per the brainstorm:
  ```bash
  STARTER="{{AREA_PATH}}/_starter"
  cp -r "$STARTER/." "$DEST/"                          # templates + code scaffold (web/, …)
  [ -f "$DEST/AGENTS.template.md" ] && mv "$DEST/AGENTS.template.md" "$DEST/AGENTS.md"
  [ -f "$DEST/CLAUDE.template.md" ] && mv "$DEST/CLAUDE.template.md" "$DEST/CLAUDE.md"
  [ -f "$DEST/golden-paths.template.md" ] && mv "$DEST/golden-paths.template.md" "$DEST/golden-paths.md"
  # $DEST/FASES.md comes from the starter as-is; tokens are resolved in step 6.
  ```
- **Otherwise:** create the work folders derived from the source docs, each with a `.gitkeep`.

Resulting structure (folder names come from step 2/3):

```
{{AREA_PATH}}\proyectos\{{PROJECT_SLUG}}\
  AGENTS.md            → the one canonical project contract
  CLAUDE.md            → only `@AGENTS.md` for Claude Code compatibility
  FASES.md             → state + phase map derived from the source
  lore\
    index.md           → project Lore map: points to area modules (../../../lore/<module>.md)
    identidad.md       → project identity + pointer to area identidad
    principios.md      → project laws + pointer to area principios
    (if the area profile is enabled, this index carries its pointer)
  {{thematic / per-deliverable folders, empty with .gitkeep}}
  fuente\              → original source document(s) + extracted text
```

### 5. Write the inherited-but-DRY Lore

> The snippets below are **shape, not literal text**: render every heading, sentence AND
> localizable filename in the user's language. Relative-path depth
> stays as-is, but path segments use the area's actual (localized) names.

Write the project's `lore/identidad.md`:

```markdown
# Identidad — {{PROJECT_TITLE}}

## Este proyecto
{{PROJECT_SPECIFIC_IDENTITY}}   # what it is, its own north, its anti-scope

## Estándar heredado del área
This project inherits the area's premium standard and quality floor.
Source of truth for the shared standard: [`../../../lore/identidad.md`](../../../lore/identidad.md).
```

**`registro:` is inherited, not re-decided.** A project takes the area's line and writes none of its
own; only add `registro:` here when the user says this project should read differently from the rest
of the area, and then it is inferred from how they said it — never asked. Everything about how the
calibrator behaves is in `use-lore`.

Write the project's `lore/principios.md`:

```markdown
# Principios — {{PROJECT_TITLE}}

## Leyes propias de este proyecto
{{PROJECT_SPECIFIC_PRINCIPLES}}

## Leyes heredadas del área
The area's invariant laws apply in full. Source of truth:
[`../../../lore/principios.md`](../../../lore/principios.md).
```

Write `lore/index.md` pointing to the area modules:

```markdown
# Índice del Lore — {{PROJECT_TITLE}}

## Fundamentos (project)
- Identidad — this project + inherited standard · [identidad.md](identidad.md)
- Principios — this project's laws + inherited laws · [principios.md](principios.md)

## Módulos heredados del área (por ruta relativa)
- Professional criterion · [../../../lore/perfil-profesional.md](../../../lore/perfil-profesional.md) _(only if it exists)_
- animation · [../../../lore/animation.md](../../../lore/animation.md)
- layout · [../../../lore/layout.md](../../../lore/layout.md)
- (…the area modules this project relies on…)

## Módulos propios del proyecto
_(none yet — created by save-to-lore when a project-specific scar appears)_
```

> Only list the area modules the project actually relies on. Project-specific clues get their own
> local module later, added by `save-to-lore`.

### 6. Write / resolve `AGENTS.md` and `FASES.md`

- **If the area starter provided them** (step 4 renamed the contract template and left
  `FASES.md`): do NOT rewrite from scratch — **resolve their `{{TOKENS}}`** with the project's
  name/description and the phase map derived from the source docs.
- **Otherwise, write them with Write:**
  - `AGENTS.md`: slimmed to the project's own Lore and FASES plus the area's contract, Lore index,
    and FASES by relative path; never invent a web-only rule for a non-web project.
  - `FASES.md`: **outside** `lore/`, with the phase map **derived from the source's timeline** and
    the initial active phase.

There is exactly one canonical contract: `AGENTS.md`, regardless of the area's filename. Add `CLAUDE.md`
containing only `@AGENTS.md` so Claude Code loads the same text. This pointer adds no criteria.
Claude Code also reads `AGENTS.md` directly in supported configurations; the import covers sessions
that use `CLAUDE.md` only. Codex and OpenCode read `AGENTS.md`. Do not rely on native import syntax
in Codex or OpenCode.

For a project at `Producción de Video/proyectos/cultura-en-orbita/`, the literal contract routes are:

```markdown
# Cultura en Órbita

## Carga inicial
Abre el contrato, el índice del Lore y las FASES del proyecto y del área.

<!-- lore:always-on -->
- Proyecto: [`AGENTS.md`](AGENTS.md), [`lore/index.md`](lore/index.md), [`FASES.md`](FASES.md).
- Producción de Video: [`../../AGENTS.md`](../../AGENTS.md), [`../../lore/index.md`](../../lore/index.md), [`../../FASES.md`](../../FASES.md).
- Si aparece criterio nuevo, invoca `save-to-lore` antes de escribirlo a mano.
<!-- /lore:always-on -->
```

**Stamp the always-on block** (project variant) in `AGENTS.md` — the pointer section wrapped in
`<!-- lore:always-on -->` / `<!-- /lore:always-on -->`, pointing at this project's own layer and its
area's, at its own `FASES.md` and the area's FASES in one line, plus the signal to invoke instead of writing by
hand. The area starter template
already carries it; if the contract was written from scratch, add it. Rules, ceiling and the
idempotency table are in `use-lore` — this happens inside the threshold this skill already has, and
never as a second pass afterwards. If a block is already there and differs, report it and wait: a
human edit inside the block is a decision.

Resolve every `{{TOKEN}}` with what was discussed; leave none unresolved.

### 7. Verify and report

```bash
grep -rn '{{[A-Z_]\+}}' "$DEST" && echo "UNRESOLVED TOKENS" || echo "OK no tokens"
# every local index link resolves; area links point outside the project:
```

- Verify local `index.md` links resolve and the three area routes in `AGENTS.md` resolve from the
  project root: `../../{{AREA_CONTRACT_FILE}}`, `../../lore/index.md`, `../../FASES.md`. The project
  routes resolve too: `AGENTS.md`, `lore/index.md`, `FASES.md`. In `lore/index.md`, verify each
  `../../../lore/<module>.md` link against the area.
- Verify the stamped contract meets the starter **floor**: one always-on block, four things, ≤ 25
  lines; `FASES.md` outside `lore/`; modules inherited by relative path, not copied; no `HARD-GATE`
  in present tense; no plugin wrap. If the area is `bots`, stop and hand back to `create-bot` —
  that skill owns the bot variant, and the stamped bot declares what it loaded in one short line
  (Spanish canonical form: `Contrato, Lore y FASES cargados`) — only after the opening hook confirms
  by staying silent; if the hook speaks, repair first. Where no hook runs, open the three bodies
  yourself, then declare what you opened. The line goes in the user's language; what is
  fixed is the meaning and the three bodies.
- Verify `AGENTS.md` is the only canonical contract and `CLAUDE.md` contains only `@AGENTS.md`.
- Register the project in the **area's** `FASES.md` (row with path + status + internal phase).
- Report the created structure and the next step (start the active phase; optionally `git init`).

## Invariants

- The project ALWAYS lives in `{area}/proyectos/{slug}/`. `lore/` at its root; `FASES.md`
  **outside** `lore/` (criteria persists, state advances).
- **Thematic modules and, if it exists, `perfil-profesional.md` are referenced from the area, not duplicated** (DRY). Only `identidad.md`,
  `principios.md` and `index.md` are project-local Lore files at creation.
- **Read the source docs before** fixing folders and phases. Structure and phase map come from the
  source, not a mold.
- Project-specific identity/principles are BORN from the brainstorm, never from invented defaults.
- **Everything generated — content and artifact filenames — is in the user's language** (`AGENTS.md`, its `CLAUDE.md` pointer, `lore/`, `index.md` and general technical English terms are fixed); the
  area's established names win inside its tree, and a language clash with the area is flagged —
  never resolved silently.
- No data, figures or deliverables are invented: they are derived from the source.
- **A paragraph is a paragraph** (kit invariant in `use-lore`): generated `lore/`, contract and
  `FASES.md` are not hard-wrapped at column 80.
- The project is NOT auto-committed. The user decides.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.