PavedPath Code: skill for finding proven solutions on GitHub

PavedPath Code

A skill that searches GitHub for an already proven path to an engineering problem and adapts it to your code with a minimal change

  • 440 ★ on the repository
  • Last commit
  • MIT
Skill

Extended access

Why this level

  • The agent runs `gh` commands under your GitHub authorization and reads other people's issues, pull requests and code: instructions inside found texts must not be followed
  • The skill may start subagents with a separate context, and tokens, cookies and sensitive logs must not be passed to them
All reasons and checks

jia-ethan/pavedpath-code

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/pavedpath-code

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • The agent runs `gh` commands under your GitHub authorization and reads other people's issues, pull requests and code: instructions inside found texts must not be followed
  • The skill may start subagents with a separate context, and tokens, cookies and sensitive logs must not be passed to them

This is third-party code. Review the repository files before installing.

What it does

PavedPath Code helps an agent avoid reinventing a solution to a coding problem. It first frames the local problem: goal, symptom, error text, versions, environment and constraints. Then it searches GitHub for what already worked for others: mature projects, issues, pull requests, discussions, code examples and release notes. The skill ranks findings by how well they match the task. Repository stars serve as a maturity signal and rank below maintainer-confirmed issues, merged pull requests and exact examples. The agent deep-reads the best finds, extracts interfaces, configuration, tests and license constraints, carries the working path into your code with a minimal change and verifies the result with a test, a build, a request or a log. The search runs through the GitHub command line client: `gh search repos`, `gh search issues`, `gh search prs`, `gh search code`, `gh repo view` and `gh api`. For tasks spanning several ecosystems the skill may bring in subagents, but by default they are not needed. In the answer the agent lists the search path, key findings, rejected options and the way to verify.

Who it is for. For developers stuck on a build error, a version conflict or an unclear API who want the agent to look for a solution in open source projects first.

Good fit when

  • A build, test or deploy fails and you have the exact error text worth searching in issues and pull requests
  • An integration is stuck on an unusual case or unclear behavior of a library version
  • You need to compare open source projects for one task by license, activity and adoption cost
  • You need to extract a configuration or migration pattern from release notes, examples and a project's tests
  • The solution has to be backed by a maintainer reply or a merged PR link

Not a fit when

  • You are editing text or doing a small local refactor whose answer is visible in the code itself
  • The task is not about code: choosing a purchase, a study method, social media work. The author excluded such topics from this edition
  • You have forbidden the agent from going online or to GitHub
  • Production is down and the local logs, state and official documentation are not yet checked: on-site diagnosis comes first
  • You need private repositories or internal company code: the skill does not read them without explicit permission

Example request

Use pavedpath-code to investigate this Vite build error: find matching issues, merged pull requests and release notes, then recommend the smallest local change with a verification command

Limitations

The skill ships no search scripts of its own and relies on an installed and authenticated GitHub command line client `gh`. It checks the login state with `gh auth status` only after a 403 or 429 error or a message about a private repository. Search results need to be read in depth and verified locally: links and stars prove nothing by themselves.

The skill researches public GitHub. It reads private repositories only with explicit permission and within set bounds. Tokens, cookies, private code and sensitive logs must not be written into prompts, answers or files, and subagents do not receive them.

For security, payments, authentication and infrastructure, findings should be cross-checked against current official documentation. Large chunks of third-party code are better not copied: check the license and attribution requirements.

How to disable. Delete the `pavedpath-code` folder from the agent's skills directory, for example from `~/.codex/skills`. There is no need to keep the old `github-solution-research` folder beside it: the agent runtime may load both.

FAQ

How do I install PavedPath Code in Codex or Claude Code?

Clone the repository into the agent's skills directory, for Codex that is `git clone https://github.com/Jia-Ethan/pavedpath-code.git ~/.codex/skills/pavedpath-code`. For Claude Code, Cursor Agent and other runtimes substitute their skills directory. To update: `git -C ~/.codex/skills/pavedpath-code pull --ff-only`.

