docs: tutorial workflows — skills, templates, planning, shipping, QA, tests#178
Open
johnxie wants to merge 2 commits intogarrytan:mainfrom
Open
docs: tutorial workflows — skills, templates, planning, shipping, QA, tests#178johnxie wants to merge 2 commits intogarrytan:mainfrom
johnxie wants to merge 2 commits intogarrytan:mainfrom
Conversation
…s, commands Add comprehensive onboarding documentation covering gstack's core infrastructure. Five files forming a self-contained tutorial that takes readers from "what is gstack?" to understanding every browse command. - index.md: Tutorial entry point with Mermaid architecture flowchart - 01_architecture.md: Three-layer design, virtual team, project structure - 02_browse_engine.md: Client-server model, lifecycle, security, buffers - 03_snapshot_and_refs.md: Accessibility tree, @ref system, staleness - 04_command_system.md: All 52 commands (read/write/meta), error handling All technical claims verified against source code (commands.ts, snapshot.ts, server.ts, browser-manager.ts, buffers.ts).
… QA, tests Add six chapters completing the gstack tutorial. Covers the workflow layer built on top of the infrastructure documented in the foundation PR. - 05_skill_system.md: Skill anatomy, preamble, 14 roles, data flows - 06_template_engine.md: Placeholder resolution, DRY partials, dev workflow - 07_planning_skills.md: CEO/Eng/Design reviews, cognitive patterns - 08_ship_and_review.md: 11-step ship pipeline, 2-pass review - 09_qa_and_design_review.md: Browser-based QA, design fix loop - 10_test_infrastructure.md: 3-tier validation, eval store, diff selection All workflows verified against SKILL.md.tmpl templates and test infrastructure source (session-runner, llm-judge, eval-store).
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.
Summary
Adds the second half of the gstack tutorial — six chapters covering the workflow layer built on top of the infrastructure documented in PR #177. Together, the 10 chapters form a complete onboarding guide from "what is gstack?" to "how does it test itself?"
What's included
docs/05_skill_system.mddocs/06_template_engine.mddocs/07_planning_skills.mddocs/08_ship_and_review.mddocs/09_qa_and_design_review.mddocs/10_test_infrastructure.mdTotal: ~2,015 lines across 6 files, ~68KB
The complete tutorial map
With both PRs merged, readers get a 10-chapter guided tour:
Chapter highlights
Chapter 5: Skill System
How 14 Markdown files turn Claude Code into a virtual engineering team.
flowchart LR TMPL["SKILL.md.tmpl\n(human-written)"] GEN["gen-skill-docs\n(build step)"] MD["SKILL.md\n(generated)"] CLAUDE["Claude Code\n(reads at runtime)"] TMPL --> GEN --> MD --> CLAUDEKey content:
Chapter 6: Template Engine
The build system that keeps skill docs in sync with source code.
{{PREAMBLE}}{{BROWSE_SETUP}}{{COMMAND_REFERENCE}}{{SNAPSHOT_FLAGS}}{{QA_METHODOLOGY}}{{DESIGN_METHODOLOGY}}{{TEST_BOOTSTRAP}}Chapter 7: Planning Skills
Three reviews from three perspectives — before writing any code:
Chapter 8: Ship & Review Pipeline
The 11-step automated shipping workflow:
Chapter 9: QA & Design Review
Browser-based testing with real clicks and screenshots:
flowchart TD subgraph QA["QA Methodology (6 phases)"] P1["1. Initialize"] --> P2["2. Authenticate"] P2 --> P3["3. Orient (map structure)"] P3 --> P4["4. Explore (visit pages)"] P4 --> P5["5. Document issues"] P5 --> P6["6. Health score"] end subgraph Fix["Fix Loop (/qa only)"] F1["Locate source"] --> F2["Apply fix"] F2 --> F3["Re-test with browser"] F3 --> F4["Atomic commit"] F4 --> F5["Regression test"] end P6 --> FixDesign review risk heuristic:
Chapter 10: Test Infrastructure
The 3-tier system that validates gstack itself:
Verification
All workflows verified against actual SKILL.md.tmpl templates and test source:
*/SKILL.md.tmplfilesscripts/gen-skill-docs.tsplan-{ceo,eng,design}-review/SKILL.md.tmplship/SKILL.md.tmpl,review/SKILL.md.tmplqa-only/SKILL.md.tmpl,design-review/SKILL.md.tmpltest/helpers/*.ts,test/*.test.tsDesign decisions
Test plan