From e674758f8780c1bf0f40175d8d9188af45d9546c Mon Sep 17 00:00:00 2001 From: XingKaiXin Date: Sun, 22 Mar 2026 15:26:27 +0800 Subject: [PATCH 1/2] docs(minimax-xlsx): Escape description field in YAML frontmatter --- skills/minimax-xlsx/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills/minimax-xlsx/SKILL.md b/skills/minimax-xlsx/SKILL.md index 369ec39..0d02ceb 100644 --- a/skills/minimax-xlsx/SKILL.md +++ b/skills/minimax-xlsx/SKILL.md @@ -1,6 +1,6 @@ --- name: minimax-xlsx -description: Open, create, read, analyze, edit, or validate Excel/spreadsheet files (.xlsx, .xlsm, .csv, .tsv). Use when the user asks to create, build, modify, analyze, read, validate, or format any Excel spreadsheet, financial model, pivot table, or tabular data file. Covers: creating new xlsx from scratch, reading and analyzing existing files, editing existing xlsx with zero format loss, formula recalculation and validation, and applying professional financial formatting standards. Triggers on 'spreadsheet', 'Excel', '.xlsx', '.csv', 'pivot table', 'financial model', 'formula', or any request to produce tabular data in Excel format. +description: "Open, create, read, analyze, edit, or validate Excel/spreadsheet files (.xlsx, .xlsm, .csv, .tsv). Use when the user asks to create, build, modify, analyze, read, validate, or format any Excel spreadsheet, financial model, pivot table, or tabular data file. Covers: creating new xlsx from scratch, reading and analyzing existing files, editing existing xlsx with zero format loss, formula recalculation and validation, and applying professional financial formatting standards. Triggers on 'spreadsheet', 'Excel', '.xlsx', '.csv', 'pivot table', 'financial model', 'formula', or any request to produce tabular data in Excel format." license: MIT metadata: version: "1.0" From 815a0523248b27ce610ceb6cfc0358f9533e776a Mon Sep 17 00:00:00 2001 From: Rudrank Riyam Date: Mon, 23 Mar 2026 21:22:16 +0530 Subject: [PATCH 2/2] Clarify Swift standards guidance for agent use --- .../references/swift-coding-standards.md | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/skills/ios-application-dev/references/swift-coding-standards.md b/skills/ios-application-dev/references/swift-coding-standards.md index bf70237..b9408b8 100644 --- a/skills/ios-application-dev/references/swift-coding-standards.md +++ b/skills/ios-application-dev/references/swift-coding-standards.md @@ -157,9 +157,18 @@ extension Drawable { extension Collection { func chunked(into size: Int) -> [[Element]] { - stride(from: 0, to: count, by: size).map { - Array(self[$0.. 0 else { return [] } + + var result: [[Element]] = [] + var i = startIndex + + while i != endIndex { + let j = index(i, offsetBy: size, limitedBy: endIndex) ?? endIndex + result.append(Array(self[i..(_ operation: () throws -> T) rethrows -> T { **Impact:** CRITICAL +Use actor isolation and `Sendable` to prevent data races across concurrency domains. + ### 7.1 Async Functions ```swift @@ -715,13 +730,14 @@ UIView.animate(withDuration: 0.3) { - [ ] No implicitly unwrapped optionals (`!`) in data models ### Memory -- [ ] Closures use `[weak self]` when capturing self in escaping closures +- [ ] Escaping closures capture `self` intentionally; use `[weak self]` or `[unowned self]` to avoid retain cycles when needed - [ ] Delegate properties are `weak` - [ ] No retain cycles between objects ### Concurrency - [ ] Async functions used instead of completion handlers -- [ ] Actors protect shared mutable state +- [ ] Mutable state shared across concurrency domains is isolated, often with actors +- [ ] Types crossing concurrency domains use `Sendable` when appropriate - [ ] UI updates on `@MainActor` - [ ] Task cancellation checked in long operations