Contributing
Read AGENTS.md and PROJECT.md. This guide describes the project's working process for people and AI. Adapt it to existing project policy.
Policy adoption
Binding process: this local CONTRIBUTING.md and applicable project instructions.
External binding policy source: none.
Adopted external policy SHA/version: none — no external policy adopted by this template.
The catalog links below are evolving technique/reference sources. Read a selected skill
for its procedure; a main branch or live website link does not silently adopt external
process obligations. Project rules, current instructions and effective host permissions govern.
If the process owner adopts external policy, replace both none fields with the verified
immutable source URL and full commit SHA or governed documentation version. For example,
construct a URL using https://github.com/atstaeff/ai-agents/blob/COMMIT_SHA/toolkit/WORKFLOW.md,
replace COMMIT_SHA with the actual 40-character revision and read that source before use.
If it routes to procedure files in the same repository, read the applicable bodies at that
same revision. Pin any separate binding source explicitly; a mutable web rendering is a
reference. Record which local sections the policy replaces and any approved fallback.
Working process and skills
Use Clarify → Plan → Build → Verify → Integrate and retain. A clear small correction can go directly through inspection, change and relevant checks. Keep shared scope, acceptance, feedback, evidence and coordination in the existing assignment. Keep personal steps in the user-configured private Second Brain when permitted by project policy; if unavailable, use a short unsaved session plan and continue authorized work. Share an execution plan only when collaboration needs it, at one agreed home.
Select only relevant skills from the installed catalog or its canonical linked source. Load the skill body explicitly when the host does not discover it; a Markdown link does not install a skill or start an agent. Do not load the whole catalog for each task.
| Need | Evolving technique/reference |
|---|---|
| Establish contribution rules in an unfamiliar project | repository-contribution |
| Clarify vision, value, scope and acceptance | product-discovery |
| Plan and coordinate a larger assignment | work-management |
| Resolve consequential design choices | principal-engineer-decisions |
| Implement in the existing stack | Select the relevant engineering or language skill |
| Verify and prepare review | testing, pr-crafting |
Tools and access
Link actual tools and their project-specific locations. Reuse an existing tooling map when it already owns this information.
| Purpose | Authoritative project location | Integration and access |
|---|---|---|
| Work, priority and acceptance | Work home in PROJECT.md | [available connector/CLI and permitted updates] |
| Agent execution and model routes | [adopted Herdr session/machine and local host configuration] | [readiness, model/effort, capacity and budget limits] |
| Code and review | Repository/review home in PROJECT.md | [available connector/CLI and review policy] |
| Current knowledge and decisions | Knowledge homes in PROJECT.md | [local sources or authorized wiki; publication owner if applicable] |
Discover available host integrations for these tools. Report missing access and prepare an unsent update in the response or handoff, naming its intended destination. Check existing effects after a timeout before retrying a write. Keep credentials and personal filesystem paths in local configuration.
Qualify the installed host's discovery, effective model/effort, tools and handoff before depending on them. The runtime check template is a catalog reference for recording observations, limits and capacity at the existing work/review home. Export format checks alone do not qualify a host.
Setup and checks
Use verified commands and working directories from the existing runbook or CI. Link that source here, or fill only the applicable rows below. Discover unknown commands before dependent work.
| Action | Verified command and working directory, or authoritative source |
|---|---|
| Setup and local run | [actual command/source] |
| Affected behavior, tests and static checks | [actual command/source] |
| Build and integration checks | [actual command/source] |
Herdr and model routing
The authorized assignment covers routine internal team coordination within project/host limits. Leads choose useful specialists, model routes, layout and parallel work automatically, then follow required review, correction, checks and knowledge retention through completion. Do not require the user to repeat delegation instructions. Keep analysis/design-only work within its requested scope. Configure actual host/model routes and limits once, reuse matching evidence and report only concrete setup gaps or decisions that need the user.
If the project adopts Herdr, use it when its executable and selected server are
available within project and host permissions. Reuse matching sessions and load the native
skill for that release through herdr --skill when supported. Outside automation needs an
explicitly selected authorized target. Respect managed pane guards.
For substantial work, delegate useful independent ready slices by default when the benefit justifies coordination. Dispatch siblings before waiting; keep dependent/overlapping work queued. One dispatcher allocates capacity/budget across leads and all nested workers. Group isolated writer worktree workspaces with the project. Reuse labelled Control/Work/ Review tabs; separate agent, nonconflicting checks and service/log panes without stealing focus. Use native state/notifications and bounded reads/waits; verify the returned artifact and task revision before accepting it. No additional fleet tool is required for native Herdr dispatch. Fill free capacity within machine, provider, cost and review limits. If unavailable, state the concrete gap and continue independent work through the authorized host.
Use strong approved models with high reasoning for complex judgment, architecture, decomposition, integration conflicts and consequential review. Use economical proven models for bounded specialist work and native commands for mechanical coordination. Verify effective model/effort in the harness; report a missing required route instead of silently downgrading complex work. Resolve actual routes from local host settings. The Herdr guide is an evolving reference; the local rules in this section define this project's preference unless a different pinned policy is explicitly recorded above.
Coordination and review
Identify the accountable human, active contributor, bounded write scope, dependencies and integration owner at the assignment; roles may be combined. Isolate independent writers in separate branches/working directories and agree shared contracts first. Coordinate overlapping files through the project's effective claim/handover mechanism; serialize overlap when none exists. Preserve human edits and reread shared records before writes. Delegate only when supported, authorized and useful.
Start with one active increment. Preserve intervening edits and human feedback. Capture significant rationale when it arises and update affected current knowledge from evidence. Resolve consequential conflicts with the owner in PROJECT.md. Follow review requirements and actual action permissions; a plan grants no merge/deployment authority.
Run actual checks on the combined revision, including affected behavior and important failure cases. Required reviews apply to the current revision. Report unrun or blocked checks and keep accepted, integrated, deployed and measured outcomes distinct.
Report the change, actual checks and remaining gaps. Save the bounded handoff described in PROJECT.md before switching sessions. Shared artifacts use English; never invent results, approvals, capabilities or successful writes.
Canonical source: templates/project-starter/CONTRIBUTING.md.