agentleFS
juanklagosjuanklagos/spec-driven-development-template/.claude/skills/sdd-serve/SKILL.md

sdd-serve

Skill19 starsChanged 3 months agoMITView on GitHub

Serve the SDD Builder's AI request queue: claim requests with sdd_next_request, draft the proposal, answer with sdd_respond_request. Never writes spec files — the user accepts each proposal in the builder. Use when the user asks to attend, serve or listen to the SDD board queue. / Atiende la cola de peticiones del SDD Builder.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call sdd_next_request (projectRoot: the current workspace, agent: your name).

    line 11
  2. Very specific:

    If it returns request: null there is no work: say so in one line and poll again when the user asks (or on the next cycle if you are …

    line 12
  3. Very specific:

    If it returns a request, read all of it: target says which field it is (spec.md section, task, note or logbook entry), currentText is what …

    line 13
  4. Very specific:

    Do NOT write any file under specs/ and do not use the spec-writing tools.

    line 21
  5. Distinctive:

    Do not invent context that is not in the request or the workspace.

    line 22
  6. Distinctive:

    Do not ask for permission between requests: the permission IS the builder's Accept button.

    line 23
  7. Very specific:

    NO escribas ningún archivo bajo specs/ ni uses las tools de escritura de specs.

    line 40
  8. Distinctive:

    No inventes contexto que no esté en la petición ni en el workspace.

    line 41
  9. Distinctive:

    No pidas permiso entre peticiones: el permiso ya es el botón Aceptar del builder.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Serve the SDD queue / Atiende la cola SDD

Serve the SDD Builder's AI request queue.

Loop:

  1. Call sdd_next_request (projectRoot: the current workspace, agent: your name).
  2. If it returns request: null there is no work: say so in one line and poll again when the user asks (or on the next cycle if you are looping).
  3. If it returns a request, read all of it: target says which field it is (spec.md section, task, note or logbook entry), currentText is what exists today and instruction is what the person asked for. 3b. If it carries context (spec 039), that is the rest of the spec the field belongs to: READ-ONLY background. Use it to match the spec's vocabulary, respect its scope and avoid contradicting what is already written. Do not rewrite it or return it. If you still lack something to draft well — the plan, the tasks, another spec, a logbook decision — READ it from the workspace with the read tools before proposing: you have access, and a misaligned proposal costs more than a lookup.
  4. Draft ONLY the proposed text for that field, in the language of the current text and in its format (a list returns one line per item; criteria keep the EARS pattern "WHEN … THE SYSTEM SHALL …"). For structure-idea requests, return exactly the JSON the instruction asks for, with no markdown around it. 4b. For review-spec requests (spec 036) do not draft: REVIEW. Read the spec carried in the instruction and return ONLY this JSON, no markdown: {"summary": "...", "findings": [{"section": "story|scenarios|criteria|requirements|properties|successCriteria|outOfScope", "severity": "blocker|warning|note", "finding": "what is wrong", "why": "why it matters"}]}. Findings, never a rewritten spec: the person fixes it, field by field.
  5. Answer with sdd_respond_request (the request id, proposal: your text).
  6. Repeat from step 1.

Hard rules:

  • Do NOT write any file under specs/ and do not use the spec-writing tools. Your proposal is not applied: the person reviews it as a diff in the builder and only their acceptance writes.
  • Do not invent context that is not in the request or the workspace; read it when you lack it, and if something is still ambiguous, propose the best version and say so in one sentence at the end.
  • Do not ask for permission between requests: the permission IS the builder's Accept button.

Atiende la cola de peticiones de IA del SDD Builder.

Bucle:

  1. Llama a sdd_next_request (projectRoot: el workspace actual, agent: tu nombre).
  2. Si devuelve request: null, no hay trabajo: dilo en una línea y vuelve a consultar cuando el usuario te lo pida (o en el siguiente ciclo si estás en bucle).
  3. Si devuelve una petición, léela entera: target dice qué campo es (sección de spec.md, tarea, nota o entrada de bitácora), currentText es lo que hay hoy e instruction es lo que pide la persona. 3b. Si trae context (spec 039), es el resto de la spec a la que pertenece el campo: material de SOLO LECTURA. Úsalo para escribir con su vocabulario, respetar su alcance y no contradecir lo ya escrito. No lo reescribas ni lo devuelvas. Si aun así te falta algo para redactar bien —el plan, las tareas, otra spec, una decisión de la bitácora—, LÉELO del workspace con las tools de lectura antes de proponer: tienes acceso, y una propuesta desalineada cuesta más que una lectura.
  4. Redacta SOLO el texto propuesto para ese campo, en el idioma del texto actual y con su mismo formato (si es una lista, devuelve una línea por elemento; si son criterios, respeta el patrón EARS «CUANDO … EL SISTEMA DEBERÁ …»). Para peticiones structure-idea, devuelve exactamente el JSON que pide la indicación, sin markdown alrededor. 4b. Para peticiones review-spec (spec 036) no redactes: REVISA. Lee la spec que viene en la indicación y devuelve SOLO este JSON, sin markdown: {"summary": "...", "findings": [{"section": "story|scenarios|criteria|requirements|properties|successCriteria|outOfScope", "severity": "blocker|warning|note", "finding": "qué está mal", "why": "por qué importa"}]}. Hallazgos, nunca la spec reescrita: quien corrige es la persona, campo a campo.
  5. Responde con sdd_respond_request (id de la petición, proposal: tu texto).
  6. Repite desde el paso 1.

Reglas duras:

  • NO escribas ningún archivo bajo specs/ ni uses las tools de escritura de specs. Tu propuesta no se aplica: la persona la revisa como diff en el builder y solo su aceptación escribe.
  • No inventes contexto que no esté en la petición ni en el workspace; léelo cuando te falte, y si algo sigue siendo ambiguo, propón la mejor versión y dilo en una frase al final de la propuesta.
  • No pidas permiso entre peticiones: el permiso ya es el botón Aceptar del builder.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.