Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Pull Request Review: Integrate @sailkit/atlas magic linksOverviewThis PR integrates the 🔴 Critical Issues1. Binary Files Committed (.DS_Store)Files: ❌ Issue: macOS system files should not be committed to the repository. Fix:
2. Package Name MismatchFile: ❌ Issue: Import statement uses Risk: This could break on fresh installs if the postinstall script fails or if the symlink structure changes. Recommendation:
|
7ecd6f3 to
353ea17
Compare
PR Review: Integrate @sailkit/atlas magic linksSummaryThis PR migrates from a custom magic links implementation to @bearing-dev/atlas. Overall, the integration looks clean and simplifies the codebase significantly. Code Quality & Best PracticesStrengths
Issues Found1. Package Name Mismatch (High Priority)astro.config.mjs imports from '@bearing-dev/atlas' but SKILL.md documents '@sailkit/atlas'. Please update SKILL.md to match the actual implementation. 2. URL Builder Hardcoded PathThe urlBuilder is hardcoded to /concepts/ but the repo has multiple collection types. How will magic links work for non-concept pages? Consider documenting cross-collection link syntax. Performance
Security
Test Coverage (Critical Issue)The PR shows incomplete manual testing. Recommendations:
Must Fix Before Merge
Overall AssessmentCode Quality: 7/10 The concept is solid but needs test coverage and documentation fixes before merge. |
199820c to
80c59c9
Compare
Adds Wikipedia-style magic links for cross-referencing content. - Update postinstall to properly build sailkit workspaces - Add build-link-targets.ts to extract link targets from content - Configure astro.config.mjs with remarkMagicLinks plugin Usage in markdown: - [:slug] - link to content by slug - [:slug1|:slug2] - fallback IDs - [[slug]] - wiki-style links - [[slug|Custom Text]] - with display text Depends on: sailkit#7 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Create slug-resolver.ts for global slug lookup - Throws on ambiguous slugs, requires collection prefix - Convert all manual markdown links to [[wiki]] syntax - Fix Layout.astro imports to use @bearing-dev/* 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Import createSlugResolver from atlas/node instead of local utility. Simplifies site code by moving slug resolution into the library. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
d8cd8f5 to
90791a9
Compare
Restored explicit display text for hyphenated slugs where the original markdown had human-readable titles (e.g., "Agent loops" instead of "agent-loops", "context collapse" instead of "context-collapse"). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary
Usage
In any markdown content:
Dependencies
Test plan
🤖 Generated with Claude Code