Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
Use when designing a developer API playground, its sandbox architecture, sharing, gating or evaluation flow.
Let developers experience your product before they commit. A great playground removes the biggest barrier to adoption: uncertainty about whether your product solves their problem.
Choose examples that:
"Hello World" Example
// Example: Text Analysis API
const result = await api.analyze("Hello, world!");
// Output: { words: 2, characters: 13 }
"Aha Moment" Example
// Example: Shows AI doing something impressive
const result = await api.summarize(longArticle);
// Illustrative output shape only; summarize may be inaccurate and needs evaluation.
"Real Use Case" Examples
// Example 1: E-commerce - Analyze product reviews
// Example 2: Support - Classify incoming tickets
// Example 3: Social - Detect spam comments
"Integration" Examples
// Example: Integration with Express.js
app.post('/analyze', async (req, res) => {
const result = await api.analyze(req.body.text);
res.json(result);
});
api, longArticle, Express setup and service adapters are not bundled. Never expose a privileged API key to editable code or auto-run billable/destructive examples on page load. Use explicit Run, synthetic data, short-lived scoped capabilities and server-enforced budgets.