Use AI to implement new native SwiftLint rules
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 19.7k
- Forks
- 2.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 11
Description
It would be interesting to see how good AI is at writing native SwiftLint rules, and if it's good enough, we could just get AI to implement new rule requests.
The idea of this feature is to provide a standard interface for getting AI to write new rules.
Ideally the solution would use something like MCP (e.g. see https://github.com/modelcontextprotocol/swift-sdk, and to allow multiple AI engines, so that we can "benchmark" them.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing SwiftLint pull request 6032 and the modelcontextprotocol/swift-sdk reference linked in the issue. Define the proposed standard interface for generating native SwiftLint rules, including support for multiple AI engines. Done means the design and implementation can benchmark those engines against new rule requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100