fix(frontend): remove remaining fake API references#38
Merged
Conversation
The site prominently featured 7 non-existent /api/v1/... endpoints with curl examples and fetch code that all returned 404s. Replace with real access methods: skills.sh CLI, llms.txt, and raw GitHub URLs. - Remove API_ENDPOINTS constant and entire API tab (~250 lines) - Replace "Your Agent / REST API" framework with "skills.sh / npx skills add" - Update hero, how-it-works, and CTA copy to reference real access methods - Remove unused .api-info-grid and .api-endpoint-card CSS rules - Replace planned REST API section in README with skills.sh CLI entry
Resolve merge conflicts with Astro migration (PR #39) and apply the fake API removal to the new Astro codebase: - Delete ApiTab component and /api/ page entirely - Remove API_ENDPOINTS constant and API tab from navigation - Replace "Your Agent / REST API" framework with "skills.sh / npx skills add" - Update hero, how-it-works terminal example, and CTA to reference real access methods (llms.txt, raw GitHub URLs, skills.sh CLI) - Update footer copy - Keep both README additions (skill page URLs from Astro + CLI row)
6 tasks
Resolve conflicts with PRs #40-#42 on main: - Accept the new "access" tab with real endpoints (llms.txt, raw GitHub, etc.) - Accept accessibility improvements (aria-labels, contrast fixes) - Replace "Your Agent / curl + paste" with "skills.sh / npx skills add" in the framework grid (the access page covers generic curl usage)
JoshDFN
approved these changes
Feb 27, 2026
Collaborator
JoshDFN
left a comment
There was a problem hiding this comment.
Clean changes, removes all remaining fake API references. Nice addition of skills.sh throughout.
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
PR #41 replaced the fake API on the
/accesspage with real endpoints, but fake API references remained elsewhere. This PR cleans up the remaining ones:fetch("/api/v1/skills/ckbtc")terminal example with real shell commands (curl,npx skills add). Updated step descriptions and CTA.npx skills add dfinity/icskills.npx skills add dfinity/icskills) to Programmatic Access table..api-info-gridand.api-endpoint-cardrules.