Skip to content

chore: Remove MaxLineLength suppression guidance from testing skill#6813

Merged
SaintPatrck merged 1 commit intomainfrom
chore/remove-maxlinelength-suppression-guidance
Apr 21, 2026
Merged

chore: Remove MaxLineLength suppression guidance from testing skill#6813
SaintPatrck merged 1 commit intomainfrom
chore/remove-maxlinelength-suppression-guidance

Conversation

@SaintPatrck
Copy link
Copy Markdown
Contributor

🎟️ Tracking

No ticket — repo tooling cleanup for the .claude/ Claude Code skill files.

📔 Objective

The testing-android-code skill contained a prominent STOP block instructing agents when to add @Suppress(\"MaxLineLength\"). In practice this primed agents to reach for the annotation reflexively even on lines well under the 100-char limit.

Detekt already runs as a pre-commit hook and flags any line that genuinely exceeds the limit, so in-skill guidance about the suppression is redundant and net-harmful. Removing the block lets detekt serve as the single source of truth.

The STOP block primed agents to reach for `@Suppress("MaxLineLength")`
even when not warranted. Detekt runs as a pre-commit hook and already
flags lines that genuinely exceed the 100-char limit, so in-skill
guidance about the suppression is redundant and net-harmful.
@SaintPatrck SaintPatrck added the ai-review-vnext Request a Claude code review using the vNext workflow label Apr 20, 2026
@github-actions github-actions Bot added t:tech-debt Change Type - Tech debt t:llm Change Type - LLM related change (e.g. CLAUDE.md files) labels Apr 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 20, 2026

🤖 Bitwarden Claude Code Review

Overall Assessment: APPROVE

This PR removes a two-line ⛔ STOP blockquote from .claude/skills/testing-android-code/SKILL.md that instructed agents when to add @Suppress("MaxLineLength"). The PR description explains the guidance was priming agents to apply the annotation reflexively, and detekt already enforces the 100-character limit as a pre-commit hook (confirmed in detekt-config.yml, MaxLineLength active at 100). The change touches only agent-facing skill prose — no production code, tests, build configuration, or dependencies. Scope and risk are minimal.

Code Review Details

No findings.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.81%. Comparing base (c1eafbe) to head (7f52073).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6813   +/-   ##
=======================================
  Coverage   85.81%   85.81%           
=======================================
  Files         856      856           
  Lines       59571    59571           
  Branches     8560     8560           
=======================================
  Hits        51121    51121           
  Misses       5499     5499           
  Partials     2951     2951           
Flag Coverage Δ
app-data 17.14% <ø> (ø)
app-ui-auth-tools 20.37% <ø> (ø)
app-ui-platform 15.24% <ø> (ø)
app-ui-vault 26.64% <ø> (ø)
authenticator 6.71% <ø> (ø)
lib-core-network-bridge 4.28% <ø> (ø)
lib-data-ui 1.03% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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 marked this pull request as ready for review April 20, 2026 19:14
@SaintPatrck SaintPatrck requested a review from a team as a code owner April 20, 2026 19:14
@github-actions
Copy link
Copy Markdown
Contributor

Logo
Checkmarx One – Scan Summary & Detailsabd1199a-2b5b-4268-9cde-eaf12238cfe0

Great job! No new security vulnerabilities introduced in this pull request

@SaintPatrck SaintPatrck enabled auto-merge April 20, 2026 20:34
@SaintPatrck SaintPatrck added this pull request to the merge queue Apr 21, 2026
Merged via the queue into main with commit 39240b3 Apr 21, 2026
28 of 30 checks passed
@SaintPatrck SaintPatrck deleted the chore/remove-maxlinelength-suppression-guidance branch April 21, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review-vnext Request a Claude code review using the vNext workflow t:llm Change Type - LLM related change (e.g. CLAUDE.md files) t:tech-debt Change Type - Tech debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants