Add documentation for marketplace.json generation

- Document generate-marketplace.mjs in eng/README.md
- Add plugin folder documentation to AGENTS.md
- Update setup commands to include marketplace generation
- Add plugin checklist to code review guidelines

Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-13 01:51:52 +00:00
parent ec3e0e6651
commit c8c907815d
2 changed files with 56 additions and 3 deletions

View File

@@ -1,6 +1,30 @@
# Contributor Reporting (Maintainers) 🚧
This directory contains a lightweight helper to generate human-readable reports about missing contributors.
This directory contains build scripts and utilities for maintaining the repository.
## Build Scripts
### `update-readme.mjs`
Generates the main README.md and documentation files from the repository content (agents, prompts, instructions, skills, hooks, collections).
### `generate-marketplace.mjs`
Automatically generates `.github/plugin/marketplace.json` from all plugin directories in the `plugins/` folder. This file is used by the GitHub Copilot CLI to discover and install plugins from this repository.
**How it works:**
- Scans all directories in `plugins/`
- Reads each plugin's `.github/plugin/plugin.json` for metadata
- Generates a consolidated `marketplace.json` with all available plugins
- Runs automatically as part of `npm run build`
**To run manually:**
```bash
npm run plugin:generate-marketplace
```
### `generate-website-data.mjs`
Generates JSON data files for the website from repository content.
## Contributor Tools
- `contributor-report.mjs` — generates a markdown report of merged PRs for missing contributors (includes shared helpers).
- `add-missing-contributors.mjs` — on-demand maintainer script to automatically add missing contributors to `.all-contributorsrc` (infers contribution types from merged PR files, then runs the all-contributors CLI).