composewebview-code-review — android composewebview-code-review, compose-webview, community, android, ide skills, android-library, android-webview, compose, compose-multiplatform, jetpack-compose, Claude Code

v1.0.0

关于此技能

适用于需要为 ComposeWebView 库自动执行代码质量检查的多平台代理 Performs code quality checks and reviews for ComposeWebView. Validates expect/actual implementations, KDoc coverage, Spotless formatting, and multiplatform patterns. Use when reviewing PRs, checking code quality, or validating new features.

# 核心主题

parkwoocheol parkwoocheol
[64]
[1]
更新于: 3/5/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 8/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
8/11
Quality Score
50
Canonical Locale
en
Detected Body Locale
en

适用于需要为 ComposeWebView 库自动执行代码质量检查的多平台代理 Performs code quality checks and reviews for ComposeWebView. Validates expect/actual implementations, KDoc coverage, Spotless formatting, and multiplatform patterns. Use when reviewing PRs, checking code quality, or validating new features.

核心价值

赋予代理执行一致的代码格式化、验证预期/实际结果、确保 KDoc 覆盖率,并使用 Gradlew 和 spotlessC 运行 ComposeWebView 的测试,简化拉取请求审查和代码质量保证

适用 Agent 类型

适用于需要为 ComposeWebView 库自动执行代码质量检查的多平台代理

赋予的主要能力 · composewebview-code-review

为 ComposeWebView 拉取请求自动执行代码审查
验证代码格式的一致性
运行 ComposeWebView 多平台库的综合测试

! 使用限制与门槛

  • 需要 Gradlew 和 spotlessC 设置
  • 特定于 ComposeWebView 多平台库

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

composewebview-code-review 是什么?

适用于需要为 ComposeWebView 库自动执行代码质量检查的多平台代理 Performs code quality checks and reviews for ComposeWebView. Validates expect/actual implementations, KDoc coverage, Spotless formatting, and multiplatform patterns. Use when reviewing PRs, checking code quality, or validating new features.

如何安装 composewebview-code-review?

运行命令:npx killer-skills add parkwoocheol/compose-webview/composewebview-code-review。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

composewebview-code-review 适用于哪些场景?

典型场景包括:为 ComposeWebView 拉取请求自动执行代码审查、验证代码格式的一致性、运行 ComposeWebView 多平台库的综合测试。

composewebview-code-review 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

composewebview-code-review 有哪些限制?

需要 Gradlew 和 spotlessC 设置;特定于 ComposeWebView 多平台库。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add parkwoocheol/compose-webview/composewebview-code-review。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    composewebview-code-review 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

composewebview-code-review

安装 composewebview-code-review,这是一款面向AI agent workflows and automation的 AI Agent Skill。支持 Claude Code、Cursor、Windsurf,一键安装。

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

ComposeWebView Code Review & Quality

This skill automates code quality checks and assists with pull request reviews for the ComposeWebView multiplatform library.

Quick Review

Run complete review workflow:

bash
1bash .agents/skills/code-review/scripts/review_checklist.sh

This executes all quality checks: formatting, expect/actual validation, KDoc coverage, and tests.

Review Categories

1. Code Formatting

Check formatting (non-destructive):

bash
1./gradlew spotlessCheck

Auto-fix formatting:

bash
1./gradlew spotlessApply

Spotless enforces ktlint rules. REQUIRED before all commits.

2. Multiplatform Completeness

Check expect/actual pairs:

bash
1bash .agents/skills/code-review/scripts/check_expect_actual.sh

Verifies:

  • Every expect declaration has corresponding actual implementations
  • All platforms (Android, iOS, Desktop, JS, WASM) are covered
  • No orphaned actual declarations

3. Documentation Coverage

Verify KDoc:

bash
1bash .agents/skills/code-review/scripts/verify_kdoc.sh

Checks:

  • All public APIs have KDoc comments
  • KDoc includes @param and @return where applicable
  • No placeholder documentation (e.g., "TODO")

4. Testing Coverage

Ensure tests exist for:

  • Common functionality in commonTest
  • Platform-specific features in platform test sources
  • Critical paths (WebView loading, JS bridge, state management)

Run tests:

bash
1bash .agents/skills/development/scripts/test_all.sh

5. Architecture Compliance

Verify adherence to project patterns:

  • State management via WebViewState (see .agents/knowledge/architecture.md)
  • Controller separation via WebViewController
  • Proper platform abstraction (expect/actual)

See reference/common_patterns.md for patterns.

Review Checklists

Feature Implementation

Copy and work through: checklists/feature_checklist.md

Quick checklist:

markdown
1- [ ] Defined in commonMain with expect 2- [ ] Implemented in all 5 platforms (Android, iOS, Desktop, JS, WASM) 3- [ ] Public APIs have KDoc with @param/@return 4- [ ] Tests added in commonTest and platform tests 5- [ ] Spotless formatting applied 6- [ ] Updated relevant documentation 7- [ ] Follows existing patterns (State/Controller) 8- [ ] Platform constraints considered (iOS, Desktop, WASM) 9- [ ] Kotlinx Serialization used for JSON 10- [ ] Null safety enforced (no !! operator) 11- [ ] Immutability preferred (val over var)

