install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/add-case-study" ~/.claude/skills/majiayu000-claude-skill-registry-add-case-study && rm -rf "$T"
manifest:
skills/data/add-case-study/SKILL.mdsource content
Add Case Study Skill
When to Use
When user wants to add a new case study to the portfolio.
Prerequisites
- Case study content (problem, solution, results)
- At least one hero image
- Stats/metrics for the stats section
Steps
1. Create MDX File
Location:
src/content/caseStudies/{slug}.md
2. Required Frontmatter
--- title: "Short title for cards" pageTitle: "Full title shown on page" seoTitle: "SEO optimized title | Jitan Gupta" summary: "2-3 sentence summary for preview cards" description: "SEO description 150-160 chars" pubDate: "YYYY-MM-DD" heroImage: "/images/{image-name}.png" articleTag: "Category" stats: - percentage: "XX%" description: "What this metric means" keywords: "keyword1, keyword2, long-tail keyword" author: "Jitan Gupta" robots: "index, follow" ogType: "article" canonicalUrl: "https://jitangupta.com/case-studies/{slug}/" ---
3. Content Structure
- Use ## for main sections
- Use ### for subsections
- Include code blocks with language specifier
- Add images with descriptive alt text
4. Verify
npm run build # Check for TypeScript/content errors
5. Test Locally
npm run dev # Visit http://localhost:4321/case-studies/{slug}