CodeTinder

Swipe for the love of code.

On every merge request, CodeTinder rewrites your code a few ways. Swipe right on the ones you love, and your coding agents learn to write like you.

Add to your project

todo-demo !12Merge request renameTodo

CodeTinderbot1 minute ago

renameTodo caught my eye...
Swipe on the round

!12renameTodo

1 of 6
x
const renameTodo = (  todo: Todo,  title: string): Todo =>  title.trim()    ? { ...todo, title }    : todo;
function renameTodo(  todo: Todo,  title: string): Todo {  if (title.trim() === '') {    return todo;  } else {    return { ...todo, title };  }}
.codetinder/principles.md
  1. <!-- swipe to fill me in -->

How it works

  1. Same code, new looks

    Open a merge request and CodeTinder rewrites some of your changes a few ways. Same behaviour, checked by your tests.

    todo-demo !12Merge request renameTodo

    CodeTinderbot1 minute ago

    renameTodo caught my eye...
    Swipe on the round

  2. Swipe

    Tell CodeTinder how you like your code written, just by swiping. Right for yes, left for no. Everyone on the team gets a swipe.

  3. Your taste, learned and applied

    Press Done and your swipes become .codetinder/principles.md, with the MR rewritten to match, in one commit you review. Any agent that reads it writes code you'd swipe right on.

    Rewrite renameTodo your wayCodeTinder bot · 2 files changed

    .codetinder/principles.md

    ## General### early-returns · moderate### early-returns · strongPrefer early returns over nested conditionals.

    src/todos.ts

      if (title.trim() === '') {    return todo;  } else {    return { ...todo, title };  }  if (!title.trim()) {    return todo;  }   return { ...todo, title };

Take it home to your project

  1. Sign in with GitLab and pick a project.
  2. Press Add to project: CodeTinder turns its flow on and opens a setup MR.
  3. Merge the setup MR. Your next merge request gets a round.
Add to your project

Needs the Maintainer role and GitLab Duo Agent Platform (Premium or Ultimate).