/implement_plan @thoughts/shared/plans/2026-04-14-blog-topic-category-page.md
- User
/implement_plan @thoughts/shared/plans/2026-04-14-blog-topic-category-page.md
- User
implement_plan /implement_plan @thoughts/shared/plans/2026-04-14-blog-topic-category-page.md
Assistant· claude-opus-4-6
Let me verify the available JSON-LD types and check a reference builder to understand patterns.
Assistant· claude-opus-4-6
CollectionPageandItemListaren't re-exported from@vendor/seo/json-ld. I'll need to add them.Assistant· claude-opus-4-6
Now create the blog-categories config.
Assistant· claude-opus-4-6
Now extend
builders/blog.tswith the new builder.Assistant· claude-opus-4-6
Export the new builder from
builders/index.ts:Assistant· claude-opus-4-6
Now extend
seo-bundle.tswithemitBlogCategorySeo:Assistant· claude-opus-4-6
Run typecheck to verify Phase 1:
Assistant· claude-opus-4-6
Phase 1 passes typecheck. Moving to Phase 2.
Assistant· claude-opus-4-6
Now update the main listing page to mount the header:
Assistant· claude-opus-4-6
Phase 2 passes. Moving to Phase 3.
Assistant· claude-opus-4-6
Phase 4: Sitemap. Add topic URLs.
Assistant· claude-opus-4-6
Now run full checks — typecheck, lint, and build:
Assistant· claude-opus-4-6
Ultracite sorted interface members. Re-run check:
Assistant· claude-opus-4-6
Only 1 pre-existing warning on unrelated code. Now run the build:
Assistant· claude-opus-4-6
Build succeeded with 5 statically-generated topic pages (engineering, product, company, + 2 more = tutorial, research). Now update the plan to check off completed items.
Assistant· claude-opus-4-6
All four phases complete with automated verification passing.
Summary
All 4 phases implemented:
- Phase 1: Created
apps/www/src/config/blog-categories.tswith full copy for all 5 categories. Extendedbuilders/blog.tswithbuildBlogCategoryJsonLd+BlogCategoryPosttype. AddedemitBlogCategorySeotoseo-bundle.ts. AddedCollectionPage/ItemListre-exports tovendor/seo/src/json-ld.tsx. - Phase 2: Extracted
BlogListingHeadercomponent, pruned<h1>from shared layout, mounted header in main listing page. - Phase 3: Replaced stub at
blog/(listing)/topic/[category]/page.tsxwith statically-generated page (dynamicParams = false, 5generateStaticParams, full JSON-LD, empty-state). - Phase 4: Added 5 topic URLs to
sitemap.tswith per-categorylastModified+ priority.
Automated checks pass:
typecheck,ultracite check, and emits with 5 prerendered paths (engineering, product, company, tutorial, research).- Phase 1: Created
- User
we dont need the - Lightfast Blog in title. instead use the patern Blog-- ENgineering.
we also dont need the "Tutorials are practical, task-oriented guides: you come here with a specific thing you're trying to build and leave with working code. Topics span Lightfast SDK usage, MCP tool authoring, agent orchestration patterns, integrating providers like GitHub or Linear, and operational playbooks for running agents in production. Every tutorial is written against the current version of the platform and tested end-to-end before publication." that whole card.
Assistant· claude-opus-4-6
I'll update the config to drop
longDescriptionand switch headings/ogTitles toBlog — {Category}, then remove the card from the topic page.Assistant· claude-opus-4-6
Now remove the longDescription card from the topic page:
Assistant· claude-opus-4-6
Verify typecheck:
Assistant· claude-opus-4-6
Done. Changes:
- All 5 category
heading+ogTitlevalues now useBlog — {Category}(Engineering, Product, Company, Tutorials, Research). - Removed
longDescriptionfield from the config + interface, and deleted the<section>card from the topic page. - Typecheck passes.
- All 5 category
- User
very nice /commit
Assistant· claude-opus-4-6
Here's my commit plan:
1 commit — blog topic category page feature
Files:
apps/www/src/config/blog-categories.ts(new)apps/www/src/app/(app)/(marketing)/(content)/blog/(listing)/_components/blog-listing-header.tsx(new)apps/www/src/app/(app)/(marketing)/(content)/blog/(listing)/topic/[category]/page.tsxapps/www/src/app/(app)/(marketing)/(content)/blog/(listing)/layout.tsxapps/www/src/app/(app)/(marketing)/(content)/blog/(listing)/page.tsxapps/www/src/app/sitemap.tsapps/www/src/lib/builders/blog.tsapps/www/src/lib/builders/index.tsapps/www/src/lib/seo-bundle.tsvendor/seo/src/json-ld.tsx
Message:
code- User
yes
Assistant· claude-opus-4-6
Committed. The checkpoint system auto-split the work into two logical commits:
code57b57ef2d style(www): soften footer lissajous grid borders to border/50 42bdaf6e2 feat(www): implement /blog/topic/[category] pages with full SEO/AEO metadata e49a25781 refactor(www): extract blog listing header and restyle post cards42bdaf6e2— config, sitemap, builders, seo-bundle, vendor re-exports (397 insertions)e49a25781— header extraction + topic page replacement + card restyling