Skip to content

llm: Add Step 7 verify/lint/format section to implementing-ios-code skill#2859

Open
KatherineInCode wants to merge 2 commits into
mainfrom
katherine/claude-warnings
Open

llm: Add Step 7 verify/lint/format section to implementing-ios-code skill#2859
KatherineInCode wants to merge 2 commits into
mainfrom
katherine/claude-warnings

Conversation

@KatherineInCode

@KatherineInCode KatherineInCode commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

🎟️ Tracking

📔 Objective

Adds a "Step 7: Verify — Lint, Format, and Regenerate" section to the implementing-ios-code skill. This makes the post-implementation verification step explicit and actionable:

  • SwiftGen regeneration command if new localization strings were added
  • swiftlint, swiftformat --lint --lenient, and typos commands
  • Guidance on when to suppress vs. fix SwiftLint violations (line_length, file_length, type_body_length)

Without this step, implementations were sometimes handed back with lint or format violations, or with missing SwiftGen output after adding localization strings — requiring a follow-up round of corrections. Making verification explicit and placing it before the handoff point means violations get caught and fixed in the same session, not discovered during preflight or review.

@github-actions github-actions Bot added the t:llm Change Type - LLM related change (e.g. CLAUDE.md files) label Jul 6, 2026
@KatherineInCode KatherineInCode added the ai-review Request a Claude code review label Jul 6, 2026
@KatherineInCode KatherineInCode marked this pull request as ready for review July 6, 2026 21:22
@KatherineInCode KatherineInCode requested review from a team as code owners July 6, 2026 21:22
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Claude Code is reviewing this pull request...

If this comment does not update with results, check the Actions log.

@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.98%. Comparing base (72273fe) to head (614b263).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2859      +/-   ##
==========================================
- Coverage   81.25%   78.98%   -2.27%     
==========================================
  Files        1027     1150     +123     
  Lines       66091    73404    +7313     
==========================================
+ Hits        53699    57977    +4278     
- Misses      12392    15427    +3035     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

SaintPatrck
SaintPatrck previously approved these changes Jul 7, 2026
Exceptions: protocol property/function implementations (docs live in the protocol), mock classes.
Use pragma marks to organize code. `// MARK: -` is used to denote different objects in the same file; `// MARK:` is used to denote different sections within an object.

## Step 7: Verify — Lint, Format, and Regenerate

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 Should we call the same scripts that we call in the pre-commit hook instead? or combine script calls with some Claude prompts? so we can centralize at least a part of this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have it now just literally calling the pre-commit hooks, which hopefully centralizes things a little better 🤔

@andrebispo5 andrebispo5 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now with the pre-commit script usage 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review Request a Claude code review t:llm Change Type - LLM related change (e.g. CLAUDE.md files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants