Reference repository for agent operating standards and reusable templates.
This repo is intentionally markdown-first. It is designed to be read by agents and then applied to a target repository.
It now also ships an optional WORKFLOW.md template so downstream repos can express the same operating contract in a single repo-owned file for daemonized runners such as Symphony or similar orchestrators. The template is intentionally conservative: placeholder-based, low-concurrency by default, and explicit about keeping runtime config aligned with AGENTS.md and docs/agent/*.
Humans should be able to run this pattern with short prompts:
linear-plan <feature I want to plan>linear-implement <ISSUE-ID>linear-review <ISSUE-ID>remind me
The agent is expected to ask clarification questions when needed, instead of requiring humans to provide long structured briefs.
linear-implement is the unified execution entrypoint. The agent chooses direct execution or orchestration mode based on ticket structure.
Give your agent this instruction:
Read https://github.com/Mitri45/linear-agentic-kit/blob/main/README.md and apply Linear Agentic Kit to this repository.Then the agent should execute this workflow:
- Check that Linear MCP tools are available in the current agent session before applying issue-driven workflows.
- Ask the user which Linear project/team to use as a base for issue tracking and make sure to configure it.
- Merge
templates/AGENTS.mdinto target repo rootAGENTS.mdnon-destructively. - Merge
templates/docs/agent/**into target repo asdocs/agent/**non-destructively. - Merge
templates/docs/human/**into target repo asdocs/human/**non-destructively. - Merge
templates/docs/README.mdinto target repo asdocs/README.mdnon-destructively. - Merge
templates/WORKFLOW.mdinto target repo asWORKFLOW.mdnon-destructively when the target repo wants a repo-owned runtime workflow contract. - Merge
templates/.agents/**into target repo as.agents/**non-destructively. - Never replace existing instruction files wholesale when they already exist; append or edit-in-place while preserving existing repo rules.
- Run skill
agent-kit-repo-adjusterin the target repo. - Confirm no placeholder values remain (for example
<set-client-path>,{{LINEAR_PROJECT_SLUG}},{{WORKSPACE_ROOT}}). - Explain to the human operator how to run this pattern in day-to-day work (plan, execute, review, verify, close), using
docs/human/*. - Note the installed version from the
VERSIONfile so that it can be tracked for future updates.
If WORKFLOW.md is installed, the agent should also:
- Replace
active_statesandterminal_stateswith the target repo's actual Linear state names. - Set
workspace.rootto an operator-owned absolute path outside the repository checkout. - Keep
max_concurrent_agentsconservative until disjoint ownership boundaries are proven in practice.
To apply a new version of Linear Agentic Kit to an already installed repository:
- Run skill
agent-kit-updaterin the target repository. - Check the
CHANGELOG.mdin the new kit against the version currently installed in the target repository. - Review the
CHANGELOG.mdto determine which specific files were introduced or modified since the installed version. - Apply updates to only the touched files inside the
.agents,docs, and root instructions in the target repository, merging changes non-destructively to preserve local modifications. - Update the stored version in the target repository to match the new kit version.
Run this prompt in the target repo:
Use skill agent-kit-repo-adjuster to tailor docs/agent and skills to this repository.After applying a newer kit version in a target repo:
Use skill agent-kit-updater to apply this kit version non-destructively, then run agent-kit-repo-adjuster.templates/AGENTS.md: root instruction router templatetemplates/WORKFLOW.md: optional repo-owned runtime workflow contract for daemonized orchestratorstemplates/docs/agent/: core operating docstemplates/docs/human/: human-facing runbook and prompt patternstemplates/docs/README.md: docs routing map for humans and agentstemplates/.agents/skills/: reusable orchestration skillstemplates/.agents/latest-work.md: session handoff memory file used byremind-metemplates/.agents/system-context.md: durable implementation memory ledger for cross-slice visibility
- Do not erase target-repo-specific constraints.
- If Linear MCP is missing, stop issue-driven setup, report the gap explicitly, and point the user to install docs: https://linear.app/docs/mcp.
- Keep root
AGENTS.mdconcise and routing-focused. - Apply non-destructive updates: append/merge preferred, full replace only when file is absent.
- Update architecture/security/quality docs to reflect actual repository reality.
- Ensure skill examples and issue references match target issue-key conventions.
- Prioritize short prompt UX and ask clarification questions proactively when inputs are ambiguous.
- Report residual gaps explicitly if full adaptation cannot be completed.
- Carry forward safety guardrails: no
.env*edits unless requested, no delete-to-fix-lint without approval, and no implicit amend workflows. - Keep
.agents/latest-work.mdupdated as part of normal plan/implement/review execution. - Keep
.agents/system-context.mdupdated when completed work changes stable downstream capabilities, contracts, or patterns. - If
WORKFLOW.mdis installed, keep it aligned withAGENTS.md,docs/agent/*, and actual issue-state conventions.