Pull Request Review

Copy and work through: checklists/pr_checklist.md

Essential checks:

  • Code quality (formatting, naming, structure)
  • Multiplatform completeness
  • Test coverage
  • Documentation updates
  • Breaking change assessment

Multiplatform Validation

For complex platform work: checklists/multiplatform_checklist.md

Platform-specific considerations:

  • Android: WebView API usage, permissions
  • iOS: WKWebView constraints, message handlers
  • Desktop: CEF initialization, threading
  • Web (JS): IFrame limitations, postMessage bridge
  • Web (WASM): Same-origin policy, limited native features

Automated Checks

Complete Review Script

bash
1bash .agents/skills/code-review/scripts/review_checklist.sh

Checks performed:

  1. ✅ Code formatting (Spotless)
  2. ✅ Expect/actual completeness
  3. ⚠️ KDoc coverage (warning only)
  4. ✅ All tests passing

Exit codes:

  • 0 - All checks passed
  • 1 - Critical issues found (formatting, tests, expect/actual)

Individual Checks

Expect/Actual:

bash
1bash .agents/skills/code-review/scripts/check_expect_actual.sh

KDoc Coverage:

bash
1bash .agents/skills/code-review/scripts/verify_kdoc.sh

Formatting:

bash
1bash .agents/skills/development/scripts/format_check.sh

Common Issues & Solutions

See reference/review_guidelines.md for:

  • Common multiplatform pitfalls
  • Platform-specific gotchas (WKWebView, CEF)
  • Performance considerations
  • Breaking change checklist

Quick Fixes

Formatting issues:

bash
1./gradlew spotlessApply

Missing actual implementation:

  1. Identify the expect declaration
  2. Add actual to all platform source sets
  3. Verify: bash .agents/skills/code-review/scripts/check_expect_actual.sh

Missing KDoc:

kotlin
1/** 2 * Brief description of what this does. 3 * 4 * @param param Description of parameter 5 * @return Description of return value 6 */ 7fun publicFunction(param: String): Result

Review Workflow

Before Submitting PR

  1. Format code:

    bash
    1./gradlew spotlessApply
  2. Run full review:

    bash
    1bash .agents/skills/code-review/scripts/review_checklist.sh
  3. Fix any issues reported

  4. Run tests:

    bash
    1bash .agents/skills/development/scripts/test_all.sh
  5. Commit and push

During Code Review

  1. Check PR against checklist:

  2. Verify multiplatform completeness:

    bash
    1bash .agents/skills/code-review/scripts/check_expect_actual.sh
  3. Review architectural patterns:

  4. Test locally:

    bash
    1git checkout pr-branch 2bash .agents/skills/development/scripts/test_all.sh

Best Practices

Code Quality

  1. Consistent naming: Follow Kotlin conventions

    • Classes: PascalCase
    • Functions/properties: camelCase
    • Constants: UPPER_SNAKE_CASE
  2. Visibility modifiers:

    • public - External API
    • internal - Internal implementations
    • private - Encapsulated logic
  3. Immutability: Prefer val over var

  4. Null safety: Avoid !!, use safe calls ?. or ?:

Multiplatform

  1. Keep common code platform-agnostic
  2. Use expect/actual for platform specifics
  3. Document platform constraints
  4. Test on all platforms

Documentation

  1. All public APIs must have KDoc
  2. Include examples in documentation
  3. Document platform differences
  4. Keep docs up-to-date with code

CI/CD Integration

These checks can be integrated into GitHub Actions:

yaml
1- name: Code Review Checks 2 run: bash .agents/skills/code-review/scripts/review_checklist.sh

Scripts Reference

review_checklist.sh

Comprehensive review running all checks. Returns non-zero exit code if critical issues found.

check_expect_actual.sh

Validates that all expect declarations have actual implementations on all platforms.

verify_kdoc.sh

Checks KDoc coverage for public APIs. Warning-level (doesn't fail build).

  • Development: Development Skill
  • Architecture: .agents/knowledge/architecture.md
  • Code Style: .agents/knowledge/code_style.md
  • Workflows: .agents/knowledge/commands.md

Troubleshooting

Review Script Fails

Check output for specific failure:

  • Formatting → Run ./gradlew spotlessApply
  • Tests → Fix failing tests
  • Expect/actual → Implement missing actuals

False Positives

Expect/actual check counts declarations - may show warnings for:

  • Internal implementations
  • Platform-specific extensions

Review build errors for actual issues.

KDoc Warnings

Not all public APIs require extensive KDoc (e.g., simple getters). Use judgment, but prefer documentation.


Use this skill to maintain high code quality and consistent patterns across the ComposeWebView codebase.

相关技能

寻找 composewebview-code-review 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具