René's URL Explorer Experiment


Title: chore(content): add check:library-content audit for content posts by waleedlatif1 · Pull Request #8526 · simstudioai/sim · GitHub

Open Graph Title: chore(content): add check:library-content audit for content posts by waleedlatif1 · Pull Request #8526 · simstudioai/sim

X Title: chore(content): add check:library-content audit for content posts by waleedlatif1 · Pull Request #8526 · simstudioai/sim

Description: Summary Adds check:library-content (scripts/check-library-content.ts), picked up automatically by bun run check:audits. It validates every apps/sim/content/{blog,library,customers}//index.mdx, or a single post with --slug

/ / --slug / a bare for local agent runs. Each rule is exact, so nothing needs an override: frontmatter: gray-matter parses it and it passes the real strict ContentFrontmatterSchema (imported, not duplicated), so canonical and other unknown keys fail; every author id has a profile in content/authors. slug: slug equals the folder name. og-image: ogImage is a local path to a file under apps/sim/public. mdx: the body compiles with @mdx-js/mdx + remark-gfm (the compiler next-mdx-remote runs for the registry). The error line maps back to the line in the file. faq: no FAQ/FAQs heading in the body, and no Markdown link syntax inside a frontmatter FAQ question or answer (it renders as literal text). internal-link: every https://www.sim.ai/
/ link, and every relative /
/ link target, resolves to an existing post folder. A retired library slug fails and names the surviving slug; a blog slug that moved to /library fails and names its new path. Asset paths (/library//cover.jpg), static sub-routes (tags, authors, rss.xml, read from the app router tree), and fenced code are skipped. Apex https://sim.ai links stay with check:site-urls. On a full run, it also checks that every LIBRARY_MERGED_SLUGS target still exists. Moves LIBRARY_MOVED_BLOG_SLUGS and LIBRARY_MERGED_SLUGS from next.config.ts into apps/sim/lib/library/retired-slugs.ts, so the redirects and the audit read the same map. Fixes the only findings on current content: two FAQ answers in library/ai-agent-vs-chatbot showed [Sim](...) and [Chat interface](...) as literal Markdown. They now use plain text. Adds @mdx-js/mdx@3.1.1 to the root devDependencies. It is the version already in the lockfile, so the script no longer depends on a hoisted transitive package. Type of Change Bug fix New feature Breaking change Documentation Other: CI audit Testing bun run check:library-content passes on 80 posts in about 1s, and about 328 internal post links are validated. scripts/check-library-content.test.ts writes fixture posts to a temp dir and covers one failure mode per rule, with exact file lines. I removed each guard in turn (12 mutations) and every one turned the suite red. I copied a real post into the tree and corrupted it (canonical key, slug mismatch, missing ogImage, FAQ link, ## FAQ heading, retired/moved/typo links, an unclosed tag). The CLI reported all 9 problems with file:line and a fix hint, then the copy was removed. bun run lint, bun run check:audits (54 audits), and apps/sim bun run type-check all pass. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) 🤖 Generated with Claude Code

Open Graph Description: Summary Adds check:library-content (scripts/check-library-content.ts), picked up automatically by bun run check:audits. It validates every apps/sim/content/{blog,library,customers}/<slug>/in...

X Description: Summary Adds check:library-content (scripts/check-library-content.ts), picked up automatically by bun run check:audits. It validates every apps/sim/content/{blog,library,customers}/&lt;slug&am...

Opengraph URL: https://github.com/simstudioai/sim/pull/8526

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1a32a135-0921-716b-5464-8d539d9abac8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD792:15DF38:B1AC88:F2614A:6AFB50BE
html-safe-nonce787918e691e88cd3d2d870d6fcfff69b8cd4594b82f5bcb45a52f7f7d62e8b56
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzkyOjE1REYzODpCMUFDODg6RjI2MTRBOjZBRkI1MEJFIiwidmlzaXRvcl9pZCI6IjgwMjUxMjc0NDQ5NzUxNDUxNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbc6ac81e0b9fe576bd00bb97f706c74714810b2d1c3313fe24d59df076b27907
hovercard-subject-tagpull_request:4707511233
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/8526/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Adds check:library-content (scripts/check-library-content.ts), picked up automatically by bun run check:audits. It validates every apps/sim/content/{blog,library,customers}/<slug>/in...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/8526/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8526%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8526%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/8526/files
Reloadhttps://github.com/simstudioai/sim/pull/8526/files
Reloadhttps://github.com/simstudioai/sim/pull/8526/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
chore/library-content-checkhttps://github.com/simstudioai/sim/tree/chore/library-content-check
Conversation 20 https://github.com/simstudioai/sim/pull/8526
Commits 2 https://github.com/simstudioai/sim/pull/8526/commits
Checks 39 https://github.com/simstudioai/sim/pull/8526/checks
Files changed https://github.com/simstudioai/sim/pull/8526/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8526/files
chore(content): add check:library-content audit for content posts https://github.com/simstudioai/sim/pull/8526/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/8526/files
3a39bb7 chore(content): add check:library-content audit for blog, library, an… waleedlatif1 Oct 1, 2026 https://github.com/simstudioai/sim/pull/8526/commits/3a39bb7697d756bab55bdd7e98b282bf9c196ecb
c632938 fix(content): tighten check:library-content link, author, and ogImage… waleedlatif1 Oct 1, 2026 https://github.com/simstudioai/sim/pull/8526/commits/c632938d927b5284d63cf44f486e160527d560e0
Clear filters https://github.com/simstudioai/sim/pull/8526/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8526/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8526/files
index.mdx https://github.com/simstudioai/sim/pull/8526/files#diff-059439fa9591b5c0c75721e4c68ba364b7159c06db0cdda74e1a65810a4a5e17
retired-slugs.ts https://github.com/simstudioai/sim/pull/8526/files#diff-57a856de37fe2596b33af10a6441108f76fe8e83213903ed31a24e19f48ae436
next.config.ts https://github.com/simstudioai/sim/pull/8526/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
bun.lock https://github.com/simstudioai/sim/pull/8526/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
package.json https://github.com/simstudioai/sim/pull/8526/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
check-library-content.test.ts https://github.com/simstudioai/sim/pull/8526/files#diff-57d2995c8c22bfde50b206b12ed19469a073fa6b562483379578410a88eb6d37
check-library-content.ts https://github.com/simstudioai/sim/pull/8526/files#diff-29a1721c07464d25f6b70bfb6313ad4b1a13003ec1c0e3fd51d539beea3da61b
apps/sim/content/library/ai-agent-vs-chatbot/index.mdxhttps://github.com/simstudioai/sim/pull/8526/files#diff-059439fa9591b5c0c75721e4c68ba364b7159c06db0cdda74e1a65810a4a5e17
View file https://github.com/simstudioai/sim/blob/c632938d927b5284d63cf44f486e160527d560e0/apps/sim/content/library/ai-agent-vs-chatbot/index.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8526/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8526/files#diff-059439fa9591b5c0c75721e4c68ba364b7159c06db0cdda74e1a65810a4a5e17
https://github.com/simstudioai/sim/pull/8526/files#diff-059439fa9591b5c0c75721e4c68ba364b7159c06db0cdda74e1a65810a4a5e17
apps/sim/lib/library/retired-slugs.tshttps://github.com/simstudioai/sim/pull/8526/files#diff-57a856de37fe2596b33af10a6441108f76fe8e83213903ed31a24e19f48ae436
View file https://github.com/simstudioai/sim/blob/c632938d927b5284d63cf44f486e160527d560e0/apps/sim/lib/library/retired-slugs.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8526/{{ revealButtonHref }}
apps/sim/next.config.tshttps://github.com/simstudioai/sim/pull/8526/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
View file https://github.com/simstudioai/sim/blob/c632938d927b5284d63cf44f486e160527d560e0/apps/sim/next.config.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8526/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8526/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
https://github.com/simstudioai/sim/pull/8526/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L38
bun.lockhttps://github.com/simstudioai/sim/pull/8526/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
View file https://github.com/simstudioai/sim/blob/c632938d927b5284d63cf44f486e160527d560e0/bun.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/simstudioai/sim/pull/8526/files
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L36
package.jsonhttps://github.com/simstudioai/sim/pull/8526/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
View file https://github.com/simstudioai/sim/blob/c632938d927b5284d63cf44f486e160527d560e0/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8526/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8526/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/simstudioai/sim/pull/8526/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/simstudioai/sim/pull/8526/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/simstudioai/sim/pull/8526/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
Please reload this pagehttps://github.com/simstudioai/sim/pull/8526/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8526/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.