How does PavedPath Code differ from an ordinary GitHub search?

The skill first frames the local problem, then ranks findings by how well they match it, treating stars only as a maturity signal, and finally requires verification on your code. The answer carries the search path, key findings and rejected options.

Do I need the GitHub CLI and a login?

The search runs through `gh`, so the client must be installed and authenticated. The skill reads public data by default.

When does the skill bring in subagents?

When the task spans several independent ecosystems or search directions, or when an independent review of the findings is needed. For simple tasks the skill skips them and states why.

What if no strong solution is found on GitHub?

The agent reports that the evidence is weak and marks the recommendation as its own solution or a local finding. It does not present a weak match as a confident conclusion.

Discussion

No questions or reviews yet.

Skills

GitHub CLI skills

GitHub CLI skills (gh, gh-skill)

Editors’ pick

Official GitHub CLI skills: how an agent should call gh correctly and how to manage skills with gh skill

SkillExtended access46.8KRepository stars

A CLI and three skills that work through review-bot comments on a PR: assess findings, fix code, reply and wait for checks

SkillBroad access309Repository stars

An autonomous iteration skill for agents: modify, verify, revert failed changes, and repeat the loop toward a target metric

SkillBroad access6.8KRepository stars

Guard skills for coding agents: a second pass over the diff that catches typical AI mistakes in code, tests and docs

SkillMinimal access1.3KRepository stars

A vetted skill registry with a CLI that installs into twenty-plus agents and an MCP server for on-demand skill lookup

SkillExtended access7.1KRepository stars

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialAuthenticationRepository starsMain difference
PavedPath Code: skill for finding proven solutions on GitHub (this entry)no440
Octocodeyeskey is optional956an MCP server and CLI for researching code in your project and across GitHub
Idea Reality MCPnonot required826checks whether an idea already exists: scans GitHub, npm, PyPI and other sources and returns a score

README in short

The description is bilingual. It has a table of capabilities with the boundary of each, a security block and a ready prompt for installing through an agent. The full process, the rubric for rating findings and the techniques for extracting a solution are in `SKILL.md`, `references/research-rubric.md` and `references/extraction-playbook.md`.

README badge

Original SKILL.md

---
name: pavedpath-code
description: PavedPath Code is the code-focused edition of PavedPath. It helps agents solve software engineering problems by finding proven implementation paths from GitHub repositories, issues, pull requests, discussions, code examples, release notes, and open-source evidence.
---

# PavedPath Code

PavedPath Code(代码版)helps agents avoid reinventing solutions for software engineering problems. It searches GitHub and open-source evidence for proven implementation paths, then adapts the strongest pattern to the local codebase with minimal, verifiable changes.

Use GitHub as a primary evidence source, not as a link dump. The goal is to define the local code problem, find paths already walked in public repositories, issues, pull requests, discussions, examples, release notes, and source code, evaluate the strength of that evidence, then translate the strongest pattern into a small local fix, implementation path, or verification plan.

This is the code-focused edition of PavedPath. Do not broaden it into the future general-purpose PavedPath. It is for software engineering work: bugs, runtime errors, build/test/deploy failures, dependency issues, framework or API usage, integration blockers, implementation patterns, engineering tool selection, and open-source solution adaptation.

## When to Use

- Runtime, build, test, deploy, package, SDK, API, dependency, framework, or integration errors.
- A feature implementation is blocked by an unclear edge case, missing usage pattern, version behavior, or uncertain API contract.
- A local issue resembles something that maintainers or other open-source users may have resolved in issues, PRs, examples, code, release notes, or discussions.
- The user asks whether GitHub or open-source projects have already solved a concrete engineering problem.
- Mature implementation examples or reusable projects would reduce uncertainty for one specific capability.
- The answer should compare suitable GitHub repositories and explain how to adapt one proven path locally.

