Correct Claude plugin page stats and make them data-driven#1115
Merged
Conversation
The /:countryId/claude-plugin page hardcoded catalog stats frozen at 24 skills / 21 agents / 4 commands / 7 bundles while the actual policyengine-skills catalog had drifted far past them. Read the stats from a checked-in pluginStats.json (regenerated via scripts/export_site_stats.py in PolicyEngine/policyengine-skills, which documents the sync step in its CONTRIBUTING.md), update the demo terminal copy to reference the Populace dataset instead of the retired 2024 Enhanced CPS, and sync the superseded legacy Vite page literals. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…-skills) Co-Authored-By: Claude Fable 5 <noreply@anthropic.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.
What
policyengine.org/us/claude-plugindisplayed hardcoded catalog stats frozen at 24 skills / 21 agents / 4 commands / 7 bundles — the actual catalog had drifted to 53/47/24/9, and is now consolidated to 23/34/23/8 by the policyengine-skills rebuild (see the paired PR: PolicyEngine/policyengine-skills — "Rebuild the skills catalog from scratch").pluginStats.jsonnext to the page component, so updating them is a one-file data change. The skills repo gainedscripts/export_site_stats.py+ a CONTRIBUTING section documenting the sync step.app/src/pages/ClaudePlugins.page.tsx) got the same literals for parity, with a comment pointing at the canonical JSON.Verification
bunx tsc --noEmitinwebsite/passes (the JSON import compiles).Merge order note: numbers describe the rebuilt catalog, so land the policyengine-skills rebuild first (or together).
🤖 Generated with Claude Code