sample-app-design
/sample-app-design
Spec a sample app or SDK quickstart that demonstrates the real value path as production-grade, runnable code — it runs from a clean checkout, handles errors, pins versions, and has no hardcoded secrets. Use when designing or reviewing sample code that developers will copy verbatim.
- Author
- mcorbett51090 ↗
- Repository
- ravenclaude ↗
- Licence
- MIT
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Spec a sample app or SDK quickstart that demonstrates the real value path as production-grade, runnable code — it runs from a clean checkout, handles errors, pins versions, and has no hardcoded secrets. Use when designing or reviewing sample code that developers will copy verbatim.
Original author description
Spec a sample app or SDK quickstart that demonstrates the real value path as production-grade, runnable code — it runs from a clean checkout, handles errors, pins versions, and has no hardcoded secrets. Use when designing or reviewing sample code that developers will copy verbatim.
How it works
- When to use
- Procedure
- Output
- Anti-patterns (the hook flags these)
SKILL.md preview
--- name: sample-app-design description: "Spec a sample app or SDK quickstart that demonstrates the real value path as production-grade, runnable code — it runs from a clean checkout, handles errors, pins versions, and has no hardcoded secrets. Use when designing or reviewing sample code that developers will copy verbatim." --- # Skill: Sample-app design Design sample code that a developer can copy into production without learning a bad habit. Sample code is production code — it's copied verbatim into real codebases. ## When to use - You need a sample app or SDK quickstart to show off the product's value path. - A snippet/sample is about to be published and needs a production-grade review. - A toy example is setting developers up for a cliff when they hit the hard parts. ## Procedure 1. **Pick the value path, not a toy.** The sample demonstrates the real reason a developer would use the product — including the parts that are genuinely hard. Hiding the hard parts is a future support ticket. 2. **Scope it to runnable.** It compiles and runs from a clean checkout with a documented, minimal setup. If it doesn't run from clean, it isn't done. 3. **Handle errors.** Show the real failure modes (rate limits, auth expiry, bad input) and the correct handling — not a happy-path-only snippet that breaks the moment reality intrudes. 4. **Secure by default.** **No hardcoded secrets** — env vars or a secret manager, never a literal key. Teach the secure pattern, because everyone who copies it inherits it. Route auth/secret deep dives to `security-engineering`. 5. **Pin versions** so the sample doesn't rot when a dependency ships a breaking change. 6. **Mark any product friction** for `developer-advocate` to file — don't bury it in prose. Capture the spec in the [`sample-app-spec`](../../templates/sample-app-spec.md) template. ## Output A sample-app spec (value path, runnable scope, error handling, secure patterns, pinned versions) ready for the content-engineer to build. ## Anti-patterns (the hook flags these) - A sample with a **hardcoded secret/API key** (teaches a vulnerability at scale). - A sample that **swallows errors** (empty catch / ignored failure). - A toy that hides the hard parts and sets up a cliff.
Versions
The database has no other skills named sample-app-design.
Database snapshot: 13.11.2026 · package version 28c87c930658 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100docs-code-sample-standards
Defines the policy every code sample in developer documentation must meet and audits an existing sample corpus against it, returning a ranked fix queue. Use whenever the user mentions docs code samples, code snippets in documentation, runnable examples, examples that no longer… - 100quickstart
Scaffold a new Even Hub G2 smart glasses app from scratch with Vite, TypeScript, SDK, simulator, and CLI. Use when creating a new Even Hub project, starting a glasses app, or bootstrapping development. - 90sample-write
Write a working code sample or tutorial for an API feature or integration pattern. Use when asked to "write a code sample", "write a tutorial for this feature", or "build an integration example". - 100cu-sdk-sample-run
Run a specific sample for the Azure AI Content Understanding SDK. Use when users want to run a particular sample like sample_analyze_url.py or sample_analyze_invoice.py. - 90onboard-quickstart
Write a developer quickstart — minimal steps from zero to first successful API call. Use when asked to "write a quickstart", "get users from zero to first API call", or "write a getting started guide". - 100google-ads-api-quickstart
Guides developers through Google Ads API quickstart: credential setup, choosing from 6 client libraries/REST, configuring environments, and running a "retrieve campaigns" script. Troubleshoots common setup errors: USER_PERMISSION_DENIED, login_customer_id issues, and…