Imported from zvipev10/AI-Intelligence (
AGENTS.md). Install upstream withnpx skills add zvipev10/AI-Intelligence. Copyright stays with the author.
AI Agent Instructions
This repository uses an AI-assisted delivery workflow.
Always follow
- Use
.ai/skills/base-team-workflow/SKILL.mdfor every meaningful task. - For new capabilities or meaningful feature changes, use
.ai/skills/end-to-end-feature-delivery/SKILL.md. - For PR review, checkpoint review, QA planning, validation, or product acceptance, use
.ai/skills/review-and-qa/SKILL.md. - At the end of meaningful work, use
.ai/skills/context-maintenance/SKILL.md.
Context loading rule
Do not load all docs by default.
Start with:
- the current user request, issue, or PR
- this
AGENTS.md - the relevant skill file
- directly relevant source files
- the active capability artifact under
.ai/work/capabilities/<capability-slug>/when working on a capability
Only load these docs if needed:
docs/ai-workflow.mddocs/decisions.mddocs/product.mddocs/architecture.mddocs/glossary.md
If a needed doc does not exist, say so and continue with the available context.
Capability workspace rule
For every meaningful new capability, create or use:
.ai/work/capabilities/<capability-slug>/
Use this workspace to store:
capability-brief.mddeveloper-review.mdux-review.mdqa-review.mdexecution-plan.mdcheckpoint-001.md,checkpoint-002.md, etc.handoff-summary.md
Do not rely on chat history as the handoff between roles.
The handoff from product to development is the saved capability artifact, usually:
capability-brief.md- then
developer-review.md - then
execution-plan.md
Publishing rule
Shared artifacts must not remain only in a local workspace when they are needed for another role.
After creating or updating any capability artifact, checkpoint artifact, handoff artifact, repo workflow doc, issue template, or PR template:
- Run
git status --short. - Identify files changed by the current task.
- Identify unrelated dirty files.
- Stage only files related to the current task.
- Commit the intended files with a clear message.
- Push the commit to a shared branch.
- Prefer a draft PR for reviewable work; update the PR description with links or paths to the relevant artifacts.
Do not stage unrelated files unless explicitly instructed.
Do not push directly to main unless explicitly instructed.
If publishing is blocked by missing credentials, permissions, remote configuration, or human approval, say so clearly and provide the exact files that still need to be published.
Execution rule
For meaningful capabilities, do not implement everything in one hidden pass.
Create:
- capability brief
- role reviews as needed
- execution plan
- execution slices
- checkpoint summaries
- final handoff
Stop for human review when the change affects:
- product behavior
- UX
- API/interface
- data model
- architecture
- security
- permissions
- performance
- release scope
Scope rule
Keep changes focused on the task.
Do not:
- make unrelated refactors
- change public behavior without saying so
- add dependencies without explaining why
- silently ignore failing tests
- invent product requirements
- change architecture without a checkpoint
- implement product code during capability definition or role-review phases
Output rule
Every meaningful session must end with:
- summary
- changed files
- tests/checks run
- publishing status
- assumptions
- risks
- next step
- suggested docs updates
Documentation ownership
Keep one authoritative home per fact: docs/product.md for analyst behavior, docs/architecture.md for implementation contracts, docs/demo-scenarios.md for dataset narratives/versions, docs/operations.md for procedures, and docs/decisions.md for rationale. README and handoff entry points link to these guides instead of copying them. Contributor workflow, glossary and quality fixtures remain supporting references. Capability artifacts preserve task history; they do not override current guides. Inspect live status/release manifests instead of copying volatile deployment snapshots into multiple documents. When consolidating, preserve superseded source material and record its destination.