Skip to content

Website: remove prompts, add workflows page, fix TypeScript config#812

Merged
aaronpowell merged 8 commits intostagedfrom
website-update
Feb 25, 2026
Merged

Website: remove prompts, add workflows page, fix TypeScript config#812
aaronpowell merged 8 commits intostagedfrom
website-update

Conversation

@aaronpowell
Copy link
Contributor

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

  • Delete prompts.astro page and prompts.ts script
  • Remove prompts nav link, homepage card, and all type references
  • Update description text across BaseLayout, index, llms.txt, plugins, modal, and utils

Add TypeScript config for Astro website

  • Add tsconfig.json extending astro/tsconfigs/base
  • Add env.d.ts with Astro client type references
  • Resolves import.meta.env type errors

Add agentic workflows page

  • New /workflows/ page with search, trigger/tag filters, and sorting
  • Workflows nav link in site header
  • Workflows card with count on homepage
  • Workflow type support in utils.ts (icons, labels, getResourceType)
  • Data already generated via eng/generate-website-data.mjs

Fix type-only imports for SearchItem

  • Use type modifier on SearchItem imports across all page scripts
  • Required by verbatimModuleSyntax in the new tsconfig — esbuild was stripping the interface export but leaving the value import, causing a runtime error

Testing

  • Website builds successfully (npx astro build — 9 pages)
  • Verified workflows page renders with data in dev server
  • Homepage displays workflows card with correct count
  • No TypeScript diagnostics

aaronpowell and others added 4 commits February 25, 2026 15:54
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>
Copilot AI review requested due to automatic review settings February 25, 2026 05:14
Copy link
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

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.json and src/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.

aaronpowell and others added 4 commits February 25, 2026 16:23
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>
@aaronpowell aaronpowell merged commit 14cd2ba into staged Feb 25, 2026
3 checks passed
@aaronpowell aaronpowell deleted the website-update branch February 25, 2026 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants