# legalize-es-spanish-legislation

Search and inspect Spanish legislation in Markdown files, then trace changes through Git. Useful for finding articles, checking revisions, and reviewing past versions.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 858 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/legalize-es-spanish-legislation/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/legalize-es-spanish-legislation

## What it does

This skill works with the `legalize-es` repository, where each law is kept as a Markdown file under `spain/` and begins with YAML metadata. The agent can search titles and legal text, open an article with surrounding lines, or locate a document by its BOE identifier.

Git history adds reform tracking: the skill can list commits for a law, compare revisions, and read the document as it existed at a date or commit. Clone the repository before using these workflows. A full clone is needed for history; `--depth 1` is for the current state only. Searches and article lookups depend on the `spain/` directory being present.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill legalize-es-spanish-legislation -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/legalize-es-spanish-legislation/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/legalize-es-spanish-legislation/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill legalize-es-spanish-legislation -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/legalize-es-spanish-legislation/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill legalize-es-spanish-legislation -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/legalize-es-spanish-legislation/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills legalize-es-spanish-legislation
```

2. **Manually: put the files in place**
- File: `.github/skills/legalize-es-spanish-legislation/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill legalize-es-spanish-legislation -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/legalize-es-spanish-legislation
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/legalize-es-spanish-legislation/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill legalize-es-spanish-legislation -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/legalize-es-spanish-legislation/SKILL.md

## When to use it
- find a Spanish law by topic or BOE identifier
- read a selected article with surrounding text
- compare two revisions of the same law
- trace reforms recorded in Git history
- inspect a law as of a chosen date

## Example prompts
- Search `spain/` for Spanish laws about data protection and list the matching titles.
- Open Article 18 from `spain/BOE-A-1978-31229.md` and include its surrounding text.
- Compare two revisions of `spain/BOE-A-1978-31229.md` and explain what changed.

## Similar
- [grill-with-docs](https://affpapa.org/en/nevibecode/skills/grill-with-docs.md) — skill · 1219756 installs
- [skill-creator](https://affpapa.org/en/nevibecode/skills/skill-creator.md) — skill · 414180 installs
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [handoff](https://affpapa.org/en/nevibecode/skills/handoff.md) — skill · 1038491 installs
- [triage](https://affpapa.org/en/nevibecode/skills/triage.md) — skill · 990453 installs
- [domain-modeling](https://affpapa.org/en/nevibecode/skills/domain-modeling.md) — skill · 876391 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 186 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
