Skip to content
flashcard-drill logo

Flashcard Drill

flashcard-drill

Run timed flashcard drills when user says "drill <category>" (e.g., "drill bitwise", "drill 1-bitwise", "drill arrays"). Reads all flashcards upfront, quizzes rapidly, logs results, drills missed cards, then updates README.

SKILL.md

Full skill instructions

Flashcard Drill

Run a timed flashcard drill session for a category in 0-python-flashcards/.

Workflow

1. Setup (before starting)

  • Read ALL flashcard files from the requested category directory
  • Each .md file is one flashcard: the H1 heading is the question, the code block is the answer
  • Tell the user the count and that you're ready
  • User will say "go" or similar to start

2. Quiz Phase (be FAST)

  • Present questions one at a time with the question number prefix (e.g., "Q1: How do you get bit at position i?")
  • Get the question number from the filename (e.g., 03-clear-bit.md = Q3, 01b-row-type.md = Q1b)
  • The question text is in the **Q:** line of the flashcard (NOT the H1 heading)
  • When user answers, respond IMMEDIATELY with:
    • "Correct!" or "Wrong - [correct answer]"
    • Blank line for readability
    • Then the next question in the SAME response
  • NO extra commentary, NO thinking, NO explanations during the drill
  • Track: correct count, incorrect cards (for later review)

3. Log Results

After the last card, ask the user for their time in seconds, then run:

~/​.pyenv/​versions/​python-coding-dojo/​bin/​python scripts/​log_flashcard_drill.py <category> --score <correct> --count <total> --time <seconds> --notes "Missed: Q3, Q7, Q12"

IMPORTANT: Always include --notes with the list of missed question numbers (e.g., "Missed: Q3, Q7, Q12"). Use the question number from the filename (e.g., 03-clear-bit.md = Q3).

Category names in progress.yaml:

  • bitwise (for 1-bitwise)
  • arrays (for 2-arrays)
  • strings (for 3-strings)
  • linked-lists (for 4-linked-lists)
  • stacks-queues (for 5-stacks-queues)
  • binary-trees (for 6-binary-trees)
  • heaps (for 7-heaps)
  • searching (for 8-searching)
  • hash-tables (for 12-hash-tables)
  • sorting (for 13-sorting)
  • bst (for 14-bst)
  • recursion (for 15-recursion)
  • dynamic-programming (for 16-dynamic-programming)
  • greedy-invariants (for 17-greedy-invariants)
  • graphs (for 18-graphs)

4. Review Missed Cards

If any cards were missed, offer to drill them again. Repeat until user is satisfied.

5. Finish

~/​.pyenv/​versions/​python-coding-dojo/​bin/​python scripts/​update_readme.py

Then commit and push (no "Claude" in commit message):

git add -A && git commit -m "Log flashcard drill: <category>" && git push

Scoring Rules

From log_flashcard_drill.py:

  • Pass: Perfect score (score == count) AND under target time
  • Fail: Any wrong answers OR over target time

Flashcard Format

Each .md file in 0-python-flashcards/<category>/:

# Card Title

**Q:** Question text here?

**A:** Brief answer description

\`\`\`python
answer_code_here
\`\`\`

The filename determines the question number (e.g., 01-read-csv-basic.md = Q1, 01b-row-type.md = Q1b).

Example Session

User: "drill bitwise" Claude: reads all 17 files in 0-python-flashcards/​1-bitwise/​ Claude: "Ready! 17 cards. Say 'go' when ready." User: "go" Claude: "Q1: How do you get bit at position i?" User: "(x >> i) & 1" Claude: "Correct!

Q2: How do you set bit at position i?" ... Claude: "Done! 16/​17 correct. What was your time in seconds?" User: "485" Claude: logs attempt with --notes "Missed: Q5" Claude: offers to drill missed card

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View