Skip to content

docs(agents): centralize workflow guidance in skills#1051

Merged
fi3ework merged 2 commits intomainfrom
docs/agent-skills-guides
Mar 12, 2026
Merged

docs(agents): centralize workflow guidance in skills#1051
fi3ework merged 2 commits intomainfrom
docs/agent-skills-guides

Conversation

@fi3ework
Copy link
Copy Markdown
Member

@fi3ework fi3ework commented Mar 12, 2026

Summary

Background

The repository's agent instructions had workflow steps duplicated across package guides, which made command guidance harder to maintain and left PR/test workflows split across multiple docs.

Implementation

human input:

  1. simplified AGENTS.md, only reserve knowledge, moved action related content to skilled
  2. remove duplicated contents from AGENTS.md
  3. add basic skills, with minimal action goals, try to give the agent only simple goals, because the agent has already mastered this public knowledge well.

User Impact

Contributors and coding agents get more consistent instructions with less duplicated maintenance.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Centralizes duplicated monorepo workflow guidance into reusable agent “skills”, while simplifying per-package AGENTS.md files and tightening E2E testing instructions.

Changes:

  • Removed duplicated workflow/safety/testing guidance from multiple package AGENTS.md files and referenced shared skills instead
  • Added .agents/skills/ docs for PR creation, testing workflow, and TypeScript review guardrails
  • Updated documentation and diagrams (notably E2E instructions and Mermaid identifier escaping)

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
packages/vscode/AGENTS.md Removes duplicated workflow/testing/safety guidance from VS Code extension agent doc
packages/coverage-istanbul/AGENTS.md Removes duplicated dependency/safety/stuck guidance while keeping package “key files”
packages/core/AGENTS.md Removes large sections (incl. key files/testing notes) as part of centralization effort
packages/browser/src/client/AGENTS.md Fixes Mermaid diagram identifier escaping for __*__ globals
packages/browser/src/AGENTS.md Fixes Mermaid diagram identifier escaping for dispatch globals
packages/browser/AGENTS.md Fixes Mermaid diagram identifier escaping for dispatch globals
packages/browser-ui/AGENTS.md Compresses UI workflow guidance into shorter, more scannable bullets; removes safety/stuck sections
packages/browser-react/AGENTS.md Removes file-scoped command tips and detailed exports/type documentation
packages/adapter-rslib/AGENTS.md Removes usage/API/key-files/safety sections, leaving minimal guidance
packages/adapter-rsbuild/AGENTS.md Adds new minimal adapter agent doc with module structure and commands
e2e/AGENTS.md Deletes E2E agent doc (guidance moved elsewhere)
CONTRIBUTING.md Updates headed browser E2E instructions to run from e2e/ via pnpm test
AGENTS.md Simplifies root agent doc and introduces the “Skills” table referencing .agents/skills/
.agents/skills/typescript/SKILL.md Adds TypeScript review/writing guardrails (“anti-slop”)
.agents/skills/testing/SKILL.md Adds centralized testing workflow for unit/package/E2E runs
.agents/skills/pr/SKILL.md Adds PR creation workflow guidance (branching, validation, gh usage)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@fi3ework fi3ework merged commit 0bbba35 into main Mar 12, 2026
10 checks passed
@fi3ework fi3ework deleted the docs/agent-skills-guides branch March 12, 2026 11:44
@9aoy 9aoy mentioned this pull request Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants