For AI agents: the complete documentation index is available at https://jig.md/llms.txt, the full documentation bundle is available at https://jig.md/llms-full.txt, and this page is available as Markdown at https://jig.md/for-agents.md.
DocumentationGuidePrerelease

#Give your Agent the right context

View Markdown

People and software use the same task paths and exact contracts. Fetch focused pages for the task before loading the full documentation bundle. These public files require no account, API key, or JavaScript execution.

#Find where to change a workflow

jig init writes a root AGENTS.md for coding agents. For an existing project, add this guidance to its own AGENTS.md. Use the project's usual Jig command if it has a local launcher.

Read the nearest AGENTS.md for the files you edit. For a change within one Flow, work from its source and tests.

For a routing or shared Binding change, run jig inspect --flow from the project root. Pass a known Flow file or Binding declaration by its relative path. Find the caller, its slot, and the routes to preserve. Give a caller its own Binding when it needs a different collaborator.

Check configuration changes with jig check before review. Use jig check --diff when a prior approval exists. After authorized review, replay the changed and preserved routes with the same fixture. When routing matters, verify the exact caller, slot, and target in the Run evidence.

For application test recipes, see the composition testing guide.

For example, jig inspect --flow flows/import/FLOW.ts opens the configured use or lists the uses of that package. jig inspect --flow bindings/code.ts opens that exact Binding. Follow the relevant Binding declaration or focused inspection to the decision. The kitchen shifts starter shows how to test the changed route and its neighbors.

#Install authoring skills

jig init writes both authoring skills under .agents/skills/ with their references. The generated AGENTS.md points agents to them and to the relevant child guidance. Run npx skills update --project to refresh the skills and skills-lock.json from their upstream sources.

For a hand-authored project, run these commands from its directory.

npx skills add jiggy/flow --skill flow
npx skills add jiggy/jig --skill jig
SkillUse it for
FLOWPortable method design, naming, decomposition, composition, and implementation.
JigFinding the caller that controls a workflow route, comparing shared uses, and configuring, reviewing, or running a project.

Use both when building an application from reusable Flows. Use Jig's skill alone for host tasks that do not change methods.

Each skill bundles its references inside its installable directory. Load the relevant guidance when the task needs it. Your project's instructions still own its domain, acceptance criteria, and delegated authority. Start project decisions with project design.

These skills guide your development Agent. To configure an Agent used by a running Flow, follow Agent setup. To supply Skill contents during a method invocation, follow Agent method guidance. Installing an authoring skill grants no execution authority.

#Read documentation as Markdown

ResourceUse it for
Documentation indexDiscover all public pages and select what matters
Full documentationRead the complete public site when context size permits
Getting started as MarkdownCreate, review, run, and adapt the first Flow
Task map as MarkdownFind a guide by the consumer's intended outcome

On a guide or specification, Copy Markdown copies its Markdown content. View Markdown opens the plain-text page. For example, https://jig.md/build/agents has a Markdown version at https://jig.md/build/agents.md.

#Start from the user's task

Give your development Agent focused instructions such as these:

Documentation context
Read https://jig.md/llms.txt.
Fetch the pages needed for my task.
Begin with the task map and supported-host requirements.
Use documented public interfaces and the exact supported package revision.
Keep domain logic in the application or Flow. Let the operator select Agents,
credentials, and powers. Respect the authorization already provided.
Distinguish execution status, application outcome, and output delivery.
Report missing prerequisites and uncertain effects without inventing success.

These instructions supply documentation context. Your application's instructions and operator authorization govern commands, data transfer, and host changes.

#Select context by responsibility

#The architecture to preserve

Executable Flows give code, Agent judgment, and mixed methods one boundary for input, outcome, and output. Compose through the method's contract. Do not require a different calling model because its implementation uses an Agent. FLOW owns the portable boundary. Jig owns local authority and execution lifecycle. A shared interface does not establish equal judgment, cost, or required powers.

See how Jig works and one caller, three implementations. Changes to an implementation or Binding still need review. A matching contract does not authorize new bytes.

#Preserve the distinctions

Specifications define exact requirements. Guides describe the documented surface and prerequisites. Research pages describe possibilities, not supported features. Package versions in source may be candidates awaiting publication.

Keep generated answers distinct from execution evidence. Package names grant no permission. Preserve uncertainty after interruption or possible effects. Use troubleshooting to choose the next step without automatically replaying work.

The site generates the index and bundle from public pages. It excludes internal repository work contracts. Keep your project's own instructions separately.