AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Project Bug Hunter

skill-wildanfadh-project-bug-hunter-skill-project-bug-hunter-skill · by wildanfadh

Use this skill whenever the user asks to find bugs, audit a project, review code for defects, scan the currently opened directory, investigate hidden errors, prepare a project before deployment, or check why a project might fail. This skill is for broad bug-hunting across the current working directory and should trigger on phrases like "cari bug di project ini", "cek project ini", "audit bug", "r…

No reviews yet
0 installs
33 views
0.0% view→install

Install

$ agentstack add skill-wildanfadh-project-bug-hunter-skill-project-bug-hunter-skill

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-wildanfadh-project-bug-hunter-skill-project-bug-hunter-skill)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Project Bug Hunter? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Project Bug Hunter

Use this skill to search for bugs in the project rooted at the current working directory. Treat the open directory as the source of truth unless the user gives a different path.

Core principle

Find evidence before suggesting fixes. The goal is to produce a useful bug report, not to make speculative changes. Bugs should be tied to files, commands, logs, tests, traces, or code paths.

Do not edit files, install packages, run migrations, delete data, or change configuration unless the user explicitly asks for fixes after reviewing the report.

Workflow

1. Confirm scope quickly

If the user gave no path, use the current working directory. If the directory is very large or contains multiple apps, identify likely project roots and ask which one to inspect only when ambiguous.

Prefer continuing without extra questions when the intent is clear.

2. Map the project

Inspect the repository before judging code.

Run lightweight discovery commands such as:

pwd
find . -maxdepth 3 -type f \
  \( -name 'package.json' -o -name 'pnpm-lock.yaml' -o -name 'yarn.lock' -o -name 'package-lock.json' \
  -o -name 'pyproject.toml' -o -name 'requirements.txt' -o -name 'Pipfile' \
  -o -name 'go.mod' -o -name 'Cargo.toml' -o -name 'composer.json' \
  -o -name 'build.gradle' -o -name 'settings.gradle' -o -name 'pom.xml' \
  -o -name 'pubspec.yaml' -o -name 'Gemfile' -o -name 'Dockerfile' \
  -o -name 'docker-compose.yml' -o -name '.env.example' -o -name 'README.md' \) \
  -not -path '*/node_modules/*' -not -path '*/vendor/*' -not -path '*/.git/*'

Also inspect:

  • README/setup docs
  • CI config (.github/workflows, .gitlab-ci.yml, etc.)
  • test directories
  • app entry points
  • framework config files
  • recent git changes when available (git status, git diff --stat, recent commits)

Avoid wasting time in generated or dependency directories: node_modules, vendor, .next, dist, build, coverage, .git, .venv, target, Pods, DerivedData.

3. Detect stack and available checks

Infer the language/framework from project files. Prefer built-in project commands over generic guesses.

Common checks:

JavaScript/TypeScript

  • Read package.json scripts first.
  • Prefer existing scripts: test, lint, typecheck, build.
  • Typical safe commands: npm test, npm run lint, npm run typecheck, npm run build, or package-manager equivalents.

Python

  • Inspect pyproject.toml, requirements.txt, tox.ini, pytest.ini.
  • Typical checks: pytest, python -m pytest, ruff check ., mypy . when configured.

Go

  • go test ./...
  • go vet ./...

Rust

  • cargo test
  • cargo clippy --all-targets --all-features when available.

PHP/Laravel

  • composer test or configured scripts.
  • php artisan test when Laravel is detected.

Java/Kotlin

  • ./gradlew test, ./gradlew build, or mvn test depending on project.

Flutter/Dart

  • flutter test
  • dart analyze

If dependencies are missing, do not install automatically. Report the missing prerequisite and continue with static inspection.

4. Inspect bug-prone areas

Look for high-signal defects, not style nits.

Prioritize:

  • failing tests, build errors, type errors, lint errors that indicate real defects
  • runtime crashes and unhandled exceptions
  • incorrect async/concurrency behavior
  • null/undefined/None handling mistakes
  • wrong data shape assumptions
  • boundary conditions and off-by-one errors
  • broken routing, imports, exports, or module resolution
  • configuration mismatches between code, env, and docs
  • database query bugs, transaction bugs, migration/order problems
  • auth/authorization logic mistakes when visible in normal code review
  • API contract mismatches between frontend/backend
  • resource leaks, missing cleanup, infinite loops, runaway retries
  • platform-specific path/case-sensitivity bugs
  • error handling that hides failures or returns success on failure

Do not frame cosmetic style preferences as bugs. If something is only a maintainability concern, put it in a separate "Risiko/Perbaikan non-kritis" section.

5. Validate findings

For each suspected bug, gather at least one form of evidence:

  • exact command output
  • file and line reference
  • test failure or reproduction step
  • code path explanation
  • mismatch between caller and callee
  • config/documentation contradiction

If a finding cannot be validated, label it as "potensi bug" and explain what would confirm it.

When a command fails, read the full relevant error and trace it to root cause before recommending a fix. Avoid piling on fixes from one symptom.

6. Report format

Respond in the user's language. For Indonesian users, use Indonesian.

Use this structure:

# Laporan Bug Project

## Ringkasan
- Root project: `...`
- Stack terdeteksi: ...
- Command yang dijalankan: ...
- Hasil umum: ...

## Bug prioritas tinggi
### 1. [Judul singkat]
- Lokasi: `path/file.ext:line`
- Bukti: ...
- Dampak: ...
- Penyebab kemungkinan: ...
- Rekomendasi fix: ...
- Cara verifikasi: `command` atau langkah reproduksi

## Bug prioritas sedang/rendah
...

## Potensi bug yang perlu konfirmasi
...

## Pemeriksaan yang tidak bisa dijalankan
- Command/prasyarat: ...
- Alasan: ...
- Saran: ...

## Langkah berikutnya
1. ...
2. ...

If no real bugs are found, say that clearly and list the checks performed. Then mention any remaining risk areas that were not covered.

Safety rules

  • Do not modify files during bug hunting.
  • Do not run destructive commands (rm, database reset, migrations that alter data, deploys, credential rotation, production scripts).
  • Do not install dependencies without permission.
  • Do not expose secrets in the report. If a secret is found, redact it and report the file/path only.
  • Prefer read-only commands and project-provided test/build commands.

When the user asks to fix bugs

After the user selects findings to fix, switch from report mode to root-cause/fix mode:

  1. Reproduce the selected bug.
  2. Identify root cause.
  3. Make the smallest targeted change.
  4. Run the verification command.
  5. Summarize changed files and remaining risks.

Fix one logical bug at a time unless the user explicitly asks for a broader patch.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.