Commit graph

31 commits

Author SHA1 Message Date
Thomas Ricouard
0ce51f2e0d Avoid top-level view branch swapping
Add guidance to SwiftUI skill docs recommending a stable view tree and avoiding top-level conditional branch swapping. Updated swiftui-performance-audit/SKILL.md and swiftui-view-refactor/SKILL.md to include checklist bullets, a new section with examples demonstrating preferred (single base view, localized conditions) vs. avoid patterns, and an updated refactor step order to emphasize stable structure. This reduces root identity churn, unnecessary invalidation, and improves SwiftUI diffing and performance.
2026-02-03 06:23:23 +01:00
Thomas Ricouard
527d60383c chore: update skills 2026-01-28 07:10:57 +01:00
Thomas Ricouard
9826f404c3
Merge pull request #4 from musiienko/main
Update mv-patterns formatting
2026-01-09 16:05:03 +01:00
Thomas Ricouard
4c59f14753 Add macOS Settings and menu bar reference docs
Added new reference guides for building macOS Settings windows and customizing menu bar commands in SwiftUI. Updated the components index to include links to these new resources.
2026-01-09 16:02:45 +01:00
Thomas Ricouard
4fb872727e Document preferred SwiftUI sheet patterns
Adds guidance on using `.sheet(item:)` over `.sheet(isPresented:)` for model-driven state, and recommends that sheets own their actions and handle dismissal internally. Includes code examples and best practices for sheet usage in SwiftUI.
2026-01-08 13:01:46 +01:00
Maksym Musiienko
d3846a295f
Fix mv-patterns formatting 2026-01-08 09:30:55 +01:00
Thomas Ricouard
a66c570852 Add lightweight clients reference and index entry
Introduces a new reference file describing the lightweight, closure-based client pattern for SwiftUI apps. Updates the components index to include a link to this new guidance, supporting easier discovery and usage of small, testable API clients.
2026-01-07 21:37:45 +01:00
Thomas Ricouard
1d42087b32 Add notes on Sparkle versioning requirements
Updated documentation to clarify that Sparkle relies on the `CFBundleVersion` (build number) for update checks, and that `BUILD_NUMBER` must be incremented for each release. This helps ensure proper update behavior when using Sparkle.
2026-01-07 20:34:06 +01:00
Thomas Ricouard
c8310b3b11
Create LICENSE 2026-01-07 19:09:37 +01:00
Thomas Ricouard
f413520648 Add sections on SwiftUI UI patterns and macOS SwiftPM packaging
Introduces new documentation for SwiftUI UI patterns, providing best practices and component guidance, and for macOS SwiftPM app packaging without Xcode, including scaffolding and build scripts. These additions help developers with UI composition in SwiftUI and packaging macOS apps using SwiftPM.
2026-01-07 14:30:35 +01:00
Thomas Ricouard
fd1375e2ad Add instructions for tagging and GitHub releases
Updated SKILL.md and release.md to include steps for creating a git tag and publishing a GitHub release with the app zip and appcast. This provides clearer guidance for distributing releases via GitHub.
2026-01-07 12:38:14 +01:00
Thomas Ricouard
f07d884c74 Add macOS SwiftPM app packaging templates and docs
Introduce a set of templates, scripts, and documentation for scaffolding, building, packaging, signing, and notarizing SwiftPM-based macOS apps without Xcode. Includes bootstrap project skeleton, build and packaging scripts, signing/notarization helpers, and reference guides for setup, packaging, and release workflows.
2026-01-07 12:23:29 +01:00
Thomas Ricouard
b6d69af073 Replace app scaffolding wiring with app wiring and dependencies
Removed the old 'app-scaffolding-wiring.md' reference and added a new, more comprehensive 'app-wiring.md' guide covering TabView, NavigationStack, sheet routing, and global dependency graph setup. Updated 'components-index.md' to reference the new guide and reflect the expanded focus on dependency management.
2026-01-07 10:59:03 +01:00
Thomas Ricouard
2f499fccee Add guide for approachable concurrency in Swift 6.2
Updated SKILL.md to reference project concurrency settings and added a new reference guide for Swift 6.2 approachable concurrency mode. The new guide covers detection, expected behavior changes, recommended fixes, and common pitfalls for projects using main-actor-by-default and default actor isolation.
2026-01-07 07:35:07 +01:00
Thomas Ricouard
106e533451 Add guidelines for handling large SwiftUI views
Introduces recommendations for splitting large SwiftUI view files using private extensions and MARK comments to organize helpers, async functions, and subviews. This helps maintain readability and structure in files exceeding approximately 300 lines.
2026-01-06 11:08:39 +01:00
Thomas Ricouard
32849f2287 Add loading placeholders reference and update index
Added a new reference file detailing best practices for loading states and placeholders in SwiftUI, including usage of redacted placeholders and ContentUnavailableView. Updated the components index to include a link to the new loading & placeholders documentation.
2026-01-05 13:00:08 +01:00
Thomas Ricouard
f1749b2b45 Add title menus reference and index entry
Added a new reference file for title menus, including usage patterns, examples, and design guidance. Updated the components index to include a link to the new title menus reference.
2026-01-04 18:34:51 +01:00
Thomas Ricouard
70a15d08db Add SwiftUI UI patterns skill and references
Introduces the 'swiftui-ui-patterns' skill to docs/skills.json, providing best practices and example-driven guidance for building SwiftUI views and components. Adds SKILL.md and a comprehensive set of reference files covering TabView, NavigationStack, sheets, forms, controls, grids, overlays, haptics, focus handling, media, matched transitions, split views, and more.
2026-01-04 18:26:56 +01:00
Thomas Ricouard
26e23c058d Add dynamic skills index and pre-commit hook
Replaces hardcoded skills in docs/app.js with dynamic loading from a generated docs/skills.json. Adds scripts/build_docs_index.py to generate the index from SKILL.md files, and a pre-commit hook to keep the index in sync. Updates README with setup instructions for the pre-commit hook.
2025-12-31 08:51:09 +01:00
Thomas Ricouard
08c8616b05 Add GH Issue Fix Flow section to README
Introduced a new section describing the GH Issue Fix Flow, outlining its purpose, key features, and usage for resolving GitHub issues using the `gh` CLI, local edits, builds/tests, and git push.
2025-12-31 08:19:30 +01:00
Thomas Ricouard
271249b6b5 Add workflow guide for GitHub issue fix flow
Introduces SKILL.md outlining the end-to-end process for resolving GitHub issues using gh, local code changes, XcodeBuildMCP, and git. The guide covers intake, code location, implementation, build/test, commit/push, and reporting steps.
2025-12-31 08:18:56 +01:00
Thomas Ricouard
ad1bb92d3e Expand SwiftUI view splitting guidelines in SKILL.md
Added detailed recommendations and examples for splitting large SwiftUI view bodies and computed view properties into subviews or dedicated View types. Clarified when to extract subviews and how to structure them for maintainability and reuse. Adjusted section numbering to accommodate the new content.
2025-12-30 21:06:04 +01:00
Thomas Ricouard
2b99f8520f Add light/dark theme toggle to docs UI
Introduced a theme toggle button in the docs header, allowing users to switch between light and dark modes. Theme preference is saved in localStorage and applied on load. Updated CSS to support theme variables and improved code block styling for both themes.
2025-12-30 20:39:11 +01:00
Thomas Ricouard
4a708c65f3 Add installation instructions to README
Added a section describing how to install the skills by placing or symlinking the folders under $CODEX_HOME/skills/public.
2025-12-30 20:31:31 +01:00
Thomas Ricouard
7ffd5f7c58 Add GitHub Pages badge to README
Added a badge linking to the live GitHub Pages site at the top of the README for better visibility and quick access.
2025-12-30 17:55:24 +01:00
Thomas Ricouard
0ac245e5ef Add documentation site for iOS Codex Skills
Introduces a new documentation site under the docs/ directory, including index.html, app.js, and styles.css. The site lists and describes iOS Codex skills, provides navigation, and displays markdown-based instructions and references for each skill. Also adds a .DS_Store file.
2025-12-30 17:53:18 +01:00
Thomas Ricouard
b48f498c23 Add SwiftUI performance audit section to README
Introduces a new section describing the SwiftUI Performance Audit feature, outlining its purpose, key features, and usage scenarios to help users diagnose and improve SwiftUI runtime performance.
2025-12-30 17:22:15 +01:00
Thomas Ricouard
91eb0d324d Add SwiftUI performance audit guide and references
Introduced SKILL.md with a comprehensive workflow for auditing and improving SwiftUI runtime performance, including code review, profiling, diagnosis, and remediation steps. Added summarized Apple and WWDC resources under the references directory to support performance analysis and best practices.
2025-12-30 17:21:36 +01:00
Thomas Ricouard
5c35a6c9ee Add SwiftUI concurrency reference and update SKILL.md
Added a new reference file summarizing SwiftUI-specific concurrency guidance from WWDC, covering actor isolation, Sendable closures, and async work structuring. Updated SKILL.md to include a link to this new reference for easier access to SwiftUI concurrency best practices.
2025-12-30 17:09:50 +01:00
Thomas Ricouard
d66b7c104e Create README.md 2025-12-30 15:41:46 +01:00
Thomas Ricouard
052112b19c Add current skills 2025-12-30 15:40:30 +01:00