log
Audit and improve logging practices. Review logging for a specific feature, audit the entire project, or set up logging infrastructure.
- License 许可
- MIT
- 最近更新
- 2026-03-27
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- log
- context
- fork
- description
- Audit and improve logging practices. Review logging for a specific feature, audit the entire project, or set up logging infrastructure.
- argument-hint
- [feature-name] | --audit | --setup
02 资源文件 5
- 参考文档references/contracts_playbook.md7.7 KB
- 参考文档references/ip_and_regulatory.md10.5 KB
- 参考文档references/term_sheet_decoder.md11.6 KB
- 脚本scripts/contract_risk_scanner.py16.4 KB
- 脚本scripts/term_sheet_analyzer.py16.5 KB
03 SKILL.md 正文
Strategy check
Before routing, check if spec/LOG_STRATEGY.md exists:
- If NOT exists AND mode is NOT
--setupAND mode is NOT--audit: → Output: "No LOG_STRATEGY.md found. Run/log --setupto configure your logging strategy, or/log --auditfor a baseline audit." → STOP --setupand--auditmodes proceed without strategy file.
Routing
Parse $ARGUMENTS to determine mode:
-
--setup: Spawnlog-auditoragent (haiku) with:Set up logging infrastructure for this project. Ask the user about their logging preferences (library, structured logging, correlation IDs, PII redaction, console.log blocking). Write the result to spec/LOG_STRATEGY.md. Provide setup guidance for the chosen library. If log-analysis skill is not installed, suggest: "npx nextjs-claude-code skill-add log-analysis" -
--audit: Spawnlog-auditoragent (haiku) with:Audit logging practices across the entire project. Generate a project-wide logging health report. Do not modify any code. -
Feature mode (default): Spawn
log-auditoragent (haiku) with:Audit and fix logging for feature: [feature-name from $ARGUMENTS] Read spec/LOG_STRATEGY.md for rules. Propose fixes and apply after user confirmation.
04 同仓库更多 Skills
zustand
Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.
web-vitals
暂无简介
vercel-storage
Vercel storage expert guidance — Blob, Edge Config, and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing, configuring, or using data storage with Vercel applications.
vercel-functions
Vercel Functions expert guidance — Serverless Functions, Edge Functions, Fluid Compute, streaming, Cron Jobs, and runtime configuration. Use when configuring, debugging, or optimizing server-side code running on Vercel.
ui-ux-pro-max
UI/UX design intelligence for web and mobile. Includes 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, and HTML/CSS). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, and check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, and mobile app. Elements: button, modal, navbar, sidebar, card, table, form, and chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, and flat design. Topics: color systems, accessibility, animation, layout, typography, font pairing, spacing, interaction states, shadow, and gradient. Integrations: shadcn/ui MCP for component search and examples.
turborepo
Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.