/engineering:debug <error message or problem description>from engineering
Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.
Ships in engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.
Run a structured debugging session to find and fix issues systematically.
Lark-native execution (depth core: LARK-PATTERNS, LARK-RECIPES, LARK-FUSION). Monitoring (Datadog) and source control (GitHub) stay external — pull logs/metrics and recent commits from those. The collaboration layer is Lark: scan the incident/eng channel for the first report and prior context with
lark_im_search(project withjq, P3); search Wiki/Docs for a known-issue runbook (lark_doc_search); file the fix as a tracked task (lark_task_create, resolve owner vialark_contact_searchP1,dry_runP2) or log the bug to a defect Base (lark_base_record_upsert, P5); post the root-cause + fix summary as an interactive card (lark_im_card_send, P4). For deep root-cause methodology delegate to the debugging skill; if this turns into a real outage, hand off to incident-response / incident-retro.
/debug $ARGUMENTS
┌─────────────────────────────────────────────────────────────────┐
│ DEBUG │
├─────────────────────────────────────────────────────────────────┤
│ Step 1: REPRODUCE │
│ ✓ Understand the expected vs. actual behavior │
│ ✓ Identify exact reproduction steps │
│ ✓ Determine scope (when did it start? who is affected?) │
│ │
│ Step 2: ISOLATE │
│ ✓ Narrow down the component, service, or code path │
│ ✓ Check recent changes (deploys, config changes, dependencies) │
│ ✓ Review logs and error messages │
│ │
│ Step 3: DIAGNOSE │
│ ✓ Form hypotheses and test them │
│ ✓ Trace the code path │
│ ✓ Identify root cause (not just symptoms) │
│ │
│ Step 4: FIX │
│ ✓ Propose a fix with explanation │
│ ✓ Consider side effects and edge cases │
│ ✓ Suggest tests to prevent regression │
└─────────────────────────────────────────────────────────────────┘
Tell me about the problem. Any of these help:
## Debug Report: [Issue Summary]
### Reproduction
- **Expected**: [What should happen]
- **Actual**: [What happens instead]
- **Steps**: [How to reproduce]
### Root Cause
[Explanation of why the bug occurs]
### Fix
[Code changes or configuration fixes needed]
### Prevention
- [Test to add]
- [Guard to put in place]
Monitoring = Datadog (external, keep as-is):
Source control = GitHub (external, keep as-is):
gh / GitHub MCP to find recent commits and PRs touching the affected code path and check whether
the issue correlates with a specific change.Project tracker = Lark Task + Base + chat (lark):
lark_im_search the eng channel (project with jq,
P3) and lark_base_search your defect Base. Note: lark_base_search REQUIRES search_fields
(the field name(s) to match on) and does NOT support jq — if you don't know the field names,
discover them first via lark_api GET /open-apis/bitable/v1/apps/{base}/tables/{table}/fields,
then narrow with select_fields/limit instead of a jq projection.lark_contact_search the owner (P1) →
lark_task_create(assignee=open_id, dry_run: true) (P2) → confirm → commit. Optionally upsert the
defect record (cause, fix, prevention) into the Base with lark_base_record_upsert (P5).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub larkcowork/lark-cowork-plugins --plugin engineering10 skills in this plugin
/architectureCreate or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints./code-reviewReview code changes for security, performance, and correctness. Trigger with a PR URL or diff, "review this before I merge", "is this code safe?", or when checking a change for N+1 queries, injection risks, missing edge cases, or error handling gaps./deploy-checklistPre-deployment verification checklist. Use when about to ship a release, deploying a change with database migrations or feature flags, verifying CI status and approvals before going to production, or documenting rollback triggers ahead of time./documentationWrite and maintain technical documentation. Trigger with "write docs for", "document this", "create a README", "write a runbook", "onboarding guide", or when the user needs help with any form of technical writing — API docs, architecture docs, or operational runbooks./incident-responseRun an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution./standupGenerate a standup update from recent activity. Use when preparing for daily standup, summarizing yesterday's commits and PRs and ticket moves, formatting work into yesterday/today/blockers, or structuring a few rough notes into a shareable update.