CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

tessl/learn-from-past-work

Skills that Learn from past work loops run: review pull request history for agent context and Tessl verifier improvements, read recent agent runs to record recurring problems as project findings, propose Code Review lens changes from how the lenses did on recent pull requests, and turn open findings into tickets the factory builds. Also clears out open findings that no longer need anyone.

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

README.md

Learn from past work

The skills that let a Tessl factory learn from its own history. On a schedule, Tessl reads recent pull requests, their reviews, and agent runs, records the problems that keep coming back as findings, and can turn those findings into tickets the factory builds.

Learn from past work runs the first four skills once it's turned on for a project, in the Tessl web app or with the tessl/factory-setup plugin. You run findings-cleanup from a Loop you set up yourself, as Clean up findings shows.

Repositories

A factory has a home repository and can reach working repositories through its environment. The skills read the repositories the run's GitHub access covers, not only the home, and never one it does not list. Findings are recorded in the home project, with the repository named on the evidence. Repository scope has the rules.

  • learn-from-review-feedback: reads pull request history in every repository in scope.
  • learn-from-agent-runs: takes runs from the home repository and reads the pull requests they opened in any repository in scope.
  • tune-review-lenses: stays on the home repository, because the Code Review findings, profile and lenses are read per project.
  • findings-triage: checks each finding against the repository it is about, and a ticket names that repository.
  • findings-cleanup: checks each finding against the repository it is about.

Skills

  • learn-from-review-feedback: find mistakes reviewers keep correcting, and propose agent context or checks that prevent them.
  • learn-from-agent-runs: find problems that recur across agent runs, such as dead ends, missing access, or flaky checks.
  • tune-review-lenses: propose changes to Code Review from the findings people addressed, declined, or missed.
  • findings-triage: check open findings against the current code, and file tickets for the ones worth building.
  • findings-cleanup: check open findings against the current code, oldest first, and close the ones that are fixed, duplicated or no longer worth doing. It files no tickets.

Clean up findings

Add a schedule to your project's tessl.json:

"schedules": {
  "findings-cleanup": {
    "cron": "0 6 * * 0",
    "description": "Close findings that no longer need anyone",
    "action": {
      "skill": "tessl/learn-from-past-work#findings-cleanup",
      "agent": "claude",
      "model": "claude-opus-5-5",
      "inputs": { "orgId": "<org-id>", "projectId": "<project-id>", "DRY_RUN": "true" },
      "concurrency": {
        "keys": [{ "key": "findings-cleanup", "limit": 1 }]
      }
    }
  }
}

With DRY_RUN set to "true", a run changes nothing and its result says what it would have done. Read a run or two, then set it to "false". Each run decides up to 50 findings and follows up the tickets and pull requests linked to findings. To read Linear tickets it needs an environment with Linear read access; without one, it leaves findings that link Linear tickets as they are. The action's instructions can change how many findings a run decides, or add rules for a kind of finding, such as when a recurring runtime error counts as gone.

README.md

tile.json