AGENT SKILL

plan-conventions

Use when opening or writing a GitHub issue, starting work on an issue, writing or updating an implementation plan or ADR, or judging whether a doc in the repo can be trusted. Covers the ENAC IT4R issue title and TL;DR convention, the source-of-truth hierarchy, plan file naming and frontmatter (status/issue/last_updated/summary), where plans and review notes live, and when a plan must be backfilled.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 0
Forks
0

01 前言 Front Matter

name
plan-conventions
description
Use when opening or writing a GitHub issue, starting work on an issue, writing or updating an implementation plan or ADR, or judging whether a doc in the repo can be trusted. Covers the ENAC IT4R issue title and TL;DR convention, the source-of-truth hierarchy, plan file naming and frontmatter (status/issue/last_updated/summary), where plans and review notes live, and when a plan must be backfilled.

03 SKILL.md 正文

Plan and doc conventions

Every issue ends with a plan file. No exceptions — small fixes get a short one, backfilled at worst. A missing plan is its own failure mode: the next agent has no way to know what shipped or why.

Where things live

Artifact Location
Implementation plans docs/src/implementation-plans/
Closed plans (rejected, withdrawn, superseded) docs/src/implementation-plans/archive/
ADRs docs/src/architecture-decision-records/
Bot-review / code-review notes docs/code-review/

Plans live inside the docs site so they render with everything else. Do not propose moving them out.

File shape

Name: <issue-id>-<kebab-slug>.md. Frontmatter on every plan:

---
status: draft | accepted | in-progress | delivered | deferred | rejected | withdrawn | superseded
issue: 310b # GitHub issue or sub-issue id
last_updated: 2026-05-05
summary: one-line abstract
supersedes: 2101-old-approach.md    # optional: plans this one replaces
superseded_by: 2950-new-approach.md # required when status is superseded
---

The lifecycle follows Python PEPs and Kubernetes KEPs.

  • Open
    • draft — being written, not agreed. Don't cite it as a decision: presence in the tree implies nothing.
    • accepted — agreed approach; work not started.
    • in-progress — being implemented; partly shipped.
    • deferred — agreed but parked. Say why, and what would resume it.
  • Done: delivered — shipped; matches the main-branch code at last_updated.
  • Closed (move to archive/)
    • rejected — we decided not to do it. Record why.
    • withdrawn — dropped before a decision, or no longer needed.
    • superseded — replaced by another plan, named in superseded_by:.

Links go both ways, like the RFC Obsoletes / Obsoleted by headers: a plan marked superseded names its successor, and the successor lists it in supersedes:. Docs generators must know all eight statuses; an unknown value breaks the index.

ADRs use Proposed / Accepted / Deprecated / Superseded, with the same two links.

Treat any plan still draft, accepted or in-progress after ~6 months as suspect and verify against code.

Rules

  • Read the plan before you code. Grep the plans directory for the issue number or module name. Highest-leverage habit in the repo.
  • No plan for your issue? Write one before touching code.
  • If the PR diverges from its plan, update the plan in the same PR. A stale plan is worse than none — the next Tier-N PR builds on the delivered shape.
  • Plans are canonical and append-only; review notes are transient. Keep *-copilot-feedback-* files out of the plans directory: they capture bot feedback on a PR, not the design.
  • Dates are absolute (2026-05-05), never "last week".

Issues

Issues are read by product owners, not just developers: lead with intent.

  • Title: [PREFIX](Scope) Short plain description. Prefix is [BUG], [FEAT], [PERF], [SPECS] (a decision or spec is needed before code) or [TASK] (standalone chore: refactor, CI, cleanup). Scope is the module or tool (Results, CI, Deployment). Don't append (#N) by hand; a workflow does it where one exists.
  • Body opens with a TL;DR, then ---:
    **TL;DR**
    - **What:** …
    - **Why:** …
    - **User impact:** …
    - **Effort:** small | medium   (or **Blocked by:** #N / **Decision needed:** …)
    
  • Then, in order: what users experience → why it matters → what we propose (refactor first, then behaviour) → decisions needed → done when (checklist) → technical notes. File paths and symbols go last.
  • Labels must already exist (gh issue create fails on a missing one); the type label sets the branch prefix (bug → fix/, refactor → refactor/).

Source-of-truth hierarchy

Spec → ADRs → plans → code. Lower tiers refine higher tiers, never override them. Where docs and code disagree, code wins — fix the doc and say so.

04 同仓库更多 Skills

EPFL-ENAC
EPFL-ENAC/it4r-agent-kit

tps

Use when orchestrating multi-ticket work with parallel builder agents in git worktrees, in the spirit of the Toyota Production System. Covers station roles and model choice, the shape of a ticket, rules for builders, the merge flow, verification by raw output and a browser check, the status loop, and when to stop and ask the human.

★ 0
EPFL-ENAC
EPFL-ENAC/it4r-agent-kit

sync-memory-upstream

Use when the user wants to promote lessons from an AI agent's per-repo memory into it4r-agent-kit — "sync memory upstream", "update the kit from memory", "what did the agents learn that the team should know" — or after a session that saved several feedback memories. Sorts each memory into team rule, project rule, personal preference or state, drafts AGENTS.md and skill edits on a kit branch with one cost line per rule, and never pushes without the user's go.

★ 0
EPFL-ENAC
EPFL-ENAC/it4r-agent-kit

sync-agent-rules

Use when the user wants to install, vendor, update or re-sync the shared ENAC IT4R rules (it4r-agent-kit's AGENTS.md) in the current repo — "sync agent rules", "update the IT4R rules", "vendor the kit" — after a kit release, or when a repo has no IT4R rules file yet. Pins the copy to the kit's current main commit, wires CLAUDE.md and Copilot on first setup, and summarizes what changed upstream.

★ 0
EPFL-ENAC
EPFL-ENAC/it4r-agent-kit

review-copilot-comments

Fetch automated bot review comments (Copilot, github-actions, GitHub Advanced Security / CodeQL) for the current branch's PR, then produce a prioritized action checklist that filters out nitpicks and groups substantive feedback by file.

★ 0
EPFL-ENAC
EPFL-ENAC/it4r-agent-kit

it4r-conventions

Use when writing or reviewing code in an EPFL ENAC IT4R project — FastAPI + SQLModel + Alembic backends, Vue + Quasar + TypeScript frontends. Holds the team's architecture invariants (backend is source of truth, route → service → repo, no silent fallbacks, frontend never checks roles), style rules, performance budget, and plan/PR workflow.

★ 0
EPFL-ENAC
EPFL-ENAC/it4r-agent-kit

it4r-agent-kit

暂无简介

★ 0