skiptools / skiptools/skip

LLM-friendlier syntax for `SKIP INSERT`

Open
#433 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Swift
Stars
3.2k
Forks
106
Avg merge
6d 13h
Merged PRs (30d)
1

Description

When I attempted to have an LLM agent write some multi-line code with SKIP INSERT, it simply refused to believe that it should write the code like this:

// SKIP INSERT: 
// var count by remember {
//     mutableStateOf(100)
// }

It would repeatedly try to convert the code to this:

// SKIP INSERT: 
var count by remember {
    mutableStateOf(100)
}

That is, the LLM assumed that the code was commented out.

I think it would be better to offer another syntax for embedding multi-line Kotlin in Swift. Perhaps something like:

// SKIP INSERT:
let _ = #```
var count by remember {
    mutableStateOf(100)
}
```#

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing SKIP INSERT syntax and the proposed Swift example. Determine how a multi-line embedded Kotlin form should be represented without comment ambiguity; done when the syntax is specified and its behavior is verified for the shown example.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, swift
Domain
mobile, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.