Build Check

VerifiedCaution

Execute builds for Kotlin shared layer and iOS/Android, report errors and warnings.

Sby Skills Guide Bot
DevelopmentIntermediate
7/26/2026
Claude CodeCursor
#kotlin-multiplatform#build#gradle#ios#android

Recommended for

Automated summary

Runs the shared Kotlin, Android, and iOS builds of a Kotlin Multiplatform project, then collects and classifies errors, warnings, and test results into a formatted report.

Strengths

  • Accepts an argument targeting a single platform (shared, android, ios) or all of them
  • Emits a structured markdown report with statuses, error counts, and test results
  • Keeps running the remaining builds after a failure and offers fix advice per error
  • Degrades gracefully by reporting that the Xcode MCP is unavailable instead of failing

Limitations

  • Assumes a specific project layout (:shared, :composeApp) and hardcoded Gradle commands
  • Does not run iOS tests or any validation beyond the Xcode build itself
  • iOS coverage depends on the Xcode MCP server, which most environments do not have
When to use it

Use it when you want a fast, unified check of the compilation status across all three targets of a Kotlin Multiplatform project.

When not to use it

Avoid it on projects that do not use Gradle with :shared and :composeApp modules, or when only a non-MCP Xcode build is available.

Security analysis

Caution
Quality score80/100

The skill only orchestrates standard local builds via Gradle and Xcode MCP and reports errors/warnings. It does not delete files, exfiltrate data, pipe remote scripts, or disable safety controls. The only residual risk is the inherent power of running Bash against a repo's Gradle wrapper and build scripts, which is the intended, legitimate purpose — hence 'caution' rather than 'safe'.

Findings
  • •Uses unrestricted Bash to execute Gradle wrapper tasks (`./gradlew`), which runs arbitrary build logic from the repository
  • •Invokes Xcode MCP build tools that compile/execute project code
  • •No network, secret-access, or destructive commands present
How this analysis is made

Examples

Build complet
全プラットフォームのビルドを確認して、エラーと警告をレポートして
Android seulement
build-check android を実行して、assembleDebug のエラーだけ教えて
Shared + tests
shared 層のビルドとユニットテストを回して、失敗したテストを一覧にして

name: build-check description: Kotlin shared層とiOS/Androidのビルドを実行し、エラー・警告を報告する user-invocable: true argument-hint: "[ios|android|shared|all] (デフォルト: all)" allowed-tools: Bash, Read, Grep, mcp__xcode__BuildProject, mcp__xcode__GetBuildLog

ビルド確認スキル

指定されたプラットフォームのビルドを実行し、エラー・警告を収集して報告する。

処理フロー

  1. 引数に応じてビルドコマンドを実行
  2. エラー/警告を収集・分類
  3. 修正アドバイスを提示

ビルドコマンド

| 引数 | コマンド | |------|---------| | shared | ./gradlew :shared:testDebugUnitTest | | android | ./gradlew :composeApp:assembleDebug | | ios | Xcode MCPのBuildProject | | all(デフォルト) | 上記すべてを順に実行 |

出力フォーマット

## ビルドレポート

### shared (Kotlin)
- ステータス: SUCCESS / FAILURE
- エラー: X件
- 警告: Y件
- テスト: Z passed, W failed

### android
- ステータス: SUCCESS / FAILURE
- エラー: X件

### ios
- ステータス: SUCCESS / FAILURE
- エラー: X件
- 警告: Y件

### エラー詳細
(各エラーの内容と修正アドバイス)

注意事項

  • all指定時はshared → android → iOSの順で実行(sharedがベースのため)
  • ビルドエラーが発生した場合、後続のビルドもスキップせず全て実行する
  • Xcode MCPが利用できない場合はiOSビルドをスキップし、その旨を報告

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/build-check-ms1aw42y/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/build-check-ms1aw42y' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/build-check-ms1aw42y/download' --output '.skill-downloads/build-check-ms1aw42y/SKILL.md.part' && mv '.skill-downloads/build-check-ms1aw42y/SKILL.md.part' '.skill-downloads/build-check-ms1aw42y/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash, Read, Grep, mcp__xcode__BuildProject, mcp__xcode__GetBuildLog

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/build-check-ms1aw42y/SKILL.md' && test -s '.skill-downloads/build-check-ms1aw42y/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/build-check' && cp -R '.skill-downloads/build-check-ms1aw42y' '.claude/skills/build-check'

Cursor
test -f '.skill-downloads/build-check-ms1aw42y/SKILL.md' && test -s '.skill-downloads/build-check-ms1aw42y/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/build-check' && cp -R '.skill-downloads/build-check-ms1aw42y' '.cursor/skills/build-check'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/build-check-ms1aw42y'

openskills read 'build-check-ms1aw42y'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/build-check-ms1aw42y/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills