AGENT SKILL

technical-book-lab-design

Design hands-on technical nonfiction chapters as runnable labs, worked examples, exercises, checkpoints, troubleshooting paths, and reader outcomes. Use when turning technical book sections, tutorials, self-hosting chapters, DevOps guides, programming lessons, or infrastructure explanations into practical labs that readers can complete and verify.

License 许可
MIT
最近更新
2026-06-26
Stars
★ 0
Forks
0

01 前言 Front Matter

name
technical-book-lab-design
license
MIT
metadata
{ "tags": "writing,books,nonfiction,technical-writing,tutorials", "version": "0.1.0", "category": "Writing", "displayName": "Technical Book Lab Design" }
description
Design hands-on technical nonfiction chapters as runnable labs, worked examples, exercises, checkpoints, troubleshooting paths, and reader outcomes. Use when turning technical book sections, tutorials, self-hosting chapters, DevOps guides, programming lessons, or infrastructure explanations into practical labs that readers can complete and verify.
compatibility
Codex, Claude Code, and other Agent Skills-compatible clients.

02 资源文件 6

03 SKILL.md 正文

Technical Book Lab Design

Core Lens

A technical book lab is not a pile of commands. It is a guided reader transformation with a clear starting state, safe path, visible progress, expected output, and exit criteria. The reader should know what they built, why it works, how to verify it, and what to do when it fails.

Use this skill to design or improve:

  • Self-hosting chapters.
  • DevOps, infrastructure, programming, data, or security tutorials.
  • Worked examples and exercises.
  • Lab prerequisites and environment assumptions.
  • Checkpoints, expected outputs, and troubleshooting branches.

Reference Routing

Need Read
Core lab concepts and terminology references/core/knowledge.md
Lab design rules references/core/rules.md
Before/after examples references/core/examples.md
Lab review checklist references/core/checklist.md
Step-by-step lab design workflows/design-runnable-lab.md

Workflow

1. Name The Reader Outcome

State what the reader will be able to do, decide, deploy, debug, or explain after the lab.

If the outcome is only "learn about X," sharpen it until there is visible proof of progress.

2. Define The Starting State

List what the reader already has and knows:

  • Required concepts.
  • Accounts, hardware, software, versions, and operating system.
  • Network, domain, DNS, permissions, credentials, or safety constraints.
  • Files or repo state.

Move missing prerequisites earlier, compress them, or link them to companion material.

3. Design The Path

Structure the lab as small checkpoints:

  • Explain the purpose before each action.
  • Give the smallest safe command or change.
  • Show expected output or state.
  • Add a quick verification.
  • Explain the next decision.

4. Add Failure Handling

Technical readers do not only need the happy path.

  • List likely errors and what they mean.
  • Add rollback or cleanup steps where changes are risky.
  • Mark steps that expose services, change permissions, spend money, or affect data.
  • Tell readers when to stop and ask for help.

5. Close The Loop

End every lab with:

  • Final verification.
  • What the reader should understand now.
  • What they can safely change next.
  • Cleanup, maintenance, or security follow-up.

Output Format

When designing or reviewing a lab, return:

  1. Reader outcome and starting-state assumptions.
  2. Lab sequence with checkpoints.
  3. Expected outputs and verification steps.
  4. Troubleshooting table.
  5. Safety notes and cleanup.
  6. Suggested companion resources or prerequisites.

Quality Bar

Make the lab useful to a real reader in a real environment. Prefer concrete outputs, checkpoints, and failure handling over abstract explanation or untested command sequences.

04 同仓库更多 Skills

ConcertoNotes
ConcertoNotes/codex-plugins

android-emulator-qa

Use when validating Android feature flows in an emulator with adb-driven launch, input, UI-tree inspection, screenshots, and logcat capture.

★ 0
ConcertoNotes
ConcertoNotes/codex-plugins

supabase-postgres-best-practices

Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.

★ 0
ConcertoNotes
ConcertoNotes/codex-plugins

sentry

Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.

★ 0
ConcertoNotes
ConcertoNotes/codex-plugins

render-workflows

Sets up, develops, tests, and deploys Render Workflows. Covers first-time scaffolding (via CLI or manual), SDK installation (Python or TypeScript), task patterns (retries, subtasks, fan-out), local development, Dashboard deployment, and troubleshooting. Use when a user wants to set up Render Workflows for the first time, scaffold a workflow service, add or modify workflow tasks, test workflows locally, or deploy workflows to Render.

★ 0
ConcertoNotes
ConcertoNotes/codex-plugins

render-web-services

Configures Render web services—port binding, TLS, health checks, custom domains, auto-deploy, PR previews, persistent disks, and deploy lifecycle. Use when the user needs to set up a web service, fix health check failures, add a custom domain, configure zero-downtime deploys, or troubleshoot port binding issues.

★ 0
ConcertoNotes
ConcertoNotes/codex-plugins

render-static-sites

Deploys and configures static sites on Render's global CDN—build commands, publish paths, SPA routing, redirects, custom headers, and PR previews. Use when the user needs to deploy a static site, set up a React/Vue/Hugo/Gatsby frontend, configure SPA fallback routing, add redirect rules, customize response headers, or choose between a static site and a web service for their frontend. Trigger terms: static site, CDN, SPA, single-page app, React deploy, Vue deploy, Hugo, Gatsby, Docusaurus, Jekyll, staticPublishPath.

★ 0