/arn-code-report
This skill should be used when the user says "report issue", "arness code report", "code report", "something went wrong", "report a bug", "file arness code issue", "arness code broke", "report arness code problem", "diagnose issue", "arness doctor", "run doctor", "diagnose
$ npx -y skills add AppsVortex/arness --skill arn-code-report --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/arn-code-report
Context preview
The summary Claude sees to decide when to auto-load this skill.
This skill should be used when the user says "report issue", "arness code report", "code report", "something went wrong", "report a bug", "file arness code issue", "arness code broke", "report arness code problem", "diagnose issue", "arness doctor", "run doctor", "diagnose
SKILL.md
arn-code-report.SKILL.mdname: arn-code-report
description: >-
This skill should be used when the user says "report issue", "arness code report",
"code report", "something went wrong", "report a bug", "file arness code issue",
"arness code broke", "report arness code problem", "diagnose issue", "arness doctor",
"run doctor", "diagnose arness code", "arn-code-report", or wants to report a
problem with an Arness Code workflow skill. Invokes the arn-code-doctor agent to
diagnose the issue, then files a GitHub issue on the Arness plugin repository.
Do NOT use this for filing issues on the user's own project — use
/arn-code-create-issue for that. For Spark issues use /arn-spark-report. For
Infra issues use /arn-infra-report.
version: 1.1.0
Arness Code Report
Report an Arness Code workflow issue by running a diagnostic and filing a GitHub issue on the Arness plugin repository. The arn-code-doctor agent analyzes Arness Code configuration and behavior — it never reads project source code or business logic. Supports cross-plugin smart routing — detects if the issue belongs to Spark or Infra and suggests the right report skill.
Workflow
Step 0: Smart Routing
Before gathering details, check if the issue might belong to another plugin:
1. Read `## Arness` from the project's CLAUDE.md. 2. If the user has already described the issue (e.g., in their initial message), scan for keyword signals:
- **Spark keywords**: "discover", "prototype", "greenfield", "stress test", "naming", "brainstorming", "feature extract", "visual sketch", "use cases", "scaffold", "spike"
- **Infra keywords**: "deploy", "Dockerfile", "container", "IaC", "terraform", "pipeline", "CI/CD", "environment", "secrets", "monitor", "infrastructure", "verify", "cleanup"
3. If Spark signals detected and Spark fields exist in `## Arness`: suggest "This sounds like an Arness Spark issue. Run `/arn-spark-report` instead, or confirm this is a Code issue." 4. If Infra signals detected and Infra fields exist in `## Arness`: suggest "This sounds like an Arness Infra issue. Run `/arn-infra-report` instead, or confirm this is a Code issue." 5. If no signals or user confirms it's a Code issue: proceed to Step 1.
---
Step 1: Explain the Process
Inform the user:
"I'll help you report a Arness workflow issue. Here's how this works: 1. You describe what happened — which skill you used and what went wrong 2. I'll run a diagnostic that checks Arness's configuration and expected behavior (I won't read your project code) 3. You'll review the issue report before it's submitted 4. The issue gets filed on the Arness plugin repository for the maintainers
Your project code and business logic are never included in the report."
---
Step 2: Gather User Description
Ask the user using `AskUserQuestion`:
- "What happened? Which Arness skill were you using and what went wrong?"
Let the user type a free-form description. This becomes the `user_description` for the diagnostic.
---
Step 3: Check Prerequisites
1. Detect the plugin's GitHub repository:
- Read `${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json` and extract the `repository` field.
- Parse `owner/repo` from the URL (strip `https://github.com/` prefix and any trailing `.git`).
- **Fallback** (for local dev testing with `--plugin-dir`): if no `repository` field exists, try `git -C ${CLAUDE_PLUGIN_ROOT} remote get-url origin`.
2. Check `gh auth status` — user must be authenticated to file issues.
3. Read plugin version from `${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json`.
4. Read `## Arness` config from the project's CLAUDE.md (if it exists).
If GitHub access is not available, offer an alternative: generate the diagnostic report as a local file (`arness-code-report-<YYYY-MM-DD>.md` in the project root) the user can manually submit.
---
Step 4: Invoke arn-code-doctor
Spawn the `arn-code-doctor` agent via the Task tool, passing the model from `.arness/agent-models/code.md` as the `model` parameter (see `plugins/arn-code/skills/arn-code-ensure-config/references/ensure-config.md` "Dispatch convention" for fallback). Context:
- The user's description of the issue
- Project root path
- `## Arness` config content (or "not configured")
- Plugin version
- Instruction to read the knowledge base at `${CLAUDE_PLUGIN_ROOT}/skills/arn-code-report/references/arness-knowledge-base.md`
Wait for the agent to complete and collect the diagnostic report.
---
Step 5: Compose and Review Issue
Assemble the GitHub issue using the template from `${CLAUDE_PLUGIN_ROOT}/skills/arn-code-report/references/issue-template.md`:
- Include the user's original description in the "User Report" section
- Include the doctor's diagnostic findings (ISSUE items only, not OK items)
- Include the doctor's assessment
- Include plugin version and relevant config state
- Include environment info (OS, Git, GitHub, gh CLI status)
- Exclude any project code or business logic
Present the complete draft to the user, then request explicit consent.
Ask (using `AskUserQuestion`):
> **This report will be filed as a public GitHub issue on the Arness repository.** It contains only Arness configuration state and diagnostic findings — no project source code or business logic. Please review the report above carefully. > > 1. Submit — I've reviewed it and consent to filing this publicly > 2. Save locally — save as a file instead of submitting > 3. Edit first — let me modify the report before deciding
- If **Submit**: proceed to Step 6.
- If **Save locally**: save as `arness-code-report-<YYYY-MM-DD>.md` in the project root. Inform the user. Do not submit.
- If **Edit first**: let the user modify the draft, then ask again.
---
Step 6: Submit Issue
The `arn-code-report` label must already exist on the plugin repository (maintained by the plugin maintainers, not created by this skill).
1. Create the issue with the `arn-code-report` label:
gh issue create --repo <owner/repo> --tit
Read more
name: arn-code-report description: >- This skill should be used when the user says "report issue", "arness code report", "code report", "something went wrong", "report a bug", "file arness code issue", "arness code broke", "report arness code problem", "diagnose issue", "arness doctor", "run doctor", "diagnose arness code", "arn-code-report", or wants to report a problem with an Arness Code workflow skill. Invokes the arn-code-doctor agent to diagnose the issue, then files a GitHub issue on the Arness plugin repository. Do NOT use this for filing issues on the user's own project — use /arn-code-create-issue for that. For Spark issues use /arn-spark-report. For Infra issues use /arn-infra-report. version: 1.1.0
Arness Code Report
Report an Arness Code workflow issue by running a diagnostic and filing a GitHub issue on the Arness plugin repository. The arn-code-doctor agent analyzes Arness Code configuration and behavior — it never reads project source code or business logic. Supports cross-plugin smart routing — detects if the issue belongs to Spark or Infra and suggests the right report skill.
Workflow
Step 0: Smart Routing
Before gathering details, check if the issue might belong to another plugin:
1. Read `## Arness` from the project's CLAUDE.md. 2. If the user has already described the issue (e.g., in their initial message), scan for keyword signals:
- **Spark keywords**: "discover", "prototype", "greenfield", "stress test", "naming", "brainstorming", "feature extract", "visual sketch", "use cases", "scaffold", "spike"
- **Infra keywords**: "deploy", "Dockerfile", "container", "IaC", "terraform", "pipeline", "CI/CD", "environment", "secrets", "monitor", "infrastructure", "verify", "cleanup"
3. If Spark signals detected and Spark fields exist in `## Arness`: suggest "This sounds like an Arness Spark issue. Run `/arn-spark-report` instead, or confirm this is a Code issue." 4. If Infra signals detected and Infra fields exist in `## Arness`: suggest "This sounds like an Arness Infra issue. Run `/arn-infra-report` instead, or confirm this is a Code issue." 5. If no signals or user confirms it's a Code issue: proceed to Step 1.
---
Step 1: Explain the Process
Inform the user:
"I'll help you report a Arness workflow issue. Here's how this works: 1. You describe what happened — which skill you used and what went wrong 2. I'll run a diagnostic that checks Arness's configuration and expected behavior (I won't read your project code) 3. You'll review the issue report before it's submitted 4. The issue gets filed on the Arness plugin repository for the maintainers
Your project code and business logic are never included in the report."
---
Step 2: Gather User Description
Ask the user using `AskUserQuestion`:
- "What happened? Which Arness skill were you using and what went wrong?"
Let the user type a free-form description. This becomes the `user_description` for the diagnostic.
---
Step 3: Check Prerequisites
1. Detect the plugin's GitHub repository:
- Read `${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json` and extract the `repository` field.
- Parse `owner/repo` from the URL (strip `https://github.com/` prefix and any trailing `.git`).
- **Fallback** (for local dev testing with `--plugin-dir`): if no `repository` field exists, try `git -C ${CLAUDE_PLUGIN_ROOT} remote get-url origin`.
2. Check `gh auth status` — user must be authenticated to file issues.
3. Read plugin version from `${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json`.
4. Read `## Arness` config from the project's CLAUDE.md (if it exists).
If GitHub access is not available, offer an alternative: generate the diagnostic report as a local file (`arness-code-report-<YYYY-MM-DD>.md` in the project root) the user can manually submit.
---
Step 4: Invoke arn-code-doctor
Spawn the `arn-code-doctor` agent via the Task tool, passing the model from `.arness/agent-models/code.md` as the `model` parameter (see `plugins/arn-code/skills/arn-code-ensure-config/references/ensure-config.md` "Dispatch convention" for fallback). Context:
- The user's description of the issue
- Project root path
- `## Arness` config content (or "not configured")
- Plugin version
- Instruction to read the knowledge base at `${CLAUDE_PLUGIN_ROOT}/skills/arn-code-report/references/arness-knowledge-base.md`
Wait for the agent to complete and collect the diagnostic report.
---
Step 5: Compose and Review Issue
Assemble the GitHub issue using the template from `${CLAUDE_PLUGIN_ROOT}/skills/arn-code-report/references/issue-template.md`:
- Include the user's original description in the "User Report" section
- Include the doctor's diagnostic findings (ISSUE items only, not OK items)
- Include the doctor's assessment
- Include plugin version and relevant config state
- Include environment info (OS, Git, GitHub, gh CLI status)
- Exclude any project code or business logic
Present the complete draft to the user, then request explicit consent.
Ask (using `AskUserQuestion`):
> **This report will be filed as a public GitHub issue on the Arness repository.** It contains only Arness configuration state and diagnostic findings — no project source code or business logic. Please review the report above carefully. > > 1. Submit — I've reviewed it and consent to filing this publicly > 2. Save locally — save as a file instead of submitting > 3. Edit first — let me modify the report before deciding
- If **Submit**: proceed to Step 6.
- If **Save locally**: save as `arness-code-report-<YYYY-MM-DD>.md` in the project root. Inform the user. Do not submit.
- If **Edit first**: let the user modify the draft, then ask again.
---
Step 6: Submit Issue
The `arn-code-report` label must already exist on the plugin repository (maintained by the plugin maintainers, not created by this skill).
1. Create the issue with the `arn-code-report` label:
gh issue create --repo <owner/repo> --tit
Showing the first part of this file.
Arness — H not required. Structured AI workflows for Claude Code. From first idea to production deploy. Seven entry commands. That's all you need to remember.
Repo: AppsVortex/arness
Other skills on arness.
- /arn-assessing
This skill should be used when the user says "assessing", "arness assessing", "assess", "assess codebase", "technical review", "codebase assessment", "find improvements", "what should I improve", "tech debt review", "pattern compliance check", "codebase health check",
Open skill - /arn-code-assess
This skill should be used when the user says "arness code assess", "arn-code-assess", "assess codebase", "technical review", "codebase assessment", "find improvements", "what should I improve", "tech debt review", "tech debt audit", "pattern compliance check", "codebase health
Open skill - /arn-code-batch-cve-fix
This skill should be used when the user says "fix CVEs", "patch vulnerabilities", "apply security patches", "resolve security advisories", "batch CVE fix", "patch dependencies", "fix security findings", "remediate CVEs", "apply CVE fixes", "batch fix vulnerabilities", "resolve
Open skill - /arn-code-batch-cve-scan
This skill should be used when the user says "scan for CVEs", "CVE scan", "check for vulnerabilities", "find vulnerabilities", "check security advisories", "dependabot triage", "dependabot scan", "scan dependencies for security issues", "audit dependencies", "vulnerability
Open skill - /arn-code-batch-implement
This skill should be used when the user says "batch implement", "implement all", "batch execution", "implement all features", "parallel implement", "implement in parallel", "arness batch implement", "arn-code-batch-implement", "run batch implementation", "implement everything",
Open skill - /arn-code-batch-merge
This skill should be used when the user says "batch merge", "merge batch", "arness batch merge", "arn-code-batch-merge", "merge all PRs", "merge batch PRs", "merge the batch", "merge implemented features", "batch merge PRs", "merge open PRs", "merge all feature PRs", "combine
Open skill

