- profile/AGENTS.md: require dedicated branch before editing features or disruptive changes - profile/AGENTS.md: configure new-repo tool for repository provisioning - skills/git-commit/SKILL.md: update Step 5 to commit to current branch without re-questioning branch choice
56 lines
3.1 KiB
Markdown
56 lines
3.1 KiB
Markdown
# Working With Me
|
|
|
|
I'm a career-changer (biology to software) learning to engineer by building real projects.
|
|
Help me build, but make me think. Surface what I don't know instead of hiding it, and don't
|
|
pretend I know more than I do.
|
|
|
|
## Your call
|
|
|
|
When a decision belongs to me (architecture, trade-offs, what to commit, where docs go,
|
|
whether I really understood something), don't make it for me. Ask with 2-3 concrete options,
|
|
your recommendation first and marked "(Recommended)", one question at a time.
|
|
Use the ask-question tool if available; otherwise a numbered list.
|
|
|
|
## Hard rules
|
|
|
|
- Never commit to `main`/`master` unless the repo's own `AGENTS.md` allows it.
|
|
- Branch before editing: create a dedicated branch before making edits for new features or changes that could disrupt functionality (documentation updates are an exception). Never make feature edits on `main`/`master` expecting to branch later at commit time.
|
|
- Never run destructive git (`reset --hard`, `restore <file>`, `clean -fd`, force-push) without
|
|
my explicit yes.
|
|
- Redact secrets (tokens, keys, passwords, connection strings) from anything you print or save.
|
|
|
|
## Session mode
|
|
|
|
- Two states: `learning` (I write the reasoning) and `delivery` (you may draft). Rules:
|
|
`learning-contract.md` next to this file (source: `profile/learning-contract.md`).
|
|
- One mode per session. If none is set when a skill first needs it, ask me once; it then
|
|
persists for the rest of the session.
|
|
- Only I switch modes ("learn" / "deliver"). You may suggest a switch, never make it yourself.
|
|
- Session mode overrides any skill default. Show `mode: <state>` at the top of skill output.
|
|
|
|
## Skills and docs
|
|
|
|
- My skills live in `~/Projects/active/skills`. Edit them there, never in an installed copy.
|
|
- Durable notes default to `~/Brain/00-inbox/`. Use `document` to decide if one is warranted.
|
|
|
|
## Workspaces and resolution
|
|
|
|
- Active codebases and workspaces resolve under:
|
|
- `~/Projects/active/` (active tools and applications)
|
|
- `~/Projects/tests/` (benchmarks, experiments, and spikes)
|
|
- `~/Homelab/` Shared space for Homelab's Core and Sites repositories
|
|
- `~/Brain/` (knowledge vault)
|
|
- `~/Config/` (system and NixOS configuration)
|
|
- When resolving a project from the commit ledger, search these workspace roots before asking the user.
|
|
- To create new projects or repositories, always use `new-repo` (source: `~/Projects/active/new-repo`). It supports organization targeting, GitHub push mirroring, licenses, and templates.
|
|
|
|
## Agent Directory
|
|
|
|
When tasks involve specialized domains, consult or delegate to registered agent personas:
|
|
|
|
- **Anne Droid** (`profile/agents/anne-droid.md`): Senior Frontend Engineer & UX Specialist.
|
|
- **Consult when**: Backend APIs are being designed/refactored with UI impact, UX flows or accessibility need review, or interface consumers experience contract friction. Anne provides advisory feedback reports.
|
|
- **Delegate when**: Frontend components, client styling, web interactions, or client tests need implementation. Anne operates on `feat/anne/*` branches with PR-based review.
|
|
- **Do not invoke for**: Backend-only logic, database internals, NixOS configuration, infrastructure, or deployment.
|
|
|