grade-scaffold

Grades scaffolded projects by comparing TODO markers against implementations and running smoke tests.

Updated Jul 17, 2026
One-click install
npx skills add https://github.com/unnxt30/skills --skill grade-scaffold-unnxt30
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grade-scaffold
Source: https://github.com/unnxt30/skills/tree/main/grade-scaffold
Command: npx skills add https://github.com/unnxt30/skills --skill grade-scaffold-unnxt30

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When learning to build projects from scaffolds, it's hard to know whether your implementations are actually correct, complete, or riddled with subtle bugs. This Skill audits your work against the scaffold's intent and gives you an honest, prioritized grade instead of vague reassurance. ## Core Features & Use Cases - TODO-to-implementation comparison: Finds every # TODO(<owner>): marker, checks whether the body is still a stub or real code, and grades real code against the stated intent. - Smoke test execution: Detects the project shape (FastAPI app, pytest config, settings module) and runs the appropriate smoke chain with timeouts to verify the code actually runs. - Known bug pattern detection: Flags recurring mistakes like async/sync mismatches, SQLAlchemy ORM/Core mixing, Pydantic v1 leftovers, and module-level singletons. - Use Case: You finished Phase 2 of a scaffolded FastAPI project and type /grade. The Skill reads the spec, cats each scaffolded file, runs the health-check smoke, and returns a grade card with a B+, two must-fix bugs, and a recommended next step. ## Quick Start Type /grade or ask "grade my Phase 2 work" to audit your scaffolded project and receive an honest grade card with prioritized fixes.

Frequently Asked Questions about grade-scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I grade my progress on a scaffolded coding project?

Type /grade or ask to grade a specific phase. The skill finds all owner-tagged TODO markers, compares each implementation against the TODO's intent, runs smoke tests, and produces a grade card with a letter grade and prioritized fix list.

What is a TODO owner marker in learning-mode scaffolding?

An owner-tagged marker like `# TODO(unnat): implement login` is a scaffold hint telling you what to implement in the body below. Bodies still containing `raise NotImplementedError` count as not done; real code gets graded against the stated intent.

Does the grading skill work on projects not built with learning-scaffold?

Yes, it works standalone on any project using `# TODO(<owner>):` markers, even without the learning-scaffold skill. However, it produces better results when spec and plan documents exist to define what done means.

What common bugs does the grader check for in FastAPI projects?

It checks for async/sync mismatches like un-awaited `db.scalars()` calls, SQLAlchemy ORM/Core mixing, Pydantic v1 leftovers such as `@validator` and `parse_obj`, missing `app.include_router` mounts, and module-level engine singletons that break testability.

Why does the grader use cat instead of the Read tool?

The Read tool can return stale cached content if a file was modified since the last read, silently showing outdated code. Using `cat` bypasses the cache and guarantees the grader evaluates the actual current file contents.

Does the grade skill fix the bugs it finds?

No, it only reports findings and describes the correct pattern. In learning mode the user writes the fix themselves, preserving the educational value of implementing the correction.