agentleFS
SentryKnown publishergetsentry/repro/.claude/skills/repro-description/SKILL.md

repro-description

Skill2 starsChanged 3 months agoMITView on GitHub

Create a self-contained bug reproduction from a description. Asks which Sentry SDK is affected and suggests a descriptive branch name.

  • Installs packages
  • Commits and pushes
  • In this repositoryOne other file it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

20 rules. About 0 are common, 17 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the AskUserQuestion tool to collect:

    line 25
  2. Distinctive:

    Ask user to confirm or provide alternative

    line 33
  3. Distinctive:

    Read through the description to understand:

    line 37
  4. Distinctive:

    Create the directory structure:

    line 46
  5. Distinctive:

    Use the descriptive name provided/confirmed by the user

    line 56
  6. Distinctive:

    Create a minimal, self-contained reproduction that:

    line 61
  7. Distinctive:

    Keep it minimal - only include what's needed to show the bug

    line 68
  8. Very specific:

    Keep the DSN for Sentry empty and remind users to export SENTRY_DSN= in the instructions

    line 71
  9. Distinctive:

    Use standard tooling where possible (npm, uv, bundle, pip, cargo, etc.)

    line 72
  10. Distinctive:

    If the description mentions a specific framework (Django, Rails, Express, Flask, etc.), set up that framework minimally

    line 73
  11. Distinctive:

    Add comments in the code explaining what should happen vs what actually happens

    line 75
  12. Distinctive:

    Consider using Spotlight (https://spotlightjs.com/) for local Sentry event inspection where applicable

    line 76
  13. Distinctive:

    Before committing, verify the reproduction actually works:

    line 80
  14. Distinctive:

    Run the install commands

    line 81
  15. Distinctive:

    If you get stuck, continue with Step 6 but mention it clearly in the README and still create the PR

    line 84
  16. Distinctive:

    Create a new branch (if not already created):

    line 142
  17. Distinctive:

    If the description is too vague, ask the user for more details about:

    line 171
  18. Distinctive:

    If the SDK is not specified, ask the user which SDK is affected

    line 176
  19. Distinctive:

    Use this skill when:

    line 190
  20. Very specific:

    Use the regular repro skill when:

    line 196

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Description-Based Reproduction Skill

This skill creates a self-contained bug reproduction from a description (without requiring a GitHub issue URL).

Input

The user provides a bug description, which can include:

  • The unexpected behavior
  • The expected behavior
  • SDK version
  • Framework being used
  • Code snippets or configuration
  • Environment details

Workflow

Step 1: Gather Information

Use the AskUserQuestion tool to collect:

  1. Which Sentry SDK is affected?
    • Options: sentry-ruby, sentry-python, sentry-javascript, sentry-rust, sentry-java, sentry-dotnet, sentry-php, etc.
  2. Suggest a descriptive branch name based on the bug description
    • Format: repro/{sdk}-{descriptive-name}
    • Example: repro/sentry-ruby-error-page-status-mismatch
    • Ask user to confirm or provide alternative

Step 2: Analyze the Description

Read through the description to understand:

  • What is the bug/unexpected behavior?
  • What is the expected behavior?
  • What environment/setup is needed (language version, framework, dependencies)?
  • What SDK version is mentioned (if any)?
  • Are there code snippets or configuration examples provided?

Step 3: Create the Reproduction Directory

Create the directory structure:

{sdk}/{descriptive-name}/
├── README.md          # Instructions to run the reproduction
├── [package manager files]  # Dependencies (package.json, Gemfile, requirements.txt, etc.)
├── [reproduction files]

Directory naming:

  • Extract SDK name from the full SDK identifier (e.g., sentry-ruby → ruby)
  • Use the descriptive name provided/confirmed by the user
  • Example: sentry-ruby/error-page-status-mismatch/

Step 4: Build the Reproduction

Create a minimal, self-contained reproduction that:

  1. Demonstrates the reported bug clearly
  2. Uses the minimal dependencies necessary
  3. Can be run with simple commands (e.g., npm install && npm start or uv run or bundle exec)
  4. Includes clear console output or error messages showing the bug

Guidelines for reproductions:

  • Keep it minimal - only include what's needed to show the bug
  • Install the Sentry SDK version mentioned in the description
    • Fall back to a recent/stable version if no specific version is provided
  • Keep the DSN for Sentry empty and remind users to export SENTRY_DSN= in the instructions
  • Use standard tooling where possible (npm, uv, bundle, pip, cargo, etc.)
  • If the description mentions a specific framework (Django, Rails, Express, Flask, etc.), set up that framework minimally
  • Include any necessary configuration files
  • Add comments in the code explaining what should happen vs what actually happens
  • Consider using Spotlight (https://spotlightjs.com/) for local Sentry event inspection where applicable

Step 5: Test the Reproduction

Before committing, verify the reproduction actually works:

  1. Run the install commands
  2. Run the reproduction
  3. Confirm the bug manifests as described
  4. If you get stuck, continue with Step 6 but mention it clearly in the README and still create the PR

Step 6: Write the README.md

The README.md in the reproduction directory should include:

# Reproduction for {sdk} {descriptive-name}

**SDK:** {sdk-name} v{version}

## Description

[Brief description of the bug being reproduced]

## Steps to Reproduce

1. Install dependencies:
   ```bash
   [install command]
   ```

2. (Optional) Start Spotlight for event inspection:
   ```bash
   npx @spotlightjs/spotlight
   ```

3. Run the reproduction:
   ```bash
   [command to run]
   ```

## Expected Behavior

[What should happen]

## Actual Behavior

[What actually happens - the bug]

## Reproduction Evidence

[If applicable, show console output, logs, or screenshots demonstrating the bug]

## Environment

- [Language]: [version if relevant]
- {sdk-name}: [version]
- [Framework]: [version if relevant]
- OS: [if relevant]

## Notes

[Any additional context or observations]

Step 7: Commit and Create PR

  1. Create a new branch (if not already created):
    git checkout -b repro/{sdk}-{descriptive-name}
  2. Stage and commit the files:
    git add {sdk}/{descriptive-name}/
    git commit -m "Add reproduction for {sdk} {descriptive-name}"
  3. Push and create PR:

    git push -u origin repro/{sdk}-{descriptive-name}
    gh pr create --title "Reproduction for {sdk} {descriptive-name}" --body "..."

    The PR body should include:

    • Summary of the bug
    • Evidence from the reproduction (console output, logs, etc.)
    • Instructions to run it
    • Note that this is a description-based reproduction (no associated GitHub issue)

Step 8: No Backlink (Skip for Description-Based)

Since there's no GitHub issue, skip the backlink step. The reproduction stands alone as a demonstration of the bug.

Error Handling

  • If the description is too vague, ask the user for more details about:
    • Expected vs actual behavior
    • SDK version
    • Framework being used
    • Any error messages or symptoms
  • If the SDK is not specified, ask the user which SDK is affected

Example

For a description about "Rails 404 errors reported as 500 in Sentry trace data":

  1. SDK: sentry-ruby
  2. Descriptive name: error-page-status-mismatch
  3. Directory: sentry-ruby/error-page-status-mismatch/
  4. Branch: repro/sentry-ruby-error-page-status-mismatch
  5. PR title: "Reproduction for sentry-ruby error-page-status-mismatch"

When to Use This Skill

Use this skill when:

  • The user provides a bug description without a GitHub issue URL
  • You want to create a standalone reproduction for testing or demonstration
  • The bug hasn't been filed as an issue yet
  • You're exploring a potential bug that needs a concrete example

Use the regular repro skill when:

  • The user provides a GitHub issue URL
  • You want to link the reproduction back to an existing issue

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.