Communitygithub.com

yashrajnayak/developer-portfolio-skill

Build and optionally publish a GitHub Pages developer portfolio and GitHub profile README from a user-uploaded LinkedIn profile PDF/export or pasted LinkedIn profile text. Use when the user asks to generate a portfolio website, profile README, GitHub Pages repo, or developer-portfolio config from LinkedIn data, especially when they mention LinkedIn PDF/export, GitHub CLI, gh auth, portfolio publishing, or the developer-portfolio template.

What is developer-portfolio-skill?

developer-portfolio-skill is a Claude Code agent skill that build and optionally publish a GitHub Pages developer portfolio and GitHub profile README from a user-uploaded LinkedIn profile PDF/export or pasted LinkedIn profile text. Use when the user asks to generate a portfolio website, profile README, GitHub Pages repo, or developer-portfolio config from LinkedIn data, especially when they mention LinkedIn PDF/export, GitHub CLI, gh auth, portfolio publishing, or the developer-portfolio template.

Works with~Claude Code~Codex CLI~Cursor
npx skills add yashrajnayak/developer-portfolio-skill

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Developer Portfolio Skill

Core Policy

Use the user's uploaded LinkedIn PDF/export or pasted profile text as the source of truth. Do not scrape LinkedIn or bypass LinkedIn authentication. If the user only gives a LinkedIn URL, ask them to upload the profile PDF/export or paste the profile text.

Before any GitHub write, check gh auth status and tell the user if gh auth login is needed. Prefer a reviewable draft before pushing unless the user explicitly asks for automatic publish.

Resolve script and reference paths relative to this skill directory. Do not copy local absolute filesystem paths into generated README files, portfolio config, or GitHub commits.

Workflow

  1. Collect inputs

    • LinkedIn PDF/export path, or pasted LinkedIn text.
    • GitHub username, or derive it from gh api user --jq .login if authenticated.
    • Optional target repo names. Defaults:
      • Portfolio: <github-username>.github.io
      • Profile README: <github-username>
    • Optional portfolio template source. Default: https://github.com/yashrajnayak/developer-portfolio.
  2. Extract profile text

    • For PDFs, run:
      python scripts/extract_linkedin_pdf.py \
        --input <linkedin.pdf> \
        --out <workspace>/linkedin-profile.txt
      
    • For pasted text, save it as linkedin-profile.txt.
  3. Normalize profile data

    • Read references/profile-schema.md.
    • Convert linkedin-profile.txt into normalized-profile.json.
    • Keep claims faithful to the source. Do not invent employers, dates, degrees, certifications, or metrics.
    • If GitHub username is known, include github_username.
    • If a portfolio base URL is known, include portfolio_url.
  4. Generate portfolio config

    • Run:
      python scripts/write_portfolio_config.py \
        --profile normalized-profile.json \
        --out config.json \
        --github-username <github-username> \
        --portfolio-url https://<github-username>.github.io
      
    • Copy the generated config.json into a cloned/forked developer-portfolio template repo.
    • Run the template repo's validation/build commands if available:
      npm run validate
      npm run build
      
  5. Generate profile README

    • Run:
      python scripts/write_profile_readme.py \
        --profile normalized-profile.json \
        --out README.md
      
    • This output is for the GitHub profile repo <github-username>/<github-username>.
  6. Publish with GitHub CLI

    • Read references/github-publish.md.
    • Check auth:
      gh auth status
      gh api user --jq .login
      
    • Before pushing, scan for local paths in generated portfolio files. If the template repo has npm run validate, use it.
    • Commit intentionally. Do not force-push. Do not overwrite existing user repos without inspecting current contents.

Output Expectations

Return:

  • Source PDF/text used.
  • Generated paths: normalized-profile.json, portfolio config.json, and profile README.md.
  • Target GitHub repos.
  • Validation commands run.
  • Whether GitHub pushes were completed or blocked by missing auth/review.

References

  • references/profile-schema.md: normalized profile JSON contract and mapping rules.
  • references/github-publish.md: safe GitHub CLI publishing flow.

Related Skills