DEDUPED Hot AI repos, turned into use cases Get 5 a day

What you can do with Perch

Perch is a JavaScript command-line tool that lints code for semantic problems such as logic bugs, using decision models.

Trended earlier

Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk.

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.

    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.
  • Confirm a fix works without recording it

    Re-ask Perch about a finding after you change the code, without saving anything.

    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.
  • 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.

    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.
  • 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.

How to use Perch

  1. 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.
  2. Open lakeday-org/perch on GitHub and read the README and license.
  3. Run npm install -g @lakeday/perch
  4. Run perch login to sign in to Perch Cloud
  5. Run perch scan in the project folder
  6. Run perch issues to 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.

Perch alternatives · Best AI repos for Software and DevOps

About 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 hot
  • 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
Maintain Perch? Add the Featured on Deduped badge

Paste this into your README:

[![Featured on Deduped](https://dedupedai.com/badge/lakeday-org-perch.svg)](https://dedupedai.com/use-cases/lakeday-org-perch/?ref=badge)

More badge styles and HTML

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.

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: Harness2, iFixAi, Orca, Diagram Design, AI Memory.

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.