Website: remove prompts, add workflows page, fix TypeScript config#812
Merged
aaronpowell merged 8 commits intostagedfrom Feb 25, 2026
Merged
Website: remove prompts, add workflows page, fix TypeScript config#812aaronpowell merged 8 commits intostagedfrom
aaronpowell merged 8 commits intostagedfrom
Conversation
Remove the prompts page, navigation link, homepage card, and all references to prompts across the website source code. The repo no longer contains prompt files, so the website should not reference them. Files removed: - website/src/pages/prompts.astro - website/src/scripts/pages/prompts.ts Files updated: - BaseLayout.astro: remove nav link and update description - index.astro: remove prompts card and update text - llms.txt.ts: remove prompts import and section - plugins.astro: update description text - utils.ts: remove prompt type from install config, icons, labels - pages/index.ts: remove prompts from counts - modal.ts: update JSDoc comment Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add tsconfig.json extending astro/tsconfigs/base and env.d.ts with Astro client type references to resolve import.meta.env type errors. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add a new /workflows/ page for browsing agentic workflow definitions with search, trigger/tag filters, and sorting. Follows the same patterns as the existing hooks page. New files: - website/src/pages/workflows.astro - website/src/scripts/pages/workflows.ts Updated files: - BaseLayout.astro: add Workflows nav link - index.astro: add Workflows card to homepage - pages/index.ts: add workflows to counts - utils.ts: add workflow type to icons, labels, and getResourceType Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use 'type' modifier on SearchItem imports to satisfy verbatimModuleSyntax. Without this, esbuild strips the interface export but leaves the value import, causing a runtime error. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Astro website to reflect the repo’s removal of prompts while adding first-class UI support for the new workflows/ content type, and tightening TypeScript configuration.
Changes:
- Remove prompts from navigation/UI and delete the prompts page implementation.
- Add a new Workflows page (search + trigger/tag filters + sorting) and wire workflow type support into shared utilities.
- Add
website/tsconfig.jsonandsrc/env.d.ts, plus fix type-only imports to satisfy stricter TS module settings.
Reviewed changes
Copilot reviewed 16 out of 17 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| website/tsconfig.json | Adds an Astro base tsconfig to resolve TS config/env typing issues. |
| website/src/env.d.ts | Adds Astro client type references for proper TS env typing. |
| website/src/scripts/utils.ts | Removes prompt install config; adds workflow type detection/labels/icons. |
| website/src/scripts/pages/workflows.ts | New workflows listing page logic (search/filter/sort + modal integration). |
| website/src/pages/workflows.astro | New /workflows/ page template and wiring to workflows page script. |
| website/src/layouts/BaseLayout.astro | Removes prompts nav link; adds workflows nav link; updates default description. |
| website/src/pages/index.astro | Removes prompts card; adds workflows card; updates homepage copy. |
| website/src/scripts/pages/index.ts | Updates manifest count keys and types to include workflows (remove prompts). |
| website/src/pages/llms.txt.ts | Removes prompts from llms.txt generation output and copy. |
| website/src/pages/plugins.astro | Updates plugins page copy to remove prompts mention. |
| website/src/scripts/modal.ts | Updates modal JSDoc wording to remove prompts mention. |
| website/src/scripts/pages/agents.ts | Makes SearchItem import type-only (TS module syntax compatibility). |
| website/src/scripts/pages/hooks.ts | Makes SearchItem import type-only (TS module syntax compatibility). |
| website/src/scripts/pages/instructions.ts | Makes SearchItem import type-only (TS module syntax compatibility). |
| website/src/scripts/pages/plugins.ts | Makes SearchItem import type-only (TS module syntax compatibility). |
| website/src/scripts/pages/skills.ts | Makes SearchItem import type-only (TS module syntax compatibility). |
| website/src/scripts/pages/prompts.ts | Removes the prompts page script implementation. |
Update parseWorkflowMetadata to extract triggers from the 'on' property keys (e.g. schedule, issue_comment) instead of a separate 'triggers' field. Remove tags support from workflows since workflows don't use tags. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Summary
Update the website to reflect recent repo changes: remove prompts (no longer in the repo) and add support for agentic workflows.
Changes
Remove prompts from website
prompts.astropage andprompts.tsscriptBaseLayout,index,llms.txt,plugins,modal, andutilsAdd TypeScript config for Astro website
tsconfig.jsonextendingastro/tsconfigs/baseenv.d.tswith Astro client type referencesimport.meta.envtype errorsAdd agentic workflows page
/workflows/page with search, trigger/tag filters, and sortingutils.ts(icons, labels,getResourceType)eng/generate-website-data.mjsFix type-only imports for SearchItem
typemodifier onSearchItemimports across all page scriptsverbatimModuleSyntaxin the new tsconfig — esbuild was stripping the interface export but leaving the value import, causing a runtime errorTesting
npx astro build— 9 pages)