ワンクリックで
gather-code-examples
Generate code example checklists for Developer Documentation lessons based on readiness assessment.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate code example checklists for Developer Documentation lessons based on readiness assessment.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Evaluate SLT quality across 5 dimensions with rewrite suggestions.
Interview the user to classify each SLT by lesson type and build up lesson type heuristics.
Draft Student Learning Targets for a new course or module.
Assess your readiness to coach a learner through each SLT.
Release a new version of Coach across all three distribution channels — Claude Code marketplace, npm, and GitHub.
Capture and apply knowledge from course development to improve future runs.
| name | gather-code-examples |
| description | Generate code example checklists for Developer Documentation lessons based on readiness assessment. |
| license | MIT |
| metadata | {"author":"Andamio","version":"1.0.0"} |
Generates a structured code example checklist from a course's readiness assessment. Used during Phase 6 (Gather Context) of the course workflow to prepare assets for Developer Documentation lessons.
/self-assess-readiness identifies Developer Documentation SLTs as "Needs Context"/gather-code-examples # Interactive: asks which course
/gather-code-examples andamio-for-api-developers # Specify course
If no course specified, scan courses-in-progress/ and ask which course to generate checklist for.
Read 04-readiness-assessment.md to identify:
03-lesson-type-classification.md)Read 00-course.md to get:
Create assets/code-examples/README.md with:
# Code Example Checklist: [Course Name]
**Generated from:** `04-readiness-assessment.md`
**Primary language:** [language]
**Key libraries:** [list]
**Last updated:** [date]
## Environment Requirements
- **Language version:** [e.g., Go 1.21+, Node 18+]
- **Required packages:** [list with versions if known]
- **Test environment:** [e.g., Cardano preprod, local devnet]
## Naming Convention
[slt-number]-[example-name].[ext]
## Checklist
### SLT [X.Y]: [SLT text]
| # | Filename | What to Demonstrate | Status |
|---|----------|---------------------|--------|
| 1 | `X.Y-example-name.go` | [specific code pattern] | [ ] |
**Code requirements:**
- [ ] Compiles without errors
- [ ] Runs against [test environment]
- [ ] Includes comments explaining key steps
- [ ] Error handling demonstrated
**API references needed:**
- [ ] [specific API doc or function signature]
**Verification:**
- [ ] Output matches expected result
- [ ] Tested on [date] against [environment]
---
[Repeat for each Developer Documentation SLT]
## Summary
| SLT | Examples Needed | Verified | Notes |
|-----|-----------------|----------|-------|
| X.Y | [count] | 0 | [brief note] |
**Total:** [n] code examples
## API Documentation Links
| Library | Doc URL | Version | Status |
|---------|---------|---------|--------|
| [name] | [url] | [version] | [ ] Verified current |
## Gathering Session Notes
_Use this space to record observations:_
- Date:
- Tester:
- Environment version:
- Issues encountered:
Ensure assets/code-examples/ directory exists:
courses-in-progress/[course-slug]/
assets/
code-examples/
README.md # The checklist
1.2-api-auth.ts # Example files
2.1-query-courses.ts
...
After generating, report:
## Code Example Checklist Generated
**Course:** [name]
**Location:** `assets/code-examples/README.md`
| SLT | Example | Language | Dependencies |
|-----|---------|----------|--------------|
| X.Y | [name] | [lang] | [libs] |
**Total:** [n] examples across [m] SLTs
### Dependency Tiers
| Tier | SLTs | What's Needed | Est. Effort |
|------|------|---------------|-------------|
| 1: Standalone | [list] | Language + standard lib only | Low |
| 2: External API | [list] | API key + network access | Medium |
| 3: On-chain | [list] | Test wallet + test ADA | Higher |
**Next step:** Verify API docs are current, then write Tier 1 examples.
[slt]-[example-name].[ext]
| Part | Format | Example | Purpose |
|---|---|---|---|
slt | X.Y | 1.2 | SLT number |
example-name | kebab-case | api-auth | What the example demonstrates |
ext | language extension | .ts, .go, .py | File type |
| Filename | Description |
|---|---|
1.2-api-auth.ts | Authentication example |
2.1-query-courses.ts | Querying course data |
3.1-build-transaction.go | Building unsigned transaction |
3.2-sign-submit.go | Signing and submitting |
Every code example must:
For each example, record:
### Verification: [filename]
- **Tested:** [date]
- **Environment:** [language version, library versions]
- **Test network:** [preprod/mainnet/local]
- **Result:** Pass / Fail
- **Output:**
[actual output]
- **Notes:** [any observations]
| Type | Purpose | Template Pattern |
|---|---|---|
| Auth | Authenticate with API | Setup credentials → make auth call → store token |
| Query | Fetch data | Auth → build query → handle response → parse data |
| Transaction | Build/submit tx | Auth → build unsigned → sign → submit → confirm |
| CRUD | Create/Read/Update/Delete | Auth → operation → verify result |
| Webhook | Handle callbacks | Setup server → register webhook → handle event |
.output file