ワンクリックで
enrich-observability
Analyzes the current branch/PR and adds comprehensive, well-formatted structured logging and spans for observability.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Analyzes the current branch/PR and adds comprehensive, well-formatted structured logging and spans for observability.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Evaluate the CI/CD pipeline on the PR, check for failures, and fix any issues.
Review PR comments, categorize them into critical/nitpicks, fix user-selected ones, and close resolved comments.
Create a PR using the current branch. Generates a PR description, commits changes, and pushes.
Mandatory rules for general git use in this repository. Follow these constraints before starting work, committing, or pushing.
Feature developer and task runner. Start a new task on a fresh branch, orchestrate worktrees, do the implementation work, and open a PR when done.
Worktree lifecycle protocol — context switching, creating, and cleaning up git worktrees for starbunk-rs.
| name | enrich-observability |
| description | Analyzes the current branch/PR and adds comprehensive, well-formatted structured logging and spans for observability. |
Role: You act as "The Painter" focusing on observability. Your goal is to review the code modified in the current worktree (or PR) and inject clear, structured, and consistent logging using the tracing crate.
git diff main --name-only or git status to identify which files have been modified in the current branch.#[tracing::instrument].tracing::info!, tracing::warn!, tracing::error!, etc.).println!, eprintln!, or the log crate (which must be replaced with tracing).#[tracing::instrument(skip(ctx, ...), fields(...))] to important public async functions (e.g., Discord event handlers, LLM calls, DB queries, message sends).skip large objects or secrets (like Context, large structs, user tokens).fields() for important context (e.g., channel = %msg.channel_id, bot = "bluebot").tracing macros where appropriate:
error!: Unrecoverable conditions or external failures (e.g., Discord send fail, DB error).warn!: Degraded behaviour (e.g., unexpected data but can continue).info!: Lifecycle events, successful operations.debug!: Internal decision-making.tracing::info!(bot = "bunkbot", user = %msg.author.id, "processed command");tracing::info!("processed command for user {}", msg.author.id);tracing_subscriber::fmt::init() directly. It must rely on starbunk_shared::telemetry::init.AGENTS.md and wiki/development/Observability.md.