Agent Guidelines
Agent Buildingagent-guidelinesAgent Guidelines is an Agent Skill for agent building published in the eser/stack repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Agent roles, safety rules, file ownership, and cross-package change protocol. Use when AI agents work on this codebase, plan multi-package changes, or need boundary guidance.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/eser/stack/blob/HEAD/.claude/skills/agent-guidelines/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/agent-guidelines, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Agent Guidelines
Rules for AI coding agents working on the eserstack monorepo.
Quick Start
- Work within one package at a time unless cross-package change is justified
- Check Safety Rules before any action (Never Do / Ask First / Always Do)
- Run
deno task validatebefore considering work complete - Follow existing patterns in the target package
Agent Roles
- Implementer: Write code in one package, run validate, follow conventions
- Reviewer: Read-only analysis, check skill adherence, verify coverage
- Architect: Plan cross-package changes, create ADRs in
etc/adrs/
Safety Rules
Never Do: destructive git, modify outside assigned package, edit versions manually, weaken types, skip hooks, commit secrets
Ask First: cross-package deps, new external deps, CI/CD changes, @eserstack/standards changes, publishing config
Always Do: run validate, follow existing patterns, write tests, use explicit extensions, keep functions pure
References
See rules.md for file ownership, cross-package protocol, and detailed safety rules.