What do you want to do?
5 use cases
-
Find logic bugs in a codebase, worst first
Run one scan to list semantic defects in your code, ranked by severity and confidence.
- REPO
lakeday-org/perch - Software and DevOps
- Intermediate
View prompt
In the perch repo at <project path>, run `perch scan` and then `perch issues`. Report the top five findings with file, line, and problem type. Verify that the output lists problems with IDs and a severity for each.
- REPO
-
Confirm a fix works without recording it
Re-ask Perch about a finding after you change the code, without saving anything.
- REPO
lakeday-org/perch - Software and DevOps
- Intermediate
View prompt
In the perch repo at <project path>, after editing the code for finding <id>, run `perch check <id>`. Report whether the problem still appears. Verify that the check did not add a new record to the scan results.
- REPO
-
Write a custom rule for your own code standard
Add a plain-English rule to Perch.yaml so Perch checks a practice your team cares about.
- REPO
lakeday-org/perch - Software and DevOps
- Intermediate
View prompt
In the perch repo at <project path>, add a rule named private-logs to perch.yaml with where set to src/**/*.ts, each set to method, and ensure set to 'Keep passwords and access tokens out of logs.' Run `perch scan`. Verify that the scan output includes findings from this rule.
- REPO
-
Let a coding agent run Perch on its own changes
Install Perch instructions for your AI coding assistant so it can scan its own edits.
View prompt
In the perch repo at <project path>, after you finish editing, run `perch scan` and then `perch issues`. Fix the top finding if it is a real defect, then run `perch check <id>`. Verify that the final scan lists no new problems introduced by your edits.
-
Scan pull requests in CI with Perch Cloud
Have Perch review pull requests automatically, with no workflow file to write.
View prompt
For the perch repo at <project path>, read https://docs.perchscan.com/ci/ and summarize what a build can gate on. Confirm that a test pull request receives perch findings. Verify that the pull request shows findings without any new workflow file added to the repo.
Quick start with Perch
- Check you have what it needs: Node.js with npm, to install the @lakeday/perch package; A Perch Cloud account, created by running perch login (the first $5 is free); A project folder with source code to scan.
- Open lakeday-org/perch on GitHub and read the README and license.
- Run
npm install -g @lakeday/perch - Run
perch loginto sign in to Perch Cloud - Run
perch scanin the project folder - Run
perch issuesto see the findings worst first
These steps come from our top use case, Find logic bugs in a codebase, worst first, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for lakeday-org/perch
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forSoftware developers and teams who want to catch logic bugs in code and check fixes before merging, with or without an AI coding agent.
- Why it is hot312 stars, launched 54 days ago
- LanguageJavaScript
- Sourcegithub.com/lakeday-org/perch · Back to Hot repos
Requirements
- Node.js with npm, to install the @lakeday/perch package
- A Perch Cloud account, created by running perch login (the first $5 is free)
- A project folder with source code to scan
Add this badge to your README
Maintain Perch? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/lakeday-org-perch/?utm_source=github&utm_medium=badge&utm_campaign=lakeday-org-perch)
HTML
<a href="https://dedupedai.com/use-cases/lakeday-org-perch/?utm_source=github&utm_medium=badge&utm_campaign=lakeday-org-perch"><img src="https://dedupedai.com/badge/lakeday-org/perch.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Perch
What is Perch?
Perch is a JavaScript command-line tool that lints code for semantic problems such as logic bugs, using decision models. It is an open-source project on GitHub: https://github.com/lakeday-org/perch.
How do I use Perch?
Run npm install -g @lakeday/perch; then run perch login to sign in to Perch Cloud; run perch scan in the project folder. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Perch for?
Software developers and teams who want to catch logic bugs in code and check fixes before merging, with or without an AI coding agent.
What can I do with Perch?
5 use cases so far, for example: Find logic bugs in a codebase, worst first; Confirm a fix works without recording it; Write a custom rule for your own code standard. Each has steps and a copy-paste agent prompt.
What do I need to run Perch?
Node.js with npm, to install the @lakeday/perch package; A Perch Cloud account, created by running perch login (the first $5 is free); A project folder with source code to scan.
What are alternatives to Perch?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is Perch safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.