Feat: Add prompts to all lessons - #5
Open
Alicelibinguo5 wants to merge 1 commit into
Open
Conversation
Each lesson folder now includes a prompts.md with the numbered prompts used during that lesson's video. A top-level prompts/ directory collects them all in one place for easy browsing.
reza-rezaie
added a commit
to reza-rezaie/sc-spec-driven-development-files
that referenced
this pull request
Aug 12, 2026
Per the multi-perspective review of this branch: 1. GET /agents/:id for an unknown id no longer renders through the full styled <Layout> (header/nav/footer/Pico). It now returns a new, deliberately bare AgentNotFound component — a plain <p> with a back-link, no CSS, no chrome — matching requirements.md's "plain text/minimal markup only" decision and validation.md https-deeplearning-ai#5, which the original implementation contradicted. 2. Switched the vendored stylesheet from Pico's default build to its *classless* build (pico.classless.min.css, still saved as static/pico.min.css). The default build only constrains page width inside a .container class; since this project deliberately uses no extra classes, static/style.css was hand-reimplementing that same width/spacing constraint on body > header/main/footer — duplicating what the classless build already provides, mobile-first breakpoints included. That reimplementation is now deleted. 3. static/style.css now actually overrides Pico's own --pico-* variables (the --pico-primary* family, light + dark) with an AgentClinic brand color, rather than only defining unrelated spacing tokens while never touching a single Pico variable. specs/tech-stack.md, specs/2026-08-11-agents-ailments/{requirements, plan,validation}.md updated to describe the classless build and the real variable overrides accurately. Tests extended: not-found route asserts NO nav/header/pico link (proving it's genuinely minimal), valid-id route asserts nav IS present, and new tests confirm both stylesheets are served and pico.min.css loads before style.css. Verified: typecheck clean, 37/37 tests pass, curl-checked the not-found response is a bare <p> while the real pages keep full Layout chrome, confirmed style.css's --pico-primary override lands in the served CSS. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Each lesson folder now includes a prompts.md with the numbered prompts used during that lesson's video. A top-level prompts/ directory collects them all in one place for easy browsing.