diff --git a/changelog_entry.yaml b/changelog_entry.yaml index 89996d811..ffa5821d1 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -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 diff --git a/website/next.config.ts b/website/next.config.ts index bb38d560f..84f57e55e 100644 --- a/website/next.config.ts +++ b/website/next.config.ts @@ -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", diff --git a/website/src/__tests__/pages/static-pages.test.tsx b/website/src/__tests__/pages/static-pages.test.tsx index 2b97b5d48..8cbcf4c10 100644 --- a/website/src/__tests__/pages/static-pages.test.tsx +++ b/website/src/__tests__/pages/static-pages.test.tsx @@ -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 () => { diff --git a/website/src/app/[countryId]/claude-plugin/ClaudePluginClient.tsx b/website/src/app/[countryId]/ai-agents/ClaudePluginClient.tsx similarity index 99% rename from website/src/app/[countryId]/claude-plugin/ClaudePluginClient.tsx rename to website/src/app/[countryId]/ai-agents/ClaudePluginClient.tsx index 30dc4eccf..5e3e6dece 100644 --- a/website/src/app/[countryId]/claude-plugin/ClaudePluginClient.tsx +++ b/website/src/app/[countryId]/ai-agents/ClaudePluginClient.tsx @@ -467,7 +467,7 @@ export default function ClaudePluginClient({ marginBottom: 20, }} > - Claude Code Plugin + AI agent skills @@ -572,6 +572,12 @@ export default function ClaudePluginClient({ text="claude plugins add PolicyEngine/policyengine-claude" />
+
+ +
diff --git a/website/src/app/[countryId]/claude-plugin/page.tsx b/website/src/app/[countryId]/ai-agents/page.tsx similarity index 93% rename from website/src/app/[countryId]/claude-plugin/page.tsx rename to website/src/app/[countryId]/ai-agents/page.tsx index 49e283371..90efbc1ea 100644 --- a/website/src/app/[countryId]/claude-plugin/page.tsx +++ b/website/src/app/[countryId]/ai-agents/page.tsx @@ -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.", }; diff --git a/website/src/app/[countryId]/claude-plugin/pluginStats.json b/website/src/app/[countryId]/ai-agents/pluginStats.json similarity index 100% rename from website/src/app/[countryId]/claude-plugin/pluginStats.json rename to website/src/app/[countryId]/ai-agents/pluginStats.json diff --git a/website/src/app/sitemap.ts b/website/src/app/sitemap.ts index 031147601..9d3059854 100644 --- a/website/src/app/sitemap.ts +++ b/website/src/app/sitemap.ts @@ -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({