Do not use PavedPath Code for copy edits, purely local refactors where the codebase already dictates the answer, non-code life decisions, self-media workflows, study methods, consumer purchasing decisions, or requests that explicitly forbid web/GitHub research. Do not inspect private repositories unless the user explicitly scopes and authorizes that access.

## Default Workflow

1. **Frame the local code problem first.** Capture the goal, symptom, error signature, reproduction path, versions, runtime, dependency/framework names, recent changes, constraints, and attempted fixes. If a discoverable fact is missing, inspect local files/logs before asking.
2. **Choose the evidence mode.** For errors/regressions, search issues, PRs, releases, and code first. For capability or tool needs, search repository candidates first. For feature implementation, use both repository candidates and issue/PR/code evidence.
3. **Evaluate subagent usefulness.** Before substantial GitHub research, decide whether conditional subagent work would improve breadth, evidence quality, or review coverage. If not using subagents, state the reason briefly when reporting the search path.
4. **Create targeted searches.** Prefer exact error text, package/API names, version numbers, framework + symptom, file names, config keys, stack trace fragments, failing command names, or capability + framework/runtime/API names.
5. **Find suitable GitHub projects when relevant.** Prefer high-fit, high-Star, active, non-archived repositories with clear licenses and real examples. Lower the Star threshold when the high-Star set is too broad or misses the exact problem.
6. **Search open-source evidence surfaces.** Use issues, PRs, discussions, code, examples, release notes, and official project docs within relevant open-source repos. Repository search is required when a project itself may solve the problem.
7. **Rank by problem fit first, with Stars as a maturity signal.** A high-Star repository is a strong candidate for inspection, but maintainer-confirmed issues, merged PRs, released fixes, official examples, and exact matching code beat popular adjacent projects. Use [research-rubric.md](references/research-rubric.md) when ranking matters.
8. **Deep-read the strongest projects and evidence.** Use [extraction-playbook.md](references/extraction-playbook.md) to extract project basics, reusable surfaces, root cause or implementation pattern, version constraints, risks, adaptation boundaries, and verification steps.
9. **Translate to local work with minimal adaptation.** Preserve the proven workflow, API, configuration shape, or architecture where it fits. Adapt only the parts required by the user's local interfaces, configuration, data/auth model, deployment target, or language/runtime.
10. **Verify before claiming success.** Use tests, builds, reproduction commands, real requests, logs, browser checks, or manual inspection appropriate to the local problem.
11. **If evidence is weak, say so.** Do not stretch weak matches into a confident recommendation. Mark the recommendation as first-principles or local-only when open-source evidence is insufficient.

## Subagent / Parallel Research Guidance

Subagents are conditional research aids, not a default requirement. The controller remains responsible for problem framing, scope control, evidence ranking, local adaptation, and final verification.

Use subagents when at least one of these applies:

- The problem spans 2+ independent ecosystems, frameworks, languages, tools, deployment surfaces, or GitHub communities.
- Repository discovery needs broad candidate coverage across multiple query families.
- Issue, PR, discussion, code, release, and example evidence can be split cleanly by project, version, or search surface.
- A final recommendation benefits from independent evidence review, risk review, or candidate rejection review.

Do not use subagents when any of these applies:

- The task is a narrow error with one obvious package, repository, API, or maintainer surface.
- Local repository context, logs, config, or reproduction details must be understood before external research can be scoped safely.
- GitHub rate limits, authorization boundaries, private repositories, secrets, production data, or sensitive logs would make delegation risky.
- Subagents would mostly duplicate the same searches or edit the same local files.

When using subagents, the controller must:

- Define each subagent's query family, repository scope, evidence surface, constraints, allowed write scope, and expected output.
- Require direct links, verified metadata, problem-fit rationale, risk notes, and explicit rejection reasons.

Report a problem

Foxx AIPavedPath Code: skill for finding proven solutions on GitHub
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.