Installs into .claude/skills of the current project.
Are you the author of Method Report Bug?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sajor2000-method-report-bug)
---
name: method-report-bug
description: "Collects a reproducible methodsmith plugin bug report and files or drafts a GitHub issue. Use when the user wants to report a plugin bug."
argument-hint: "[optional: brief description of the bug]"
disable-model-invocation: true
---
# Report a Methodsmith Plugin Bug
## Skill Value
- **Problem it solves:** Bug reports lose useful context when component, platform, version, reproduction, and expected behavior are missing.
- **Use when:** The user wants to report a plugin bug, setup issue, broken skill, conversion problem, or workflow failure.
- **Output:** A GitHub issue when available, or a markdown issue draft with reproduction details.
- **Ask only if:** Only for missing bug category, affected component, platform, reproduction, expected behavior, or impact.
- **Do not do:** Do not require GitHub CLI or expose credentials/log secrets.
- **Interaction:** Check repo/config/chat evidence first. Ask one decision-changing question at a time; use the current harness's blocking question UI when available, otherwise present numbered choices and wait.
Report bugs encountered while using the methodsmith plugin. This skill gathers structured information and creates a GitHub issue for the maintainer.
## Step 1: Gather Bug Information
When this skill asks a user-facing question, follow the Skill Value interaction rule above.
**Question 1: Bug Category**
- What type of issue are you experiencing?
- Options: Skill or slash command not working, Agent not working, Installation or setup problem, Other (conversion, MCP server, or workflow failure)
**Question 2: Specific Component**
- Which specific component is affected?
- Ask for the name of the agent, command, skill, or MCP server
**Question 3: What Happened (Actual Behavior)**
- Ask: "What happened when you used this component?"
- Get a clear description of the actual behavior
**Question 4: What Should Have Happened (Expected Behavior)**
- Ask: "What did you expect to happen instead?"
- Get a clear description of expected behavior
**Question 5: Steps to Reproduce**
- Ask: "What steps did you take before the bug occurred?"
- Get reproduction steps
**Question 6: Error Messages**
- Ask: "Did you see any error messages? If so, please share them."
- Capture any error output
## Step 2: Collect Environment Information
Automatically gather environment details. Detect the coding agent platform and collect what is available:
**OS info (all platforms):**
```bash
uname -a
```
**Plugin version:** Read the plugin manifest or installed plugin metadata. Common locations:
- Claude Code: `~/.claude/plugins/installed_plugins.json`
- Codex: `.codex/plugins/` or project config
- Other platforms: check the platform's plugin registry
**Agent CLI version:** Run the platform's version command:
- Claude Code: `claude --version`
- Codex: `codex --version`
- Other platforms: use the appropriate CLI version flag
If any of these fail, note "unknown" and continue — do not block the report.
## Step 3: Format the Bug Report
Create a well-structured bug report with:
```markdown
## Bug Description
**Component:** [Type] - [Name]
**Summary:** [Brief description from argument or collected info]
## Environment
- **Plugin Version:** [from plugin manifest/registry]
- **Agent Platform:** [e.g., Claude Code, Codex, Copilot, Pi, Kilo]
- **Agent Version:** [from CLI version command]
- **OS:** [from uname]
## What Happened
[Actual behavior description]
## Expected Behavior
[Expected behavior description]
## Steps to Reproduce
1. [Step 1]
2. [Step 2]
3. [Step 3]
## Error Messages
[Any error output]
## Additional Context
[Any other relevant information]
---
*Reported via `method-report-bug` skill*
```
## Step 4: Create GitHub Issue
Use the GitHub CLI to create the issue:
```bash
gh issue create \
--repo sajor2000/methodsmith \
--title "[methodsmith] Bug: [Brief description]" \
--body "[Formatted bug report from Step 3]" \
--label "bug,methodsmith"
```
**Note:** If labels don't exist, create without labels:
```bash
gh issue create \
--repo sajor2000/methodsmith \
--title "[methodsmith] Bug: [Brief description]" \
--body "[Formatted bug report]"
```
## Step 5: Confirm Submission
After the issue is created:
1. Display the issue URL to the user
2. Thank them for reporting the bug
3. Let them know the repository maintainers will be notified
## Output Format
```
Bug report submitted successfully!
Issue: https://github.com/sajor2000/methodsmith/issues/[NUMBER]
Title: [methodsmith] Bug: [description]
Thank you for helping improve the methodsmith plugin!
The maintainer will review your report and respond as soon as possible.
```
## Error Handling
- If `gh` CLI is not installed or not authenticated: do not block on it; display the formatted report as a markdown draft the user can file manually, and mention that installing and authenticating `gh` enables direct filing next time
- If issue creation fails: display the formatted report so the user can manually create the issue
- If required information is missing: re-prompt for that specific field
## Privacy Notice
This skill does NOT collect:
- Personal information
- API keys or credentials
- Private code from projects
- File paths beyond basic OS info
Only technical information about the bug is included in the report.