Prompt file imported from amaiagalvez/madaia33 (
.github/prompts/speckit.translate-es.prompt.md). Copyright stays with the author.
Global Speckit Rules
- Maintain style coherence with existing sibling artifacts and project conventions. New or updated specs, plans, tasks, checklists, contracts, translations, and reports must preserve established structure, naming, tone, and formatting unless the user explicitly requests a change.
- Optimize every Speckit run for minimum token usage. Reuse existing context, avoid rereading unchanged files, keep outputs terse, and avoid redundant explanations, examples, or file operations.
Task
Find the most recently created or modified feature directory in .github/specs/*/.
- Translate every generated spec artifact in the feature directory.
Treat these English source files as translation candidates when they exist:
spec.mdplan.mdresearch.mddata-model.mdquickstart.mdtasks.md- Any
.mdfile insidecontracts/ - Any
.mdfile insidechecklists/that does not already end with_es.md
- Output naming rule:
- For each
name.md, create or updatename_es.mdin the same folder. - Examples:
spec.md->spec_es.mdplan.md->plan_es.mdcontracts/admin-settings-sections.md->contracts/admin-settings-sections_es.mdchecklists/requirements.md->checklists/requirements_es.md
- Synchronization behavior (mandatory):
- If the Spanish file already exists, compare it with the current English source and overwrite it when the source changed.
- Do not skip files because a previous
_esfile exists. - Keep all translated files synchronized with their English source in every run.
- Translation rules:
- Keep headings, markdown structure, checkboxes, links, tables, and frontmatter intact.
- Keep code identifiers, key names, enum values and requirement IDs untranslated (e.g.,
front,contact_form,gallery,FR-001,SC-001). - Translate prose, explanations, notes, labels, and narrative text into natural Spanish.
- In
spec_es.md, change**Status**: Draftto**Estado**: Borrador.
- Confirmation output:
- Report all files created or updated in this run, one path per line.