AGENTS.md — Machine-Readable Instructions for AI Agents
This file tells AI agents how to discover and use the prompts in this repository.
What This Repository Is
This is a curated library of pre-made, machine-readable task prompts designed for AI coding agents (Jules, GitHub Copilot, Cursor, Windsurf, etc.). Each prompt is a structured markdown file that guides an agent through a specific software engineering task.
How to Discover Prompts
1. JSON API (Recommended)
Fetch the prompt index:
GET https://jules-prompts.wecanuseai.com/prompts.json
This returns a JSON object with:
version— API versiontotal_prompts— number of available promptscategories— list of prompt categoriesprompts[]— array of prompt objects, each withtitle,description,category,url,source_path, andslug
2. Direct File Access
All prompts are located in the _prompts/ directory as markdown files. Each file has YAML front matter with title, description, and category fields, followed by the full prompt text.
How to Use a Prompt
- Select a prompt from the JSON index based on its
title,description, orcategory. - Fetch the prompt content from its
url(rendered HTML) or read the markdown file atsource_path. - Parse the markdown content — the actual prompt starts after the YAML front matter (
---). - Fill placeholders — some prompts contain placeholders like
<REPO_OR_SITE_URL>that need to be replaced with actual values. - Execute — use the prompt as your task instruction.
Prompt Categories
| Category | Description |
|---|---|
| Initial Scoping | First-pass tasks for new or unknown projects (audit, hardening, frontend build) |
| Iterative Development | Tasks for improving existing code (fix & refine, UI/UX, build from plan) |
| Maintenance | Ongoing tasks (dependency updates, curation) |
| Meta | Templates and prompt-generation tools |
Recommended Workflow
For taking a new project from zero to production, execute prompts in this order:
task_audit_repo— Understand the projecttask_harden_repo_initial— Set up CI/CD and testingtask_fix_and_refine— Fix bugs and architecturetask_harden_repo_iterative— Ongoing improvement (repeatable)
See workflow.json for the machine-readable workflow graph.
Repository Structure
_prompts/ → All prompt markdown files
prompts.json → Machine-readable prompt index (JSON API)
workflow.json → Machine-readable workflow graph
AGENTS.md → This file (agent instructions)
PROMPTS_GUIDE.md → Human-readable prompt library guide
ENVIRONMENT_SETUP.md → Guide for configuring repos for Jules