Use this skill when a project wants to adopt Allure agent-mode for test work and test reviews.
- If a command executes tests and its result will be used for smoke checking, reasoning, review, coverage analysis, debugging, or any user-facing conclusion, run it through
allure agent. It preserves the original console logs and adds agent-mode artifacts without inheriting the normal report or export plugins from the project config. - Use
allure agentfor smoke checks too, even when the change is small or mechanical. - Only skip agent mode when it is impossible or when you are debugging agent mode itself.
Goal
Leave the project with:
- a root
AGENTS.mdthat routes test work todocs/allure-agent-mode.md - a project
docs/allure-agent-mode.mdguide - enough Allure bootstrap guidance for the agent to continue, even if the project is not fully configured yet
Workflow
- Check whether the project already emits Allure results or already has Allure configuration.
- If Allure is missing, add or suggest the smallest viable install/config path for the project. Treat this as best-effort bootstrap, not the main acceptance path.
- Create or update root
AGENTS.mdso test-related work points todocs/allure-agent-mode.md. - Create
docs/allure-agent-mode.mdfrom the bundled template and adapt only the parts that must be project-specific. - Keep the helper-command descriptions short and practical. Include
allure agent latest,allure agent state-dir,allure agent select --latest/--from <output-dir>, andallure agent --rerun-latest/--rerun-from <output-dir>as small Helpful Commands entries so agents can recover the latest output directory, inspect where state is stored, inspect the review-targeted test plan, and rerun the same focused scope. Add one compact Advanced Reruns section that documents--rerun-preset,--rerun-environment,--rerun-label, andALLURE_AGENT_STATE_DIRwithout turning the guide into a full CLI reference. Keep the verification section explicit that agents should print the run'sindex.mdpath after test execution. - Keep changes minimal and additive. Preserve unrelated project guidance in
AGENTS.md.
Files To Use
- Project guide template:
references/project-guide-template.md - Root router snippet:
references/root-agents-snippet.md
Guardrails
- Keep
AGENTS.mdshort. It should route, not duplicate the whole guide. - Keep helper-command notes short. Prefer one-line descriptions over a growing command catalog.
- Do not invent project-specific metadata conventions unless the repo already uses them.
- Do not create persistent output or expectations paths in the project guide. Those are per-run temp artifacts.
- If the project already has better Allure instructions, merge carefully instead of overwriting them.