Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- Publish the NJ Child Tax Credit increase calculator on /us/research with cover image and authorship
- Add the NICs exemption for recently-inactive employees dashboard at /uk/nics-exemption-inactive-employees
changed:
- Move the Claude plugin page to /:countryId/ai-agents (runtime-agnostic — the skills catalog serves Claude Code and Codex) with a permanent redirect from /:countryId/claude-plugin; refresh the hero eyebrow and add the Codex install path
- Correct the Claude plugin page stats (they were frozen at 24 skills / 21 agents / 4 commands / 7 bundles) and read them from a checked-in pluginStats.json regenerated from policyengine-skills, so the page tracks the rebuilt catalog
- Move the bill tracker to /us/bill-tracker (canonical URL); /us/state-legislative-tracker now permanently redirects there
- Stop mirroring policy, household, and region writes to the deprecated API v2 alpha service; the app now uses the v1 API exclusively
Expand Down
6 changes: 6 additions & 0 deletions website/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ const nextConfig: NextConfig = {
destination: "/us",
permanent: false,
},
// Claude-branded skills page → runtime-agnostic AI agents page
{
source: "/:countryId/claude-plugin",
destination: "/:countryId/ai-agents",
permanent: true,
},
// Legacy /blog → /research
{
source: "/:countryId/blog/:slug",
Expand Down
2 changes: 1 addition & 1 deletion website/src/__tests__/pages/static-pages.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import DonatePage from "../../app/[countryId]/donate/page";
import PrivacyPage from "../../app/[countryId]/privacy/page";
import TermsPage from "../../app/[countryId]/terms/page";
import ResearchPage from "../../app/[countryId]/research/page";
import ClaudePluginPage from "../../app/[countryId]/claude-plugin/page";
import ClaudePluginPage from "../../app/[countryId]/ai-agents/page";

describe("static pages", () => {
test("Donate page renders heading", async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ export default function ClaudePluginClient({
marginBottom: 20,
}}
>
Claude Code Plugin
AI agent skills
</span>
</FadeInSection>

Expand Down Expand Up @@ -572,6 +572,12 @@ export default function ClaudePluginClient({
text="claude plugins add PolicyEngine/policyengine-claude"
/>
<div style={{ marginTop: 6 }} />
<div style={{ marginTop: 6 }} />
<TerminalLine
type="comment"
text="# (Codex: see install_codex.sh in PolicyEngine/policyengine-skills)"
/>
<div style={{ marginTop: 6 }} />
<TerminalLine type="comment" text="# 3. Analyze" />
<TerminalLine type="prompt" text={heroPrompt} />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Metadata } from "next";
import ClaudePluginClient from "./ClaudePluginClient";

export const metadata: Metadata = {
title: "Claude plugin",
title: "AI agent skills",
description: "AI-powered policy analysis with Claude Code and PolicyEngine.",
};

Expand Down
8 changes: 1 addition & 7 deletions website/src/app/sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,7 @@ export default function sitemap(): MetadataRoute.Sitemap {
}

// Static pages
const staticPages = [
"research",
"team",
"donate",
"supporters",
"claude-plugin",
];
const staticPages = ["research", "team", "donate", "supporters", "ai-agents"];
for (const country of ["us", "uk"]) {
for (const page of staticPages) {
entries.push({
Expand Down
Loading