18 Commits

Author SHA1 Message Date
laguagu 7de6d24d8e Stop private skills leaking into public files, and fix e2e-tester
`skills/` is a junction to a local collection larger than the public set, so a
private skill is on disk while writing and gone for anyone who clones. That
makes the mistake invisible to review: the file reads correctly here. It had
already happened twice.

`agents/e2e-tester.md` sent design critique to `/go-ui` four times — in the
frontmatter `description`, in the core principles, in the reporting section and
in the out-of-scope list. `go-ui` is gitignored as personal tooling, so every
one of those was a dead pointer for a cloner, and the first is the routing key
the user reads before invoking the agent. The scope boundary was the actual
content, so it stays and the pointer goes: design critique is now stated as a
separate pass this agent reports to rather than a skill it names.

`scripts/check-private-skill-refs.sh` reads the private set from .gitignore —
un-ignoring a skill is all it takes to make references to it legal again — and
flags three forms: `name`, /name, and a bare YAML list item, which is how agent
frontmatter declares a skill and carries no punctuation to grep for. Prose
naming a skill as the contents of *another* repo is deliberately not matched;
README's "See Also" line does exactly that and is correct.

Two things learned while building it, both encoded in the script:

- A per-file grep loop is one fork per tracked file, and under Git Bash on
  Windows that hits the MSYS fork limit — the hook printed "Resource
  temporarily unavailable" instead of a verdict. It is one grep over the whole
  file list now.
- Scanning only `skills/*.md` is too narrow. That is how e2e-tester went
  unnoticed: the agent files ship too.

Verified by committing a deliberate `/go-ui` reference and confirming the hook
refused it, then reverting.

Enable per clone with `git config core.hooksPath .githooks`; README says so.
2026-08-23 18:14:26 +03:00
laguagu b9f95e7b8a agents: drop nextjs-reviewer, narrow e2e-tester to regression testing
nextjs-reviewer duplicated the next-best-practices, react-best-practices
and cache-components skills, which trigger on their own. Its remaining
unique content (page.tsx composition, /ai and /data folders, route
groups, CSS-variable styling) is already covered verbatim by
nextjs-shadcn and its references, so nothing needed migrating.

e2e-tester overlapped go-ui on UI/UX critique and responsiveness. Those
two sections are replaced by a pointer to go-ui, leaving the agent a
single job: exercise flows, catch regressions, fix verified defects.
Also back-ports the chrome-devtools tool-selection line that had only
landed in the mirrors.
2026-07-27 14:49:21 +03:00
laguagu e19e8b0bb8 Change e2e-tester agent model from sonnet to opus 2026-05-31 16:29:20 +03:00
laguagu d7aa737e3e Add chrome-devtools skill and reference it from go and e2e-tester
- New skills/chrome-devtools/ skill (adapted from addyosmani/agent-skills,
  attributed in README Based On)
- skills/go: mention chrome-devtools MCP as a tool option
- agents/e2e-tester: add live browser introspection tier to Tool Selection
- README: list chrome-devtools under UI & Design and in MCP Servers section
2026-05-06 18:20:44 +03:00
laguagu 81ec0f3300 agents: tighten scope phrasing + add reporting-recall guidance for Opus 4.7 2026-04-26 14:30:27 +03:00
laguagu a3b51c6f0b e2e-tester: drop subjective recommendation lines 2026-04-26 14:16:14 +03:00
laguagu d3d1d399b4 Refine e2e tester guidance 2026-04-19 17:10:16 +03:00
laguagu e6cd50655c Refine agent definitions for clarity and accuracy 2026-04-17 12:56:15 +03:00
laguagu 541317488d feat: update react-best-practices skill from vercel-labs/agent-skills
- Rename vercel-react-best-practices -> react-best-practices (remove vendor prefix)
- Update SKILL.md and AGENTS.md with latest content (45 -> 65 rules)
- Add 15 new rule files: advanced-init-once, js-flatmap-filter,
  js-request-idle-callback, rendering-hydration-suppress-warning,
  rendering-resource-hints, rendering-script-defer-async,
  rendering-usetransition-loading, rerender-derived-state-no-effect,
  rerender-move-effect-to-event, rerender-no-inline-components,
  rerender-split-combined-hooks, rerender-use-deferred-value,
  rerender-use-ref-transient-values, server-hoist-static-io,
  server-parallel-nested-fetching
- Update nextjs-reviewer agent to reference react-best-practices
2026-03-26 14:23:15 +02:00
laguagu 915659caf8 Update e2e agent 2026-03-13 08:24:45 +02:00
laguagu a270f55cd7 feat: add next-best-practices skill, web-design-guidelines skill, and e2e-tester agent
- Add next-best-practices skill (from vercel-labs/next-skills) with source attribution
- Add web-design-guidelines skill (from vercel-labs/agent-skills)
- Add e2e-tester agent with web-design-guidelines skill reference
- Update README with new skills, agent, and Based On table entries
2026-03-13 07:02:25 +02:00
laguagu 79b1e4f890 update the rules 2026-02-10 21:30:17 +02:00
laguagu 00175f3a4e Chore: Update caching rules 2026-01-31 13:22:03 +02:00
laguagu de16ee3766 update the agents 2026-01-31 13:16:42 +02:00
laguagu 5f88cbe678 Add and update agents 2026-01-31 12:57:44 +02:00
laguagu 83047ce4cc Add and update agents 2026-01-31 12:56:28 +02:00
laguagu d37e41c43f Add @/ import alias guidance to nextjs-reviewer and nextjs-shadcn
Recommend using @ alias instead of relative paths for cleaner imports.
2026-01-20 18:11:36 +02:00
laguagu b6ff877557 Add sub agents 2026-01-20 17:01:12 +02:00