Skip to content
cccskills
FreePublished on GitHub

application-problem-diagnosis-workflow

Read-only first workflow for diagnosing application incidents by collecting service, log, network, configuration, and functional evidence before proposing any fix.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md4.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Application Problem Diagnosis Workflow

Purpose

Prevent blind fixes by enforcing a diagnose-before-treat workflow for application incidents. The skill gathers evidence from service state, logs, process state, configuration summaries, and functional probes before recommending any change.

When to use

  • A user reports an application is unavailable, degraded, or returning unexpected errors.
  • A service appears running but requests fail.
  • APIs return generic errors, 404/5xx responses, or inconsistent behavior.
  • Before changing application, proxy, systemd, database, or runtime configuration.

Safety rules

  • Default workflow is read-only.
  • Do not restart services, edit configs, deploy packages, change database schema, clear caches, or run migrations without explicit approval.
  • Do not return raw production logs. Summarize error classes, counts, timestamps, and safe stack-frame hints only.
  • Do not expose customer data, order data, tokens, cookies, JWTs, credentials, database URLs, private hostnames, IPs, or service account names.
  • Replace production identifiers with <PROJECT_NAME>, <SERVICE_NAME>, <APP_DOMAIN>, <SERVER_IP>, and <PROJECT_ROOT>.

Read-only workflow

  1. Establish scope: affected service, user-visible symptom, time window, and expected behavior.
  2. Check service state without changing it: active state, substate, main PID, recent exits, restart count, working directory, and command line.
  3. Inspect recent logs safely: collect error categories, exception names, frequency, and first/last occurrence time without copying raw sensitive payloads.
  4. Check process and port state: whether the expected process exists and whether expected local ports listen.
  5. Verify application startup signals: framework started, web server bound to port, routes/mappings registered, database pool initialized, background workers ready.
  6. Test functionality with safe read-only probes: health endpoints, root path, known read-only API, or direct local loopback request. Avoid mutating endpoints.
  7. Review configuration summaries: which config file is loaded, active profile, expected port, upstream target, and required environment-variable presence. Do not print secret values.
  8. Compare proxy/gateway layer against backend: determine whether failure is app-side, reverse-proxy-side, network-side, or wrong-path testing.
  9. Form a hypothesis and list evidence for/against it.
  10. Propose the smallest next action, keeping fixes behind user approval.

Evidence to collect

  • Symptom and time window.
  • Service active/substate and restart count.
  • Safe log summary: error classes, counts, timestamps, affected component.
  • Process PID and command summary.
  • Listening ports and expected port match/mismatch.
  • Startup success or failure signals.
  • Configuration presence and active profile without secret values.
  • Read-only probe results and HTTP status classes.
  • Reverse proxy/upstream status if applicable.
  • Hypothesis ranking and confidence.

Stop conditions

  • Logs contain sensitive user/customer/order/auth data that cannot be safely summarized.
  • The only next step is a write operation, restart, deployment, database change, or migration.
  • You cannot identify the affected service or time window from available evidence.
  • Probes would mutate state or trigger external side effects.

Optional user-approved actions

Only after explicit user approval:

  • Restart or reload a service.
  • Edit configuration.
  • Deploy or roll back an artifact.
  • Run database migrations or schema checks requiring elevated access.
  • Add temporary diagnostics or observability code.
  • Execute write-path functional tests.

Final report format

Summary: <one-line incident diagnosis>
Scope: <PROJECT_NAME>/<SERVICE_NAME>/<time window>
Impact: <user-visible / internal / unknown>
Read-only evidence:
- Service: <state summary>
- Logs: <safe error summary>
- Ports/process: <summary>
- Config: <presence and active profile, no secrets>
- Probes: <status summary>
Likely cause: <ranked hypothesis>
Ruled out: <bullets>
Recommended next step: <read-only or approval-required>
Needs approval: <yes/no and specific action>

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Route CEO-first multi-window work into owner-led role loops. Use for 总控/CEO、架构/CTO、内容主编、角色派发与复用、模型路由、来源窗口回调、role-windows 台账、skill 命中统计或 multi-window loop engineering。

The English summary is being prepared. Showing the original description.

Dirtytrii/codex-skills11Updated Oct 9, 2026

Run user-authorized black-box web security tests and evidence-based reports. Use for 黑盒安全测试、渗透测试、数据泄露、未授权访问、公开 JS/API、登录爆破防护、CORS 或安全响应头检查。

The English summary is being prepared. Showing the original description.

Dirtytrii/codex-skills11Updated Oct 9, 2026

Choose the narrowest reliable browser surface across Codex Browser, signed-in Chrome, Playwright CLI, and platform scripts. Use for browser automation, logged-in workflows, UI inspection, screenshots, form filling, publish previews, or frontend QA.

The English summary is being prepared. Showing the original description.

Dirtytrii/codex-skills11Updated Oct 9, 2026

提议并执行 rubric 或 bucket 升级。两种模式:**完整 rubric bump**(最高风险动作,5 步强制 + 跨模型审核)和 **--bucket-only 轻量重校**(只换 bucket 边界,不动 rubric 公式)。**Phase 2 强制走 cheat-score-blind sub-agent 给校准池重打分**——不接受 self-scored fallback。触发词:"升级 rubric"/"bump rubric"/"更新公式"/"我想加一个维度"/"调整权重"/"重校桶"/"recalibrate bucket"。

The English summary is being prepared. Showing the original description.

Dirtytrii/codex-skills11Updated Oct 9, 2026

初始化 cheat-on-content 内容校准工作区。仅在用户明确开始该工作流,或其子 skill 确认缺少 .cheat-state.json 时使用;不响应一般项目初始化、安装诊断或 Codex 首次会话。

The English summary is being prepared. Showing the original description.

Dirtytrii/codex-skills11Updated Oct 9, 2026

从对标账号导入 script + 数据 → 拆 pattern + 派生 base rubric 信号 → 写到 benchmark.md / script_patterns.md / rubric_notes.md。**这是工具最早期信号的来源**——cold-start 用户没自己历史时全靠对标,发过历史的用户也建议至少 1 个对标做 sanity check。触发词:"学这个账号"/"拆这几个对标视频"/"learn from"/"导入对标账号"/"找对标"。

The English summary is being prepared. Showing the original description.

Dirtytrii/codex-skills11Updated Oct 9, 2026

See all skills by Dirtytrii

Report a problem with this skill