Skip to content
Back to skills

2034 Production Best Practices Applied C99dba27

ASecurity

- All inputs/outputs use Zod (TS), Pydantic (Python), or structs (Go) - Prevents runtime errors from malformed data

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
developmenttypescriptpythongoapisecurity

Works with

  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2034-production-best-practices-applied_c99dba27 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2034 Production Best Practices Applied C99dba27?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2034 Production Best Practices Applied C99dba27
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2034-production-best-practices-applied-c99dba27/badge)](https://www.skillsdirectory.com/skills/tools-only-2034-production-best-practices-applied-c99dba27)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Production Best Practices Applied

## Production Best Practices Applied

### 1. Schema Validation
- All inputs/outputs use Zod (TS), Pydantic (Python), or structs (Go)
- Prevents runtime errors from malformed data

### 2. Error Handling
```typescript
try {
  const result = await ai.generate({...});
  return result;
} catch (error) {
  if (error.code === 'SAFETY_BLOCK') {
    // Handle safety filters
  } else if (error.code === 'QUOTA_EXCEEDED') {
    // Handle rate limits
  }
  throw error;
}
```

### 3. Cost Optimization
- Context caching for repeated prompts
- Token usage monitoring
- Temperature tuning for use case
- Model selection (Flash vs Pro)

### 4. Monitoring
- OpenTelemetry tracing enabled
- Custom span attributes
- Firebase Console integration
- Alert configuration

### 5. Security
- Environment variable management
- API key rotation support
- Input sanitization
- Output filtering

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.