QU

quiz-workflow

Governs the quiz lifecycle and approval workflows, ensuring content integrity and consistent quiz mode behavior.

Install

mkdir -p .claude/skills/quiz-workflow && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17988" && unzip -o skill.zip -d .claude/skills/quiz-workflow && rm skill.zip

Installs to .claude/skills/quiz-workflow

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Work safely on quiz behavior, review flow, moderation, approval, results, and duplicate-resolution logic in this repository. Use when the task affects quiz modes, attempt lifecycle, question approval, review queues, certification management, or deduplication behavior. Keep product rules intact: generated questions start as draft, approval gates quiz eligibility, and workflow changes should remain consistent across UI, API routes, and shared services.
454 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Work safely on quiz behavior, review flow, and moderation.
  • Preserve core product rules for quiz content lifecycle.
  • Keep business logic in the service layer.
  • Model changes in terms of state transitions and user journeys.
  • Verify behavior after changes, not just types.

How it works

The skill guides modifications to quiz-related features by emphasizing reading existing workflow rules, preserving core product rules, centralizing business logic in the service layer, and modeling changes as state transitions.

Inputs & outputs

You give it
Task affecting quiz behavior, review flow, moderation, approval, results, or deduplication logic
You get back
Changes that preserve domain integrity and workflow correctness

When to use quiz-workflow

  • Modify quiz behavior
  • Update approval workflow
  • Fix deduplication logic
  • Adjust quiz attempt lifecycle

About this skill

Sync note: this skill is mirrored in .github/skills/quiz-workflow/, .claude/skills/quiz-workflow/, and .agents/skills/quiz-workflow/. When editing this file, keep the mirrored SKILL.md and references/ files aligned.

Quiz Workflow

Use this skill for domain workflow work: quizzes, approvals, review, question lifecycle, results, and deduplication.

Workflow

1. Read workflow rules first

Before editing behavior, read repo workflow notes and inspect the nearest relevant services and routes.

The core sources of truth are:

  • docs/WORKFLOW.md
  • src/server/services/quiz-service.ts
  • src/server/services/review-service.ts
  • src/server/services/dedupe-service.ts
  • related src/app/api/**/route.ts files

2. Preserve core product rules

These rules are high priority and should not be broken unless the task explicitly changes them:

  • generated questions start as draft
  • only approved questions belong in the active quiz pool
  • review is the gate between draft content and active content
  • deduplication produces flags that require explicit resolution
  • quiz modes remain coherent: timed or untimed, fixed or random

If a requested change conflicts with those rules, make the conflict explicit rather than silently bypassing the workflow.

3. Keep logic in the service layer

When making changes:

  • put business logic in src/server/services/*
  • keep route handlers thin
  • keep UI components focused on presentation and interaction
  • update CLI and GUI paths consistently when they rely on shared services

Do not split the workflow into duplicated logic across routes, pages, and scripts.

4. Think in lifecycle transitions

Model changes in terms of state transitions and user journeys.

  • draft -> approved -> active pool
  • draft -> rejected
  • attempt started -> answers saved -> attempt submitted -> results shown
  • duplicate flagged -> duplicate reviewed -> resolution stored

Prefer explicit and auditable transitions over hidden side effects.

5. Verify behavior, not just types

After changes, check that:

  • approved-only quiz selection still holds unless intentionally changed
  • review and moderation flows still match the product lifecycle
  • dedupe flags and resolutions still make sense
  • results, attempts, and answer persistence still align with mode and timing behavior
  • UI and API entry points still call the same service logic where they should

Output expectations

When this skill is active, changes should usually preserve domain integrity first and code shape second.

Favor workflow correctness, service-layer cohesion, and explicit state transitions over quick UI-only patches.

When not to use it

  • When the task does not affect quiz modes, attempt lifecycle, question approval, review queues, certification management, or deduplication behavior.
  • When the task explicitly changes core product rules without making the conflict explicit.
  • When the task involves UI-only patches that bypass service layer logic.

Limitations

  • The skill is specific to the quiz workflow in this repository.
  • It requires adherence to core product rules like 'generated questions start as draft'.
  • Changes should avoid splitting workflow logic across routes, pages, and scripts.

How it compares

This skill enforces a disciplined approach to modifying quiz workflows, prioritizing domain integrity and explicit state transitions over quick fixes, which contrasts with an unguided approach that might introduce inconsistencies.

Compared to similar skills

quiz-workflow side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
quiz-workflow (this skill)04moNo flagsIntermediate
supabase-developer957moReviewIntermediate
architecture-patterns552moNo flagsAdvanced
telegram-bot-builder1066moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

supabase-developer

daffy0208

Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.

95185

architecture-patterns

wshobson

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex backend systems or refactoring existing applications for better maintainability.

55214

telegram-bot-builder

davila7

Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.

106130

telegram-mini-app

davila7

Expert in building Telegram Mini Apps (TWA) - web apps that run inside Telegram with native-like experience. Covers the TON ecosystem, Telegram Web App API, payments, user authentication, and building viral mini apps that monetize. Use when: telegram mini app, TWA, telegram web app, TON app, mini app.

62163

stripe-integration

wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

48165

nodejs-best-practices

davila7

Node.js development principles and decision-making. Framework selection, async patterns, security, and architecture. Teaches thinking, not copying.

28120

Search skills

Search the agent skills registry