google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
lokalise-prod-checklist
Execute Lokalise production deployment checklist and rollback procedures. Use when deploying Lokalise integrations to production, preparing for launch, or implementing go-live procedures. Trigger with phrases like "lokalise production", "deploy lokalise", "lokalise go-live", "lokalise launch chec...
Full skill instructions
Complete checklist for deploying Lokalise integrations to production.
npm test)#!/bin/bash
# deploy-with-verification.sh
set -e
echo "=== Lokalise Production Deployment ==="
# Pre-flight checks
echo "1. Checking Lokalise API status..."
STATUS=$(curl -s https://api.lokalise.com/api2/system/health | jq -r '.status // "unknown"')
if [ "$STATUS" != "ok" ]; then
echo "ERROR: Lokalise API not healthy. Aborting."
exit 1
fi
echo "2. Verifying API token..."
TOKEN_CHECK=$(curl -s -o /dev/null -w "%{http_code}" \
-H "X-Api-Token: $LOKALISE_API_TOKEN" \
"https://api.lokalise.com/api2/projects?limit=1")
if [ "$TOKEN_CHECK" != "200" ]; then
echo "ERROR: API token invalid (HTTP $TOKEN_CHECK). Aborting."
exit 1
fi
echo "3. Downloading fresh translations..."
npm run i18n:pull
echo "4. Building application..."
npm run build
echo "5. Running post-build tests..."
npm run test:e2e
echo "6. Deploying..."
# Your deployment command here
# vercel --prod / fly deploy / gcloud run deploy
echo "7. Verifying deployment..."
HEALTH=$(curl -s https://your-app.com/api/health | jq -r '.services.translations')
if [ "$HEALTH" != "healthy" ]; then
echo "WARNING: Translation service health check failed"
fi
echo "=== Deployment Complete ==="
| Alert | Condition | Severity |
|---|---|---|
| API Down | 5xx errors > 5/min | P1 |
| Translation Missing | 404 on key lookup | P2 |
| Rate Limited | 429 errors > 10/min | P2 |
| Auth Failures | 401/403 errors > 0 | P1 |
| High Latency | p99 > 3000ms | P3 |
interface HealthStatus {
status: "healthy" | "degraded" | "unhealthy";
translations: {
connected: boolean;
latencyMs: number;
lastSync?: string;
};
}
async function checkTranslationHealth(): Promise<HealthStatus> {
const start = Date.now();
try {
const client = new LokaliseApi({
apiKey: process.env.LOKALISE_API_TOKEN!,
});
// Quick connectivity check
await client.projects().list({ limit: 1 });
return {
status: "healthy",
translations: {
connected: true,
latencyMs: Date.now() - start,
lastSync: process.env.TRANSLATIONS_LAST_SYNC,
},
};
} catch (error) {
return {
status: "degraded",
translations: {
connected: false,
latencyMs: Date.now() - start,
},
};
}
}
// Express health endpoint
app.get("/health", async (req, res) => {
const health = await checkTranslationHealth();
const statusCode = health.status === "healthy" ? 200 : 503;
res.status(statusCode).json(health);
});
import en from "./locales/en.json"; // Bundled fallback
async function getTranslations(locale: string): Promise<Record<string, string>> {
try {
// Try to load from Lokalise/CDN
const response = await fetch(`/locales/${locale}.json`);
if (!response.ok) throw new Error(`HTTP ${response.status}`);
return response.json();
} catch (error) {
console.warn(`Failed to load ${locale}, falling back to English`);
return en;
}
}
#!/bin/bash
# rollback-translations.sh
# Option 1: Revert to previous Git commit translations
git checkout HEAD~1 -- src/locales/
# Option 2: Download specific snapshot from Lokalise
lokalise2 \
--token "$LOKALISE_API_TOKEN" \
--project-id "$LOKALISE_PROJECT_ID" \
file download \
--format json \
--filter-data reviewed \
--unzip-to ./src/locales
# Rebuild and redeploy
npm run build
npm run deploy
async function validateProductionReadiness(): Promise<{
ready: boolean;
issues: string[];
}> {
const issues: string[] = [];
// Check environment
if (!process.env.LOKALISE_API_TOKEN) {
issues.push("LOKALISE_API_TOKEN not set");
}
if (!process.env.LOKALISE_PROJECT_ID) {
issues.push("LOKALISE_PROJECT_ID not set");
}
// Check translations exist
const localeDir = "./src/locales";
const requiredLocales = ["en", "es", "fr", "de"];
for (const locale of requiredLocales) {
const path = `${localeDir}/${locale}.json`;
if (!fs.existsSync(path)) {
issues.push(`Missing locale file: ${locale}.json`);
}
}
// Check for missing translations in non-base languages
const baseTranslations = JSON.parse(
fs.readFileSync(`${localeDir}/en.json`, "utf8")
);
const baseKeys = Object.keys(flattenObject(baseTranslations));
for (const locale of requiredLocales.filter(l => l !== "en")) {
const translations = JSON.parse(
fs.readFileSync(`${localeDir}/${locale}.json`, "utf8")
);
const localeKeys = Object.keys(flattenObject(translations));
const missingKeys = baseKeys.filter(k => !localeKeys.includes(k));
if (missingKeys.length > 0) {
issues.push(`${locale}: ${missingKeys.length} missing translations`);
}
}
return {
ready: issues.length === 0,
issues,
};
}
For version upgrades, see lokalise-upgrade-migration.
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.
Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.
Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.
Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.
Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Opus.ai: Revolutionize Your Web Experience
Build a no-code AI app in minutes.
An IDE for code migration from legacy to modern frameworks through coding agents.
Automate CGI animation in live-action scenes
Branded artistic QR-code concepts
Launch a website in seconds with AI.
Streamline Your Coding Experience with AI Code Helper
Convert any screenshot or design to clean code.