wire-observability
Add structured JSON logging, observability commands, and idempotent setup scripts to a project.
Skill by danielvm-git
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/danielvm-git-wire-observability-9b0498
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
wire-observability- 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.
- License
- MIT
- Instructions
- 93 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: scripts/setup.sh
Files (1)
- SKILL.md
SKILL.md (first lines)
# Wire Observability
> **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.
## What this sets up
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
## Process
### 1. Assess current state
Check what's already in place:
- Is there a logging library? (pino, winston, structlog, zap, slog, etc.)
- Is logging JSON or plain text?
- Is there a health check endpoint or command?
- Are there setup scripts? Are they idempotent?
### 2. Add structured JSON logging
**For user-facing CLI output:** plain text is fine.
**For everything else:** structured JSON.
Structured log entry format:
```json
{
"level": "info",
"timestamp": "2025-01-15T10:23:45.123Z",
"message": "User created",
"userId": "usr_abc123",
"requestId": "req_xyz789"
}
```
Guidelines:
- Include `level`, `timestamp`, `message` in every entry
- Add context fields relevant to the operation (userId, requestId, traceId)
- Log at boundaries: HTTP requests in/out, DB queries, external API calls, background job start/end
- Log errors with stack traces: `logger.error({ err, context }, "Operation failed")`
- **Never log secrets, passwords, tokens, or PII**
### 3. Document observability commands in CLAUDE.md
Add an "Observability" section to the project's CLAUDE.md:
```markdown
## Observability
| What | Command |
|------|---------|
| View logs | `<log tail command>` |
| Health check | `<health check command>` |
| Check DB connection | `<db ping command>` |
| View metrics | `<metrics command>` |
```
### 4. Write idempotent setup scripts
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.
```bash
#!/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.
### 5. Verify
- [ ] Run the app and confirm JSON logs appear in the correct format
- [ ] Run `scripts/setup.sh` twice — second run should produce no errors
- [ ] Health check command returns success
- [ ] No sensitive data in log output
## BCP Plus Integration
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.From danielvm-git/bigpowers, MIT.
More from danielvm-git/bigpowers
- 0.556score
diagnose-root
danielvm-git
Run 4-phase root cause analysis — reproduce, isolate, hypothesize, verify.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
diagnose-stall
danielvm-git
Diagnose why agent orchestration stopped producing progress — silent stalls in /loop, dispatch-agents, or execute-plan.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
align-grid
danielvm-git
Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a decorative one.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
assess-impact
danielvm-git
Analyze the blast radius of a proposed change before any code is written.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
audit-code
danielvm-git
Self-review checklist for the coding agent to run before dispatching a reviewer.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
compose-workflow
danielvm-git
Chain multiple bigpowers skills into a custom workflow recipe saved in specs/.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
context7-mcp
danielvm-git
Fetch current library docs via Context7 MCP instead of training data.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
audit-plan
danielvm-git
Evaluate an incoming project plan against bigpowers principles and conventions, surface gaps, and produce a READY/NOT READY verdict before engagement begins.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
deepen-architecture
danielvm-git
Find deepening opportunities in a codebase, informed by the domain language in specs/tech-architecture/tech-stack.md and the decisions in specs/adr/.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
define-language
danielvm-git
Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
change-request
danielvm-git
Add a new requirement or reorder epics by WSJF against specs/release-plan.yaml and epic capsule directories.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
dispatch-agents
danielvm-git
Dispatch multiple subagents in parallel on independent tasks.
SkillBFreshness: B★ 271Claude Code +9
Signals
- Stars
- 271
- Forks
- 24
- Open issues
- 11
- Last commit (this folder)
- Jul 24, 2026 (3 months ago)
- Last release
- Sep 21, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/danielvm-git/bigpowers
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.552score
wire-observability
danielvm-git
Add structured JSON logging, observability commands, and idempotent setup scripts to a project.
SkillBFreshness: B★ 271Claude Code +9 - 0.288score
wire-observability
danielvm-git
Add structured JSON logging, observability commands, and idempotent setup scripts to a project.
SkillBFreshness: B★ 271Claude Code +9
More from danielvm-git
- 0.556score
align-grid
danielvm-git
Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a decorative one.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
audit-code
danielvm-git
Self-review checklist for the coding agent to run before dispatching a reviewer.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
audit-plan
danielvm-git
Evaluate an incoming project plan against bigpowers principles and conventions, surface gaps, and produce a READY/NOT READY verdict before engagement begins.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
assess-impact
danielvm-git
Analyze the blast radius of a proposed change before any code is written.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
change-request
danielvm-git
Add a new requirement or reorder epics by WSJF against specs/release-plan.yaml and epic capsule directories.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
compose-workflow
danielvm-git
Chain multiple bigpowers skills into a custom workflow recipe saved in specs/.
SkillBFreshness: B★ 271Claude Code +9
Cite this page
wire-observability skill. Agent Mart. https://agentmart.dev/skills/danielvm-git-wire-observability-9b0498 (last updated 2026-10-24)