원클릭으로
swift-core-worker
Builds shared Swift core logic in NetMonitorCore — models, services, renderers, serialization, and unit tests.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Builds shared Swift core logic in NetMonitorCore — models, services, renderers, serialization, and unit tests.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run the iOS functional smoke test suite on the remote Mac mini. Verifies all tools, dashboard, network map, settings, and timeline produce correct outcomes with screenshot capture at each verification point.
Scaffold a new SwiftData @Model class for NetMonitor-2.0. Creates the model file in NetMonitorCore, registers it in SchemaV1, regenerates the Xcode project, and verifies the build.
Run the NetMonitor-2.0 test suite. CRITICAL — tests must run on the mac-mini via SSH, never locally on this machine (no display session for UI tests, and the PreToolUse hook blocks local xcodebuild test calls). Use this skill any time you need to verify tests pass before committing or completing work.
Builds iOS SwiftUI views, ViewModels, platform services, and AR features for the heatmap feature in NetMonitor-iOS.
Builds macOS SwiftUI views, ViewModels, and platform services for the heatmap feature in NetMonitor-macOS.
Run the NetMonitor-2.0 coverage gates and interpret results. Use after making code changes to verify coverage thresholds are still met before completing work. Must run on mac-mini via SSH.
| name | swift-core-worker |
| description | Builds shared Swift core logic in NetMonitorCore — models, services, renderers, serialization, and unit tests. |
NOTE: Startup and cleanup are handled by worker-base. This skill defines the WORK PROCEDURE.
Use for features that involve:
Packages/NetMonitorCore/ServiceProtocols.swiftAGENTS.md for coding conventions and boundaries.factory/library/architecture.md for package placement and patternsPackages/NetMonitorCore/Tests/NetMonitorCoreTests/ or Tests/NetMonitor-macOSTests/ or Tests/NetMonitor-iOSTests/ as appropriate@Suite, @Test, #expect)public on API typesSendable, Codable, Identifiable as appropriateServiceProtocols.swift following existing patternEnums.swift if neededcd Packages/NetMonitorCore && swift build -c debug — must succeed with zero errorsxcodebuild -scheme NetMonitor-macOS -configuration Debug build — must succeedxcodebuild -scheme NetMonitor-iOS -configuration Debug build — must succeedswiftlint lint --quiet — zero errors in new/modified filesswiftformat . — zero violationsxcodegen generate firstssh mac-mini "cd ~/Projects/NetMonitor-2.0 && git pull && swift test -c debug --no-parallel --package-path Packages/NetMonitorCore 2>&1 | tail -30"
cd Packages/NetMonitorCore && swift test --no-parallel.factory/library/architecture.md.factory/library/environment.md{
"salientSummary": "Built SurveyProject, FloorPlan, MeasurementPoint, and 8 supporting model types in NetMonitorCore/Models/Heatmap/. All types are Sendable + Codable + Identifiable. Added WiFiMeasurementEngine actor in Services/Heatmap/ with passive/active/continuous measurement modes delegating to injected WiFiInfoServiceProtocol. Wrote 42 unit tests covering serialization round-trips, IDW interpolation correctness, color mapping for all 5 visualization types, and engine delegation. All tests pass, both targets build.",
"whatWasImplemented": "Created 6 new files: HeatmapModels.swift (SurveyProject, FloorPlan, MeasurementPoint, HeatmapVisualization, SurveyMode, WiFiBand, CalibrationPoint, WallSegment, SurveyMetadata, FloorPlanOrigin), WiFiMeasurementEngine.swift (actor with passive/active/continuous modes), HeatmapRenderer.swift (IDW p=2.0, 5 color mappings, CGImage output), SurveyFileManager.swift (.netmonsurvey bundle save/load). Added HeatmapServiceProtocol to ServiceProtocols.swift. Added ToolType.wifiHeatmap to Enums.swift.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{"command": "cd Packages/NetMonitorCore && swift build -c debug", "exitCode": 0, "observation": "Build succeeded, zero warnings"},
{"command": "xcodebuild -scheme NetMonitor-macOS -configuration Debug build 2>&1 | tail -5", "exitCode": 0, "observation": "BUILD SUCCEEDED"},
{"command": "xcodebuild -scheme NetMonitor-iOS -configuration Debug build 2>&1 | tail -5", "exitCode": 0, "observation": "BUILD SUCCEEDED"},
{"command": "swiftlint lint --quiet 2>&1 | grep -c 'error'", "exitCode": 0, "observation": "0 errors"},
{"command": "cd Packages/NetMonitorCore && swift test --no-parallel 2>&1 | tail -10", "exitCode": 0, "observation": "42 tests passed, 0 failures"}
],
"interactiveChecks": []
},
"tests": {
"added": [
{"file": "Packages/NetMonitorCore/Tests/NetMonitorCoreTests/HeatmapModelsTests.swift", "cases": [
{"name": "testSurveyProjectRoundTrip", "verifies": "Full SurveyProject serialization"},
{"name": "testMeasurementPointAllFields", "verifies": "MeasurementPoint with all optional fields"},
{"name": "testFloorPlanOriginCases", "verifies": "All FloorPlanOrigin cases round-trip"}
]},
{"file": "Packages/NetMonitorCore/Tests/NetMonitorCoreTests/HeatmapRendererTests.swift", "cases": [
{"name": "testIDWSinglePoint", "verifies": "Single point produces constant output"},
{"name": "testIDWGradient", "verifies": "Two points produce correct gradient"},
{"name": "testColorMappingSignalStrength", "verifies": "RSSI → green/yellow/red mapping"}
]}
]
},
"discoveredIssues": []
}