원클릭으로
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.