writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
gamma-prod-checklistProduction readiness checklist for Gamma integration. Use when preparing to deploy Gamma integration to production, or auditing existing production setup. Trigger with phrases like "gamma production", "gamma prod ready", "gamma go live", "gamma deployment checklist", "gamma launch".
Independent GitHub snapshot · Automated classification · Original documentation governs
Comprehensive checklist to ensure your Gamma integration is production-ready.
// Production client configuration
const gamma = new GammaClient({
apiKey: await secretManager.getSecret('GAMMA_API_KEY'),
timeout: 30000,
retries: 3,
});
import * as Sentry from '@sentry/node';
try {
await gamma.presentations.create({ ... });
} catch (err) {
Sentry.captureException(err, {
tags: { service: 'gamma', operation: 'create' },
});
throw new UserError('Unable to create presentation. Please try again.');
}
// Health check
app.get('/health/gamma', async (req, res) => {
try {
await gamma.ping();
res.json({ status: 'healthy', service: 'gamma' });
} catch (err) {
res.status(503).json({ status: 'unhealthy', error: err.message });
}
});
import CircuitBreaker from 'opossum';
const breaker = new CircuitBreaker(
(opts) => gamma.presentations.create(opts),
{
timeout: 30000,
errorThresholdPercentage: 50,
resetTimeout: 30000,
}
);
breaker.fallback(() => ({
error: 'Service temporarily unavailable',
retry: true,
}));
#!/bin/bash
# prod-verify.sh
echo "Gamma Production Verification"
# Check API key
if [ -z "$GAMMA_API_KEY" ]; then
echo "FAIL: GAMMA_API_KEY not set"
exit 1
fi
# Test connection
curl -s -o /dev/null -w "%{http_code}" \
-H "Authorization: Bearer $GAMMA_API_KEY" \
https://api.gamma.app/v1/ping | grep -q "200" \
&& echo "OK: API connection" \
|| echo "FAIL: API connection"
echo "Verification complete"
Proceed to gamma-upgrade-migration for version upgrades.