legalize-es-spanish-legislation — Claude Code skill
Search and inspect Spanish legislation in Markdown files, then trace changes through Git. Useful for finding articles, checking revisions, and reviewing past versions.
npx skills add reason-machines/trending-skills --skill legalize-es-spanish-legislation -a claude-codeWhat legalize-es-spanish-legislation 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.
What it helps with
- 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 for the agent
- Search
spain/for Spanish laws about data protection and list the matching titles. - Open Article 18 from
spain/BOE-A-1978-31229.mdand include its surrounding text. - Compare two revisions of
spain/BOE-A-1978-31229.mdand explain what changed.
How to install legalize-es-spanish-legislation
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill legalize-es-spanish-legislation -a claude-code2Manually: put the files in place
~/.claude/skills/legalize-es-spanish-legislation/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/legalize-es-spanish-legislation/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill legalize-es-spanish-legislation -a codex2Manually: put the files in place
.agents/skills/legalize-es-spanish-legislation/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill legalize-es-spanish-legislation -a cursor2Manually: put the files in place
.cursor/skills/legalize-es-spanish-legislation/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/trending-skills legalize-es-spanish-legislation2Manually: put the files in place
.github/skills/legalize-es-spanish-legislation/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill legalize-es-spanish-legislation -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/trending-skills --path skills/legalize-es-spanish-legislationManually: put the files in place
.devin/skills/legalize-es-spanish-legislation/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill legalize-es-spanish-legislation -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about legalize-es-spanish-legislation
How do I install legalize-es-spanish-legislation in Claude Code?
Run npx skills add reason-machines/trending-skills --skill legalize-es-spanish-legislation -a claude-code, then check ~/.claude/skills/legalize-es-spanish-legislation/SKILL.md.
What does legalize-es-spanish-legislation do?
It searches and reads Spanish laws stored as Markdown, while Git history supports revision comparisons, reform timelines, and past document states.
Do I need a full repository clone?
Use a full clone of legalize-es for reform history. A --depth 1 clone keeps the current law files but not the complete Git history.