align-grid
Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a…
Add structured JSON logging, observability commands, and idempotent setup scripts to a project. Use when a project needs production-readiness instrumentation, when user wants structured logging, or as a production-readiness gate at any phase of development.
$ npx -y skills add danielvm-git/bigpowers --skill wire-observability --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/wire-observabilityContext preview
The summary Claude sees to decide when to auto-load this skill.
Add structured JSON logging, observability commands, and idempotent setup scripts to a project. Use when a project needs production-readiness instrumentation, when user wants structured logging, or as a production-readiness gate at any phase of development.
name: wire-observability model: sonnet effort: standard description: Add structured JSON logging, observability commands, and idempotent setup scripts to a project. Use when a project needs production-readiness instrumentation, when user wants structured logging, or as a production-readiness gate at any phase of development.
> **HARD GATE** — **HARD GATE** — Observability is not optional. Before shipping, verify: structured logging is in place, key metrics are instrumented, error cases emit signals. 'We'll add metrics later' becomes 'never.'
Add structured logging, observability commands, and idempotent setup scripts. Can be invoked at any phase — recommended at the end of the first working slice, before the first deploy.
1. **Structured JSON logging** — machine-readable logs for debugging and observability 2. **Observability commands** — how to check the system's health documented in CLAUDE.md 3. **Idempotent setup scripts** — scripts that can be run repeatedly without side effects
Check what's already in place:
**For user-facing CLI output:** plain text is fine. **For everything else:** structured JSON.
Structured log entry format:
{
"level": "info",
"timestamp": "2025-01-15T10:23:45.123Z",
"message": "User created",
"userId": "usr_abc123",
"requestId": "req_xyz789"
}Guidelines:
Add an "Observability" section to the project's CLAUDE.md:
## Observability | What | Command | |------|---------| | View logs | `<log tail command>` | | Health check | `<health check command>` | | Check DB connection | `<db ping command>` | | View metrics | `<metrics command>` |
An idempotent script can be run multiple times and always produces the same result (no errors on re-run).
Pattern: check if the thing already exists before creating it.
#!/usr/bin/env bash set -euo pipefail # Idempotent: only create if not exists if ! psql -c "SELECT 1 FROM pg_database WHERE datname = 'myapp'" | grep -q 1; then createdb myapp echo "Database created" else echo "Database already exists, skipping" fi
Place setup scripts in `scripts/setup.sh` (or language-appropriate equivalent). Document the command in CLAUDE.md under Commands.
This skill maps to **BCP Plus dimension 11 (Quality Attributes)** — specifically performance, reliability, and availability instrumentation. Structured logging, health checks, and idempotent setup scripts are observable manifestations of quality-attribute requirements. The NFR Gate rule applies: standard-expectation items (e.g., "the app should log errors") score 0 with a one-line rationale; only above-standard quality requirements (e.g., p99 latency tracking, SLO-based alerting) contribute to the dimension 11 count. See `docs/references/bcp-plus.md` for the full 13-dimension framework and NFR Gate pattern.
Agent skills synthesizing 17 years of software engineering discipline — from Clean Code to AI-native architecture — into a single, prescriptive methodology for solo developers.
Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a…
Analyze the blast radius of a proposed change before any code is written. Maps dependents, affected stories, and test coverage.…
Self-review checklist for the coding agent to run before dispatching a reviewer. Checks CONVENTIONS.md compliance, Boy Scout…
Evaluate an incoming project plan against bigpowers principles and conventions, surface gaps, and produce a READY/NOT READY…
Eight-step epic build cycle — reads state.yaml, execution-status.yaml, and one epic capsule; updates status via bp-yaml-set or…
Add a new requirement or reorder epics by WSJF against specs/release-plan.yaml and epic capsule directories. Modes Add and…