Removing hooks, workflows, and tools from website#2292
Merged
Conversation
hooks, agentic workflows, and tools are removed - these are minimally used parts of the website
…in the rendered page
Contributor
🔒 PR Risk Scan ResultsScanned 11 changed file(s).
|
Contributor
There was a problem hiding this comment.
Pull request overview
Removes Hooks, Workflows, and Tools from the website while retaining repository resources, and exposes the Awesome Copilot MCP server through its plugin.
Changes:
- Removes website pages, scripts, navigation, and generated data.
- Updates related documentation and homepage links.
- Adds MCP server support to plugin detail pages.
Show a summary per file
| File | Description |
|---|---|
website/src/scripts/pages/workflows.ts |
Removes workflow listing behavior. |
website/src/scripts/pages/workflows-render.ts |
Removes workflow rendering helpers. |
website/src/scripts/pages/tools.ts |
Removes tools listing behavior. |
website/src/scripts/pages/tools-render.ts |
Removes tools rendering helpers. |
website/src/scripts/pages/hooks.ts |
Removes hook listing behavior. |
website/src/scripts/pages/hooks-render.ts |
Removes hook rendering helpers. |
website/src/pages/workflows.astro |
Removes the workflows listing route. |
website/src/pages/workflow/[id].astro |
Removes workflow detail routes. |
website/src/pages/tools.astro |
Removes the tools route. |
website/src/pages/index.astro |
Removes homepage resource cards. |
website/src/pages/hooks.astro |
Removes the hooks listing route. |
website/src/pages/hook/[id].astro |
Removes hook detail routes. |
website/src/content/docs/learning-hub/using-copilot-coding-agent.md |
Replaces a hook-directory reference. |
website/src/content/docs/learning-hub/automating-with-hooks.md |
Removes the hook-directory next step. |
website/src/content/docs/learning-hub/agentic-workflows.md |
Removes workflow-directory references. |
website/src/components/pages/IncludedItems.astro |
Adds MCP server grouping. |
website/astro.config.mjs |
Removes sidebar entries. |
README.md |
Removes resource rows and Tools section. |
plugins/awesome-copilot/.mcp.json |
Adds the Awesome Copilot MCP server. |
plugins/awesome-copilot/.github/plugin/plugin.json |
Registers the MCP configuration. |
eng/generate-website-data.mjs |
Stops generating removed resources and adds plugin MCP items. |
Review details
Comments suppressed due to low confidence (1)
website/src/pages/workflows.astro:1
- The accessibility audit still visits
/hooks/,/workflows/,/tools/, and representative hook/workflow detail routes (website/scripts/a11y-audit.mjs:31-45). Because the audit explicitly throws on any non-2xx response at lines 222-230, deleting these pages makesnpm run a11yfail on 404s. Remove all deleted listing and detail routes from the audit in the same change.
- Files reviewed: 21/21 changed files
- Comments generated: 5
- Review effort level: Medium
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4215785a-7e6e-49c5-abaa-c39b0793a11e
Contributor
There was a problem hiding this comment.
Review details
Comments suppressed due to low confidence (1)
website/src/pages/workflows.astro:1
- Deleting these routes leaves the accessibility audit targeting five pages that now return 404:
website/scripts/a11y-audit.mjs:31-45still includes the hooks, workflows, and tools listings plus both removed detail routes.auditSiteexplicitly throws on non-2xx responses, sonpm run website:a11ywill now fail before running axe. Remove all retired routes from the audit list or replace them with live representative routes.
- Files reviewed: 22/22 changed files
- Comments generated: 1
- Review effort level: Medium
Comment on lines
1358
to
1363
| function generateSearchIndex( | ||
| agents, | ||
| instructions, | ||
| hooks, | ||
| workflows, | ||
| skills, | ||
| plugins | ||
| ) { |
Comment on lines
+627
to
+632
| try { | ||
| const mcpJson = JSON.parse(fs.readFileSync(mcpJsonPath, "utf-8")); | ||
| mcpServersObj = mcpJson.mcpServers || mcpJson; | ||
| } catch { | ||
| // ignore parse errors | ||
| } |
Comment on lines
+6
to
+11
| "args": [ | ||
| "run", | ||
| "-i", | ||
| "--rm", | ||
| "ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:latest" | ||
| ] |
Comment on lines
+14
to
+16
| - [Docker](https://www.docker.com/) must be installed and available on your `PATH`. | ||
| - The plugin starts its bundled MCP server by running `docker run ... ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:latest`. | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.mainbranch for this pull request.Description
Hooks, Workflows, and Tools are not a very used part of the Awesome Copilot website, and they also represent some rather small part of something you can do with Copilot. In an effort to declutter the website and help people find the more useful things they can do, we're removing them from the website. For the time being, they'll continue to exist within the repo.
This PR also wires the
awesome-copilotplugin to a bundled runtime MCP server (plugins/awesome-copilot/.mcp.json) so users can keep discovering curated assets directly from Copilot even as website sections are removed.Type of Contribution
Additional Notes
Validation run for the MCP/plugin change:
npm run plugin:validate(passes, includesawesome-copilotplugin validation)By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.