Skip to content
Back to skills

Prior Art

ASecurity

Before building a feature or a fix that is not obvious in RustCode, check whether RustCode's own issues, PRs and past threads already cover it, and how peer agent apps (t3code, Sable, MonoCode, Cloudroom, Paseo, PandaCode, Paradev) solved it. Read-only, about ten searches, ends in a short reuse/adapt/nothing-found note.

  • 18 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsrustshellnodegit

Works with

  • cli

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add LHagfoss/rustcode --skill prior-art --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prior Art?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prior Art
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lhagfoss-prior-art/badge)](https://www.skillsdirectory.com/skills/lhagfoss-prior-art)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: prior-art
description: Before building a feature or a fix that is not obvious in RustCode, check whether RustCode's own issues, PRs and past threads already cover it, and how peer agent apps (t3code, Sable, MonoCode, Cloudroom, Paseo, PandaCode, Paradev) solved it. Read-only, about ten searches, ends in a short reuse/adapt/nothing-found note.
---

# Prior art

Find out whether the work already exists, half exists, or was tried and
rejected, before writing it. Agents kept re-implementing helpers that were
already in the tree, reopening fixes a closed PR had abandoned for a reason,
and designing UI that a peer app had already solved.

Skip this for typos, one-line fixes, copy changes and work the user already
scoped down to exact files and lines.

## Budget

About ten searches and five minutes. Read-only: no clones without the user's
say, no commits, no comments on other repositories. Stop as soon as you have
an answer: one strong hit is enough.

## 1. RustCode itself

Pick two or three keywords: the user-facing name, the code name, and the
error text if there is one.

```sh
gh issue list --state all --limit 20 --search "<keywords>"
gh pr list --state all --limit 20 --search "<keywords>"
git log --oneline -S '<identifier>' -- <likely path>   # when a symbol was added or removed
git log --oneline --grep '<keyword>' -i | head -20
```

- A closed, unmerged PR is the most valuable hit: read why it closed
  (`gh pr view <n> --comments`) before repeating it.
- An open PR or issue on the same thing: say so and ask before duplicating it.
- Search existing code for the helper before adding one (`AGENTS.md` ›
  Search: SocratiCode, then ast-grep, then `rg`).
- Past threads: `search_threads` (or `rc tools call search_threads`) with the
  same keywords and `all_projects: true`. A thread that already diagnosed the
  bug saves the whole investigation; `read_thread` the best hit.
- Decisions: `rg -il '<keyword>' docs/adr docs/*.md`. An ADR that settled the
  question wins over a new idea; propose changing it rather than ignoring it.

## 2. Peer apps

These are agent apps solving the same problems: harness adapters, thread
lists, approvals, worktrees, remote access, usage, mobile. Look in the first
directory that exists; otherwise search on GitHub without cloning.

| App | GitHub | Usual local clone | License | Strong in |
| --- | --- | --- | --- | --- |
| T3 Code | `pingdotgg/t3code` | `~/code/scratch/t3code` | MIT | provider adapters, event-sourced server, remote pairing, mobile, test rules |
| Sable | `Leonxlnx/sable` | `~/code/sable` | MIT | timeline model, accounts and limits, generative UI, motion |
| MonoCode | `hardbeat920/monocode` | `~/code/monocode` | MIT | harness adapters with pure protocol modules, Tauri shell, GPUI port |
| Cloudroom | `davidondrej/cloudroom` | `~/code/cloudroom` | Apache-2.0 | Rust core service, built-in agent skills (`skills/`) |
| Paseo | `getpaseo/paseo` | `~/code/paseo` | custom, read it | multi-agent orchestration, mobile |
| PandaCode | `aicodeking/pandacode` | `~/code/pandacode` | MIT with attribution | agent CLI |
| Paradev | `ParadevAI/Paradev` | `~/code/Paradev` | MIT | agent IDE |

Locally, search by shape and name, not by RustCode's own terms (each app
names things differently: a thread is a "session" or a "conversation"):

```sh
rg -l -i '<concept>' <clone> -g '!node_modules' -g '!target' -g '!dist' | head -20
ast-grep run -p '<shape>' -l <lang> <clone>
rg -i '<concept>' <clone>/AGENTS.md <clone>/CLAUDE.md <clone>/docs 2>/dev/null | head
```

Without a clone:

```sh
gh search prs --repo <slug> --limit 10 "<keywords>"
gh search issues --repo <slug> --limit 10 "<keywords>"
gh search code --repo <slug> "<identifier>"
```

Before searching a clone, `git -C <clone> log -1 --format=%cr` tells you how
stale it is; say so when it is older than a month.

## 3. Report

Before writing code, give the user (or put in the PR body) three to five
bullets, each with a link or `path:line`:

- **Reuse**: it exists in RustCode; use it.
- **Adapt**: a peer app solved it; what to take, what differs here, and its
  license.
- **Avoid**: a closed PR or ADR that rejected this approach, and why.
- **Nothing found**: say so in one line and proceed.

Take ideas and structure freely. Copying code needs a compatible license (MIT
and Apache-2.0 are fine with their notice kept; read any custom license first)
and a note in the PR naming the source.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.