Skip to content

Latest commit

 

History

107 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jules Prompts

License: MIT GitHub stars

A curated library of machine-readable task prompts, Agent Skills, and planted-failure fixtures for coding agents. The procedures cover the failures agents actually have: broken setup scripts, vague issues, tests that need services a sandbox cannot start, and pull requests that only read as finished.

The name is historical. The instructions are harness-agnostic: they do not depend on Jules, Claude Code, Codex, Cursor, or any other product's tool names.

Layers

  1. _prompts/: the canonical procedure text. Website, JSON index, MCP slash commands.
  2. skills/: the same text as Agent Skills. Generated from _prompts/. Copy into .claude/skills/ or .agents/skills/.
  3. fixtures/: miniature repositories with planted defects. The way to see a skill go red.
  4. plugin/: the whole library as one installable bundle, manifest, skills and slash commands.
  5. library.json: every procedure, its category and its tier, in one machine-readable list.

Everything after the first is generated by scripts/emit.py and checked byte for byte in CI, so a copy that has drifted from its source fails the build instead of quietly disagreeing with it. Adding a new output format, whatever the ecosystem asks for next, is one entry in that script's TARGETS; the guarantee is structural rather than per-format.

Tiers

Procedures are core unless their front matter says status: legacy. Core is the reason this library exists: the failures agents actually have. Legacy is the general-purpose task text from 2025, still correct and still runnable, kept because it is useful and marked because it is not what makes this different.

Standing doctrine, for a project's AGENTS.md so it fires when nobody picks a skill: harness/AGENTS.md.

Getting Started

The library guide explains each prompt and a recommended sequence.

To prepare a repository so an agent can clone, install, and test it, see the Environment Setup Guide.

How to Use

As Agent Skills (preferred)

cp -R skills/qa-an-agents-tests .claude/skills/
# or all of them
cp -R skills/* .claude/skills/

Paste harness/AGENTS.md into the project's AGENTS.md.

As an MCP server

Claude Code, Claude Desktop, VS Code / Copilot Chat, Windsurf and Zed surface MCP prompts as slash commands. The server reads this repository live rather than a bundled copy.

{
  "mcpServers": {
    "jules-prompts": {
      "command": "npx",
      "args": ["-y", "github:melbinjp/jules-prompts"]
    }
  }
}

Prompts that contain placeholders such as <PR_URL_OR_DIFF_RANGE> expose them as arguments, so the client asks for the value and the server substitutes it before handing over the text.

For humans (copy-paste)

  1. Open the prompt file (e.g. task_audit_repo.md).
  2. Copy the body after the YAML front matter.
  3. Paste it into the agent's instruction input.

For agents (programmatic)

  1. Fetch https://jules-prompts.wecanuseai.com/prompts.json.
  2. Select a prompt by title, description, or category.
  3. Fetch the rendered prompt from its url, or read _prompts/<slug>.md.

Against fixtures (proof)

python scripts/score_fixture.py fixtures/unfailable-tests path/to/REPORT.md
python scripts/score_fixture.py fixtures/unfailable-tests --self-check

Verdicts are holds / broken / skipped. The last line is coverage.

Keeping the library current

New prompts are useful when they cover a recurring task that the existing set does not handle clearly. Do not add prompts only to increase the count.

When adding or revising a prompt:

  1. Keep its YAML front matter aligned with the other files in _prompts/.
  2. Write harness-agnostic instructions: no You are Jules, no set_plan / submit / request_code_review.
  3. Run python scripts/generate_skills.py so skills/ matches.
  4. Update PROMPTS_GUIDE.md when its purpose or recommended use changes.
  5. Update workflow.json only when the recommended sequence changes.
  6. If the prompt exists to catch a failure, add a fixture under fixtures/ with defects.json and an EXPECTED_REPORT.md that names every planted defect.
  7. Keep AGENTS.md, this README, and the generated prompts.json fields aligned.
  8. python scripts/check_library_integrity.py must pass.

Contributing

Contributions are welcome. The goal is a small set of high-quality, general-purpose procedures that encode best practices for the failures agents actually have, and a corpus that can show those procedures failing.

If you have an idea for a new prompt, skill, or fixture, please open an issue to discuss it.

About

A curated library of machine-readable task prompts for Jules and other coding agents, including prompts for the failures agents actually have: broken setup scripts, vague issues, tests that need services a sandbox cannot start, and pull requests that only read as finished.

Topics

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages