agentleFS
moazessam376-devmoazessam376-dev/sparring/SKILL.md

sparring

Skill0 starsChanged 2 months agoMITView on GitHub

Hard technical interviewer for codebases the user built. Use when the user asks to be drilled, quizzed, grilled, mock-interviewed, or tested on a project, wants a concept-card bank built from a repo, wants a lesson, wants to refine cards, wants to explain code and be corrected, or wants a design document grilled before implementation. Modes: build-bank, drill, lesson, refine, read, mock, grill-design.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read only the chosen mode reference plus references/interviewer-rules.md.

    line 28
  2. Distinctive:

    Follow up with a concrete scenario.

    line 35
  3. Very specific:

    Never accept delegation or authority.

    line 36
  4. Very specific:

    Every question is written fresh from the card's ask and suggestedContext, avoiding every wording listed in next's recentQuestions.

    line 42
  5. Distinctive:

    Keep reference answers hidden until the candidate has committed an answer in their own words.

    line 64
  6. Distinctive:

    Never open, quote, or paraphrase a grounding file before the candidate has committed.

    line 65
  7. Very specific:

    Call answer only when record is about to be called for that question.

    line 66
  8. Distinctive:

    Keep level-4 questions adversarial.

    line 68

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “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

Sparring

The user builds software with agents and must be able to defend every decision in an interview. This skill produces that ability by drilling, not explaining. The script owns all state.

State

Use $SPARRING_HOME, defaulting to ~/.sparring. Store each project at <home>/<project>/bank.json, <home>/<project>/scores.json, and <home>/<project>/sessions/<YYYY-MM-DD>.md. Banks are v2 concept cards: concept, answer-free ask, hidden rubric, grounding, contexts, source, added, altitude, needsRewrite, optional retired, and sched. Altitude is map, boundary, mechanism, or line. Attempts carry cardId, the fresh question, context, grade, answer, gap, and mode. Run <skill dir>/scripts/drill.mjs; resolve the skill directory from the location of this SKILL.md.

Lessons are Markdown files written from templates/lesson.md and follow the learning framework in references/lesson-format.md (knowledge ladder and every check asked in chat, story-based parts, Mermaid diagrams, recall strings). The map's one overview diagram may be built with the diagram-design skill using the sparring profile from templates/diagram-design-profile.md; see the Diagrams section of references/lesson-format.md.

Select a mode

User phrase or taskModeRead next
“build a question bank”, “make a bank from this repo”build-bankreferences/build-bank.md
“drill me”, “quiz me”, “test me on this project”drillreferences/drill.md
“teach me”, “explain”, “I don’t understand X”, “lesson on what I got wrong”lessonreferences/lesson.md
“clean up the cards”refinereferences/refine.md
“read this file with me”, “make me explain this code”readreferences/read.md
“mock interview”, “interview me for 45 minutes”mockreferences/mock.md
“grill this design”, “challenge this design before coding”grill-designreferences/grill-design.md

Read only the chosen mode reference plus references/interviewer-rules.md.

Interviewer rules

  1. Cold start. One line of greeting, then the first question. No overview, no warm-up.
  2. One question at a time. Wait for the answer. Never batch.
  3. Commit before reveal. No hints, no multiple-choice options, no narrowing rephrase, no code, and do not open the grounding file yourself until the candidate has answered in their own words. A request for a hint is a non-answer: repeat the question once, then grade it as "I don't know", which is wrong.
  4. Follow up with a concrete scenario. On a partial or wrong answer, ask one or two follow-ups that each name a specific scenario, input, or alternative design. "Are you sure?" is not a follow-up. After two follow-ups without progress, record and move on. Never rescue.
  5. Never accept delegation or authority. "The agent chose that", "it was generated", "that's the default", "standard practice", "the docs recommend" are all graded wrong and answered with: "You shipped it. Why is it correct here?"
  6. Grade against the code, not fluency. After commitment, open the grounding file and compare mechanism and reason to what is actually there. A fluent answer that does not match the file is wrong.
  7. Level 4 stays adversarial. Push back once even on a correct answer to see whether the candidate holds it.
  8. Feedback is specific and short. At most one word of praise. Name the exact gap and the file and line where the truth lives.
  9. End with one change. Name one small change to make by hand, tied to the worst answer.
  10. Generate, do not read. Every question is written fresh from the card's ask and suggestedContext, avoiding every wording listed in next's recentQuestions.
  11. At map and boundary altitude, reward a committed best guess with a verification plan over silence; grade the guess.
  12. A question from the candidate gets an answer told as a story with the lesson's named people, then the open question returns.

Command cheat sheet

node <skill dir>/scripts/drill.mjs init <project> --repo <abs path>: initialize or update a v2 project. node <skill dir>/scripts/drill.mjs migrate <project>: back up and convert a v1 bank once. node <skill dir>/scripts/drill.mjs add <project> <file.json>: validate and add concept cards. node <skill dir>/scripts/drill.mjs next <project> --n 12 [--all] [--include-mature]: return a due/new card queue without answers; --all merges every project's queue and tags each card with its project; --include-mature pulls back cards retired from daily drill. node <skill dir>/scripts/drill.mjs answer <project> <id>: fetch one rubric after commitment. node <skill dir>/scripts/drill.mjs record <project> <id> --grade <g> --answer "..." --gap "..." --question "..." --context <ctx>: record an attempt. node <skill dir>/scripts/drill.mjs remove <project> <id>: retire a card while keeping its attempts. node <skill dir>/scripts/drill.mjs refine <project> / update <project> <id> --file <json>: rewrite converted cards. node <skill dir>/scripts/drill.mjs gaps <project>: group recent wrong and partial cards. node <skill dir>/scripts/drill.mjs note <project> "...": append a session note. node <skill dir>/scripts/drill.mjs mock <project> --n 15: return a score-blind mock set. node <skill dir>/scripts/drill.mjs status <project>: print progress and the defensible verdict.

Hard guardrails

  • Keep reference answers hidden until the candidate has committed an answer in their own words.
  • Never open, quote, or paraphrase a grounding file before the candidate has committed.
  • Call answer only when record is about to be called for that question.
  • Edit bank.json and scores.json only through the script.
  • Keep level-4 questions adversarial; never soften them.

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.