filing-bug-reports
/filing-bug-reports
Generate a standalone bug report that another developer can use to reproduce, investigate, and fix an issue. Use when the user says 'file a bug', 'write a bug report', 'report this issue', or asks to document a defect for handoff.
- Author
- 3154410240smh-arch ↗
- Repository
- aircraft-control-modeling ↗
- Licence
- Apache-2.0
- Last repository change
- 28.10.2026
Assessment and security
- Files in this package
- 3
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Generate a standalone bug report that another developer can use to reproduce, investigate, and fix an issue. Use when the user says 'file a bug', 'write a bug report', 'report this issue', or asks to document a defect for handoff.
Triggers from the description
Original author description
Generate a standalone bug report that another developer can use to reproduce, investigate, and fix an issue. Use when the user says 'file a bug', 'write a bug report', 'report this issue', or asks to document a defect for handoff.
How it works
- When to Use
- When NOT to Use
- Output Conventions
- Workflow
- Guardrails
- References
SKILL.md preview
---
name: filing-bug-reports
description: "Generate a standalone bug report that another developer can use to reproduce, investigate, and fix an issue. Use when the user says 'file a bug', 'write a bug report', 'report this issue', or asks to document a defect for handoff."
license: MathWorks BSD-3-Clause
metadata:
author: MathWorks
version: "1.0"
---
# Filing Bug Reports
Generate a self-contained bug report as a Markdown file that gives a receiving developer everything needed to reproduce the issue — without prescribing root cause or solution.
## When to Use
- User asks to file, write, or document a bug
- User wants to hand off a defect for another developer to investigate
- User wants a reproducible record of unexpected behavior
## When NOT to Use
- User wants to debug and fix the issue themselves right now — just help them directly
- User wants a design review or code review — use `code-review` skill instead
## Output Conventions
- **File:** `issues/BUG-<NNN>-<slug>.md` (next available number, kebab-case slug from title)
- **Create** the `issues/` directory if it doesn't exist
- **One bug per file** — never combine multiple bugs
## Workflow
1. **Reconstruct from conversation context.** You were present when the bug occurred — use your conversation history to extract:
- What the user was doing (the action and intent)
- What actually happened (error messages, tool output, unexpected behavior)
- What was expected (infer from the user's goal — e.g., if they asked to read a model and got an error, expected behavior is a successful read)
2. **Gather environment details programmatically.** Don't ask the user for things you can look up:
- Agent workspace root, OS, architecture: from your system context
- Available skills: list all skills visible to you (from your startup context)
- Loaded skills: list which skills you actually invoked during this session
- Available MCP tools: list the MCP tools you have access to
- Relevant source files: read the files involved in the failure
**SATK-specific** (when Simulink MCP tools are available):
- SATK version: read the `VERSION` file at the SATK root. If it doesn't exist and a `.git/` folder is present, read the latest commit hash and note "development build (<hash>)". If neither exists, ask the user what version of Simulink Agentic Toolkit they are using
- MATLAB: `evaluate_matlab_code` → `disp(version); ver('simulink'); disp(pwd); disp(computer('arch'))`
- `satk_initialize.m` status: `evaluate_matlab_code` → `which('model_read')` (empty = not run)
- Connector: `evaluate_matlab_code` → `try; disp(connector.securePort); catch; disp('not running'); end`
- MCP config: read `.vscode/mcp.json` for server mode and binary path
3. **Reproduce the bug.** Re-run the failing operation to confirm it's reproducible and capture exact output. If it passes on retry, note it as intermittent and try to identify what differs.
4. **Shrink to a minimal reproduction.** Remove every step, file, and variable that isn't needed to trigger the bug. The goal is the smallest input that still fails.
5. **Ask the user ONLY for what you cannot determine:**
- Expected behavior — only if the output looks plausible but the user says it's wrong (you can't know what "right" looks like)
- Severity / business impact — only if it's ambiguous (an outright crash is obviously high; a formatting nit is obviously low)
- Context from outside this session — if the user references something you didn't witness
6. **Write the report** using the template in `reference/bug-report-template.md`. Fill every required section. Mark optional sections N/A if not applicable.
7. **Review before saving.** Verify:
- A developer unfamiliar with the project can follow the steps without asking questions
- No root cause or fix is prescribed (observations and hypotheses go in the Notes section only)
- Error messages and logs are exact copies, not paraphrased
- The title follows the format: `[Area] — Action — Unexpected result`
## Guardrails
- **Always:** Include exact reproduction steps starting from a clean/known state
- **Always:** Include verbatim error messages and log output (never paraphrase)
- **Always:** Specify the environment (versions, OS, platform)
- **Never:** State the root cause — that's the investigator's job
- **Never:** Propose a fix in the report body (hypotheses go in Notes only, clearly marked as speculation)
- **Never:** Include secrets, tokens, passwords, or PII — redact with `<REDACTED>`
## References
- `reference/bug-report-template.md` — The output template (always use this structure)
----
Copyright 2026 The MathWorks, Inc.
----
Files in this package (3)
- SKILL.md 5 KB
- manifest.yaml 1 KB
- reference/bug-report-template.md 4 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · 3154410240smh-arch/aircraft-control-modeling | 90 | Apache-2.0 |
| matlab/simulink-agentic-toolkit | 100 | BSD-2-Clause |
Database snapshot: 13.11.2026 · package version 9710fb69952a (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100create-bug-report
Create a structured bug report when the user reports a bug, wants to file an issue, document a defect, or needs help writing a bug report with proper reproduction steps - 90qa-bug-report
Write a bug report a developer can reproduce on the first try — environment and build, account role, preconditions, numbered steps, expected result with its source versus actual, evidence (screenshot, console, request, response, requestId), reproducibility, severity and priority… - 82bug
Turn a reported defect into an actionable bug report or issue draft. Use when the user asks to capture or document a bug; a request to fix broken behavior should proceed to diagnosis and repair. - 100report-bug
Creates structured bug report documents with reproduction steps, expected vs actual behavior, and severity classification. Use when the user asks to "report a bug", "file a bug", "document a defect", "log an issue", or mentions a bug, defect, regression, or unexpected behavior… - 100report-issue
Use when the user wants to report a bug, file an issue, submit a bug report, or report any problem with the mobile-app plugin. - 85bug-report
Writes a structured, reproducible bug report in production/bugs/BUG-NNN: environment, steps, expected vs actual, evidence (console, network, logs, screenshots), severity and suspected area. Can also draft (never file) an issue for an upstream library or vendor. Use when…