#Give your Agent the right context
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.mdfor 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 --flowfrom 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 checkbefore review. Usejig check --diffwhen 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.
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
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:
These instructions supply documentation context. Your application's instructions and operator authorization govern commands, data transfer, and host changes.
#Select context by responsibility
- Authoring: project design, first Flow, dependencies, and project SDK.
- Agent setup: operator configuration and Agent Run contract.
- Application integration: files, progress, and results.
- Programmatic execution: application client for invoking Jig and recovering retained attempts.
- Review and execution: execution policy.
- Portable FLOW meaning: use FLOW's separate index.
#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.