swiftui-development-a1e4ac — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited swiftui-development-a1e4ac (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use this skill to write declarative, reactive UI code. Always adhere to the iOS Human Interface Guidelines (HIG).
@Observable, @State, @Environment).NavigationStack and navigationDestination.#Preview macro.@Query) into views..swift view files.@Observable
class CounterModel {
var count = 0
func increment() {
count += 1
}
}
struct CounterView: View {
@State private var model = CounterModel()
var body: some View {
VStack {
Text("Count: \(model.count)")
.font(.largeTitle)
Button("Add") {
model.increment()
}
}
}
}
#Preview {
CounterView()
}enum Route: Hashable {
case profile(id: String)
case settings
}
struct ContentView: View {
@State private var path = NavigationPath()
var body: some View {
NavigationStack(path: $path) {
List {
NavigationLink("Go to Profile", value: Route.profile(id: "123"))
NavigationLink("Settings", value: Route.settings)
}
.navigationDestination(for: Route.self) { route in
switch route {
case .profile(let id):
ProfileView(userId: id)
case .settings:
SettingsView()
}
}
}
}
}.environment() to inject global dependencies or theme data.struct SubView: View).@State when the view owns the data, and @Binding (@Bindable for Observables) when it modifies parent data.@Observable is preferred. For legacy support, fallback to ObservableObject may be needed, but strictly mark it.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.