agentleFS
IjonTychyIjonTychy/brain-ios/.claude/skills/build-check/SKILL.md

build-check

Skill1 starsChanged 8 months agoUnlicenseView on GitHub

SPM Build-Check fuer brain-ios. Prueft ob BrainCore kompiliert, listet Warnungen und Fehler strukturiert auf. Nutze diesen Skill nach Code-Aenderungen um Build-Probleme frueh zu erkennen.

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. EmeaAppGbb/spec2cloud★ 100same name
    2. arcasilesgroup/ai-engineering★ 65same name
    3. crgarcia12/Liliput★ 4same name
    4. mrieck/snipkiwi-design-extract★ 1same name
    5. TheophilusChinomona/idev★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

Files
SKILL.md

Build-Check — brain-ios

Prueft ob das Projekt kompiliert und listet Probleme strukturiert auf.

Umgebungserkennung

Pruefe zuerst ob Swift verfuegbar ist:

swift --version 2>/dev/null
  • Swift verfuegbar (VPS/Mac): Fuehre swift build aus
  • Swift NICHT verfuegbar (Windows): Fuehre statische Analyse durch (Grep-basiert)

Bei Swift-Verfuegbarkeit

Quick Check (Default oder $ARGUMENTS = "quick")

swift build 2>&1

Analysiere den Output:

  • Zähle Errors und Warnings
  • Gruppiere nach Datei
  • Zeige die 5 wichtigsten Fehler mit Kontext

Full Check ($ARGUMENTS = "full")

swift build 2>&1
swift test --list-tests 2>&1

Zusaetzlich:

  • Pruefe ob alle Swift-Dateien in Sources/ auch im pbxproj referenziert sind
  • Pruefe ob Package.resolved aktuell ist

Errors Only ($ARGUMENTS = "errors")

swift build 2>&1 | grep -E "error:|fatal:"

Ohne Swift (statische Analyse)

Wenn Swift nicht verfuegbar ist, fuehre folgende Checks durch:

1. Import-Konsistenz

# Pruefe ob importierte Module existieren
grep -rn "^import " Sources/ | sort -u

2. pbxproj-Vollstaendigkeit

# Finde Swift-Dateien die NICHT im pbxproj sind
for f in $(find Sources -name "*.swift" -not -path "*/.*"); do
  basename=$(basename "$f")
  if ! grep -q "$basename" BrainApp.xcodeproj/project.pbxproj; then
    echo "FEHLT IM PBXPROJ: $f"
  fi
done

3. Bekannte Probleme pruefen

  • static var statt static let in AppIntent Structs
  • [String: Any] ohne @unchecked Sendable
  • Fehlende await auf pool.read/pool.write
  • #if canImport korrekt verwendet

Output-Format

## Build-Check Ergebnis

**Status:** OK / FEHLER / WARNUNG
**Umgebung:** Swift X.Y / Statische Analyse (kein Swift)

### Fehler (N)
- [Datei:Zeile] Beschreibung

### Warnungen (N)
- [Datei:Zeile] Beschreibung

### pbxproj-Check
- N Dateien korrekt registriert
- N Dateien FEHLEN (Liste)

### Empfehlung
- Naechste Schritte

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.