hmohamed01/claude-code-plugins
Overview
A collection of Claude Code plugins providing autonomous development agents for Swift and Rust programming languages. The repository implements a monorepo structure with independent plugins for iOS/macOS Swift development (SwiftUI, Swift 6 concurrency, Xcode) and comprehensive Rust development (cargo, clippy, async patterns, WebAssembly). Each plugin includes specialized agents, skills with reference documentation, pre-tool hooks for unsafe pattern detection, and utility scripts.
Problem Addressed
| Problem |
Solution |
| Swift development requires language-specific expertise |
swift-developer plugin with SwiftUI, Swift 6 concurrency, and Xcode knowledge |
| Rust's ownership model creates common pitfalls |
rust-developer plugin with ownership, borrowing, and lifetime reference docs |
| Unsafe code patterns slip into production |
PreToolUse hooks automatically detect and warn about unsafe patterns |
| Apple docs not programmatically accessible |
GitHub-based documentation sources (Swift Book, Swift Evolution, Swift Testing) |
| Manual setup for new Swift/Rust projects |
Utility scripts: new_package.sh, new_project.sh with config files |
| Testing requires simulator/toolchain knowledge |
Built-in xcodebuild, simctl, cargo commands and reference documentation |
| AI agents lack framework-specific patterns |
Skills include Axum, Actix, Rocket (Rust) and SwiftUI, @Observable (Swift) |
Key Statistics
| Metric |
Value |
Date Gathered |
| GitHub Stars |
4 |
2026-01-31 |
| GitHub Forks |
1 |
2026-01-31 |
| Open Issues |
0 |
2026-01-31 |
| Primary Language |
Shell |
2026-01-31 |
| Repository Age |
Since 2026-01-06 |
2026-01-31 |
| Last Updated |
2026-01-28 |
2026-01-31 |
| Last Pushed |
2026-01-13 |
2026-01-31 |
| Plugin Count |
2 |
2026-01-31 |
| Contributors |
1 |
2026-01-31 |
Key Features
Plugin: swift-developer (v0.3.0)
| Component |
Purpose |
| Agent |
Autonomous Swift development for iOS/macOS apps |
| Skill |
swift-knowledge - SwiftUI, Swift 6 concurrency, XCTest |
| Hooks |
PreToolUse detection of force unwraps, hardcoded secrets, unsafe patterns |
| Command |
/swift-developer:swift-developer <task> |
Swift Unsafe Pattern Detection
| Pattern |
Issue |
Recommended Fix |
Force unwraps (!) |
Runtime crashes |
guard let, if let, or ?? |
| Hardcoded secrets |
Security vulnerability |
Keychain or environment variables |
DispatchQueue.main.sync |
Main thread blocking |
.async or async/await |
@unchecked Sendable |
Thread safety bypass |
Proper synchronization (NSLock, actors) |
Missing @MainActor |
UI thread safety |
Add @MainActor to ObservableObject classes |
Swift Documentation Sources
| Source |
Content |
| Swift Book |
Language guide and reference manual |
| Swift Testing |
Modern testing (@Test, #expect) |
| Swift Evolution |
Latest language proposals |
| Swift Async Algos |
Async sequence operations |
Plugin: rust-developer (v0.2.0)
| Component |
Purpose |
| Agent |
Comprehensive Rust development with cargo ecosystem |
| Skill |
rust-knowledge - ownership, async Rust, error handling, frameworks |
| Hooks |
PreToolUse detection of panics, unwraps, unsafe blocks, blocking ops |
| Command |
/rust-developer:rust-developer <task> |
Rust Reference Documentation
| Topic |
Coverage |
| Ownership |
Ownership, borrowing, and lifetimes |
| Error Handling |
Result, Option, thiserror, anyhow |
| Async Rust |
Tokio, async/await, channels |
| Testing |
Unit tests, integration tests, mocking |
| Cargo |
Cargo.toml, workspaces, features |
| Clippy |
Linting rules and configuration |
| WebAssembly |
wasm-pack, wasm-bindgen |
| Frameworks |
Axum, Actix, Rocket patterns |
| Troubleshooting |
Common errors and solutions |
Rust Unsafe Pattern Warnings
| Pattern |
Issue |
| Hardcoded secrets/API keys |
Security vulnerability |
panic! in library code |
Production instability |
Multiple .unwrap() without context |
Missing error context |
unsafe without // SAFETY: |
Undocumented unsafe reasoning |
| Blocking operations in async |
Thread pool exhaustion |
Utility Scripts
| Plugin |
Script |
Purpose |
| swift-developer |
new_package.sh |
Create Swift package with SwiftFormat/Lint |
| swift-developer |
run_tests.sh |
Run tests with common options |
| swift-developer |
format_and_lint.sh |
Format and lint Swift code |
| swift-developer |
simulator.sh |
Quick iOS simulator management |
| rust-developer |
new_project.sh |
Create Rust project with config files |
| rust-developer |
run_tests.sh |
Run tests with common options |
| rust-developer |
format_lint.sh |
Format and lint Rust code |
Technical Architecture
Repository Structure
claude-code-plugins/
├── .claude-plugin/
│ └── marketplace.json # Marketplace manifest (2 plugins)
├── CLAUDE.md # Repo-wide AI guidance
├── swift-developer/
│ ├── .claude-plugin/
│ │ └── plugin.json # Plugin manifest
│ ├── CLAUDE.md # Swift-specific AI guidance
│ ├── commands/
│ │ └── swift-developer.md
│ ├── agents/
│ │ └── swift-developer.md
│ ├── skills/
│ │ └── swift-knowledge/
│ │ ├── SKILL.md
│ │ ├── references/
│ │ ├── scripts/
│ │ └── assets/
│ └── hooks/
│ ├── hooks.json
│ └── scripts/
└── rust-developer/
└── [same structure as swift-developer]
Plugin Architecture Pattern
Each plugin follows a consistent structure:
- Command - Entry point via slash command (
/plugin-name:plugin-name)
- Agent - Autonomous task execution with tool access
- Skill - Knowledge base with SKILL.md and reference files
- Hooks - PreToolUse hooks for pattern detection and enforcement
Marketplace Configuration
{
"name": "hmohamed-plugins",
"owner": { "name": "hmohamed01" },
"metadata": {
"description": "A collection of Claude Code plugins for Swift and Rust development"
},
"plugins": [
{ "name": "swift-developer", "version": "0.3.0" },
{ "name": "rust-developer", "version": "0.2.0" }
]
}
Monorepo Design
- Each plugin is an independent, self-contained project
- Plugin-specific CLAUDE.md provides isolated AI instructions
- No cross-plugin dependencies
- kebab-case folder naming convention
Installation and Usage
Installation
# Add the marketplace
claude plugin marketplace add hmohamed01/claude-code-plugins
# Browse and install plugins via /plugins command
Swift Developer Usage
/swift-developer:swift-developer create a SwiftUI settings screen with @Observable
/swift-developer:swift-developer review my code for concurrency issues
/swift-developer:swift-developer run tests on iPhone 15 simulator
Rust Developer Usage
/rust-developer:rust-developer create a new async HTTP client library
/rust-developer:rust-developer review my code for ownership issues
/rust-developer:rust-developer run clippy and fix the warnings
Requirements
| Plugin |
Requirements |
| swift-developer |
macOS, Xcode 15+ (Xcode 16+ for Swift 6), CLI tools |
| rust-developer |
Rust toolchain via rustup, clippy, rustfmt |
Relevance to Claude Code Development
Direct Applications
Plugin Architecture Reference: Demonstrates well-structured Claude Code plugin organization with command, agent, skill, and hook components working together.
Language-Specific Skills: Provides templates for creating deep, domain-specific skills with comprehensive reference documentation.
PreToolUse Hook Patterns: Shows how to implement safety guardrails that detect and warn about unsafe patterns before code is written.
Documentation Verification Pattern: Swift plugin's approach to using GitHub-based sources when primary documentation (Apple developer docs) is JavaScript-rendered.
Utility Script Integration: Demonstrates how to package helper scripts within skills for common development operations.
Patterns Worth Adopting
Monorepo Plugin Organization: Independent plugins in a single repository with per-plugin CLAUDE.md enables focused AI guidance while maintaining unified distribution.
Hook-Based Safety Rails: PreToolUse hooks catch dangerous patterns (force unwraps, unsafe blocks, hardcoded secrets) before they enter the codebase.
Structured Reference Documentation: Skills include categorized reference files (ownership.md, error-handling.md, async-rust.md) for progressive disclosure.
Slash Command Entry Points: /plugin-name:plugin-name <task> pattern provides clear invocation path for users.
Version Management: Marketplace.json tracks plugin versions independently, allowing granular updates.
Dual CLAUDE.md Strategy: Repository-level CLAUDE.md for global conventions, plugin-level CLAUDE.md for domain-specific guidance.
Integration Opportunities
Skill Format Compatibility: Skills could be adapted or imported using the same structure as this repository's skill format.
Hook Pattern Extraction: Unsafe pattern detection hooks could inform safety guardrails in other development plugins.
Reference Documentation Model: The categorized reference file approach could be applied to other language-specific skills.
Swift/Rust Skills: The plugins themselves could be installed for users needing Swift or Rust development assistance.
Comparison with This Repository
| Aspect |
hmohamed01/claude-code-plugins |
This Repository (claude_skills) |
| Plugin Count |
2 (Swift, Rust) |
Multiple plugins + skills |
| Focus |
Language-specific development |
General-purpose skill marketplace |
| Hook Usage |
PreToolUse safety checks |
Configurable hooks |
| Skill Structure |
SKILL.md + references/ + scripts/ |
SKILL.md + references/ |
| Marketplace Support |
Yes (marketplace.json) |
Yes |
| Primary Author |
@hmohamed01 |
Community |
| Installation |
Plugin marketplace add |
Plugin marketplace + direct install |
References
Research Method: Information gathered from GitHub repository README files, GitHub API for repository metadata (stars, forks, dates, contributors), and raw file fetches for marketplace.json and CLAUDE.md. Statistics verified via direct API calls on 2026-01-31.
Freshness Tracking
Review Triggers:
- New plugins added to marketplace
- Major version bumps (swift-developer@1.0, rust-developer@1.0)
- GitHub stars milestone (25, 50, 100)
- Significant new language features documented (Swift 7, Rust 2024 edition)
- Additional language plugins added (Go, Python, TypeScript)
- Changes to Claude Code plugin architecture
1---2name: hmohamed01-claude-code-plugins3description: A collection of Claude Code plugins providing autonomous development agents for Swift and Rust programming languages.4---5# hmohamed01/claude-code-plugins67| Field | Value |8| ------------- | ------------------------------------------------------------ |9| Research Date | 2026-01-31 |10| Primary URL | <https://github.com/hmohamed01/claude-code-plugins> |11| GitHub | <https://github.com/hmohamed01/claude-code-plugins> |12| Installation | `claude plugin marketplace add hmohamed01/claude-code-plugins` |13| Version | swift-developer@0.3.0, rust-developer@0.2.0 |14| License | MIT |15| Author | [@hmohamed01](https://github.com/hmohamed01) |1617---1819## Overview2021A collection of Claude Code plugins providing autonomous development agents for Swift and Rust programming languages. The repository implements a monorepo structure with independent plugins for iOS/macOS Swift development (SwiftUI, Swift 6 concurrency, Xcode) and comprehensive Rust development (cargo, clippy, async patterns, WebAssembly). Each plugin includes specialized agents, skills with reference documentation, pre-tool hooks for unsafe pattern detection, and utility scripts.2223---2425## Problem Addressed2627| Problem | Solution |28| ------------------------------------------------------ | ------------------------------------------------------------------------------ |29| Swift development requires language-specific expertise | swift-developer plugin with SwiftUI, Swift 6 concurrency, and Xcode knowledge |30| Rust's ownership model creates common pitfalls | rust-developer plugin with ownership, borrowing, and lifetime reference docs |31| Unsafe code patterns slip into production | PreToolUse hooks automatically detect and warn about unsafe patterns |32| Apple docs not programmatically accessible | GitHub-based documentation sources (Swift Book, Swift Evolution, Swift Testing)|33| Manual setup for new Swift/Rust projects | Utility scripts: `new_package.sh`, `new_project.sh` with config files |34| Testing requires simulator/toolchain knowledge | Built-in xcodebuild, simctl, cargo commands and reference documentation |35| AI agents lack framework-specific patterns | Skills include Axum, Actix, Rocket (Rust) and SwiftUI, @Observable (Swift) |3637---3839## Key Statistics4041| Metric | Value | Date Gathered |42| ---------------- | -------------------------------- | ------------- |43| GitHub Stars | 4 | 2026-01-31 |44| GitHub Forks | 1 | 2026-01-31 |45| Open Issues | 0 | 2026-01-31 |46| Primary Language | Shell | 2026-01-31 |47| Repository Age | Since 2026-01-06 | 2026-01-31 |48| Last Updated | 2026-01-28 | 2026-01-31 |49| Last Pushed | 2026-01-13 | 2026-01-31 |50| Plugin Count | 2 | 2026-01-31 |51| Contributors | 1 | 2026-01-31 |5253---5455## Key Features5657### Plugin: swift-developer (v0.3.0)5859| Component | Purpose |60| ------------- | ---------------------------------------------------------------- |61| Agent | Autonomous Swift development for iOS/macOS apps |62| Skill | `swift-knowledge` - SwiftUI, Swift 6 concurrency, XCTest |63| Hooks | PreToolUse detection of force unwraps, hardcoded secrets, unsafe patterns |64| Command | `/swift-developer:swift-developer <task>` |6566#### Swift Unsafe Pattern Detection6768| Pattern | Issue | Recommended Fix |69| -------------------------- | ------------------------- | -------------------------------------------- |70| Force unwraps (`!`) | Runtime crashes | `guard let`, `if let`, or `??` |71| Hardcoded secrets | Security vulnerability | Keychain or environment variables |72| `DispatchQueue.main.sync` | Main thread blocking | `.async` or async/await |73| `@unchecked Sendable` | Thread safety bypass | Proper synchronization (NSLock, actors) |74| Missing `@MainActor` | UI thread safety | Add `@MainActor` to ObservableObject classes |7576#### Swift Documentation Sources7778| Source | Content |79| ------------------ | --------------------------------------- |80| Swift Book | Language guide and reference manual |81| Swift Testing | Modern testing (`@Test`, `#expect`) |82| Swift Evolution | Latest language proposals |83| Swift Async Algos | Async sequence operations |8485### Plugin: rust-developer (v0.2.0)8687| Component | Purpose |88| ------------- | -------------------------------------------------------------------- |89| Agent | Comprehensive Rust development with cargo ecosystem |90| Skill | `rust-knowledge` - ownership, async Rust, error handling, frameworks |91| Hooks | PreToolUse detection of panics, unwraps, unsafe blocks, blocking ops |92| Command | `/rust-developer:rust-developer <task>` |9394#### Rust Reference Documentation9596| Topic | Coverage |97| --------------- | --------------------------------------------- |98| Ownership | Ownership, borrowing, and lifetimes |99| Error Handling | Result, Option, thiserror, anyhow |100| Async Rust | Tokio, async/await, channels |101| Testing | Unit tests, integration tests, mocking |102| Cargo | Cargo.toml, workspaces, features |103| Clippy | Linting rules and configuration |104| WebAssembly | wasm-pack, wasm-bindgen |105| Frameworks | Axum, Actix, Rocket patterns |106| Troubleshooting | Common errors and solutions |107108#### Rust Unsafe Pattern Warnings109110| Pattern | Issue |111| ------------------------------------ | ------------------------------- |112| Hardcoded secrets/API keys | Security vulnerability |113| `panic!` in library code | Production instability |114| Multiple `.unwrap()` without context | Missing error context |115| `unsafe` without `// SAFETY:` | Undocumented unsafe reasoning |116| Blocking operations in async | Thread pool exhaustion |117118### Utility Scripts119120| Plugin | Script | Purpose |121| --------------- | ------------------- | ------------------------------------------ |122| swift-developer | `new_package.sh` | Create Swift package with SwiftFormat/Lint |123| swift-developer | `run_tests.sh` | Run tests with common options |124| swift-developer | `format_and_lint.sh`| Format and lint Swift code |125| swift-developer | `simulator.sh` | Quick iOS simulator management |126| rust-developer | `new_project.sh` | Create Rust project with config files |127| rust-developer | `run_tests.sh` | Run tests with common options |128| rust-developer | `format_lint.sh` | Format and lint Rust code |129130---131132## Technical Architecture133134### Repository Structure135136```text137claude-code-plugins/138├── .claude-plugin/139│ └── marketplace.json # Marketplace manifest (2 plugins)140├── CLAUDE.md # Repo-wide AI guidance141├── swift-developer/142│ ├── .claude-plugin/143│ │ └── plugin.json # Plugin manifest144│ ├── CLAUDE.md # Swift-specific AI guidance145│ ├── commands/146│ │ └── swift-developer.md147│ ├── agents/148│ │ └── swift-developer.md149│ ├── skills/150│ │ └── swift-knowledge/151│ │ ├── SKILL.md152│ │ ├── references/153│ │ ├── scripts/154│ │ └── assets/155│ └── hooks/156│ ├── hooks.json157│ └── scripts/158└── rust-developer/159 └── [same structure as swift-developer]160```161162### Plugin Architecture Pattern163164Each plugin follows a consistent structure:1651661. **Command** - Entry point via slash command (`/plugin-name:plugin-name`)1672. **Agent** - Autonomous task execution with tool access1683. **Skill** - Knowledge base with SKILL.md and reference files1694. **Hooks** - PreToolUse hooks for pattern detection and enforcement170171### Marketplace Configuration172173```json174{175 "name": "hmohamed-plugins",176 "owner": { "name": "hmohamed01" },177 "metadata": {178 "description": "A collection of Claude Code plugins for Swift and Rust development"179 },180 "plugins": [181 { "name": "swift-developer", "version": "0.3.0" },182 { "name": "rust-developer", "version": "0.2.0" }183 ]184}185```186187### Monorepo Design188189- Each plugin is an independent, self-contained project190- Plugin-specific CLAUDE.md provides isolated AI instructions191- No cross-plugin dependencies192- kebab-case folder naming convention193194---195196## Installation and Usage197198### Installation199200```bash201# Add the marketplace202claude plugin marketplace add hmohamed01/claude-code-plugins203204# Browse and install plugins via /plugins command205```206207### Swift Developer Usage208209```text210/swift-developer:swift-developer create a SwiftUI settings screen with @Observable211/swift-developer:swift-developer review my code for concurrency issues212/swift-developer:swift-developer run tests on iPhone 15 simulator213```214215### Rust Developer Usage216217```text218/rust-developer:rust-developer create a new async HTTP client library219/rust-developer:rust-developer review my code for ownership issues220/rust-developer:rust-developer run clippy and fix the warnings221```222223### Requirements224225| Plugin | Requirements |226| --------------- | ------------------------------------------------- |227| swift-developer | macOS, Xcode 15+ (Xcode 16+ for Swift 6), CLI tools |228| rust-developer | Rust toolchain via rustup, clippy, rustfmt |229230---231232## Relevance to Claude Code Development233234### Direct Applications2352361. **Plugin Architecture Reference**: Demonstrates well-structured Claude Code plugin organization with command, agent, skill, and hook components working together.2372382. **Language-Specific Skills**: Provides templates for creating deep, domain-specific skills with comprehensive reference documentation.2392403. **PreToolUse Hook Patterns**: Shows how to implement safety guardrails that detect and warn about unsafe patterns before code is written.2412424. **Documentation Verification Pattern**: Swift plugin's approach to using GitHub-based sources when primary documentation (Apple developer docs) is JavaScript-rendered.2432445. **Utility Script Integration**: Demonstrates how to package helper scripts within skills for common development operations.245246### Patterns Worth Adopting2472481. **Monorepo Plugin Organization**: Independent plugins in a single repository with per-plugin CLAUDE.md enables focused AI guidance while maintaining unified distribution.2492502. **Hook-Based Safety Rails**: PreToolUse hooks catch dangerous patterns (force unwraps, unsafe blocks, hardcoded secrets) before they enter the codebase.2512523. **Structured Reference Documentation**: Skills include categorized reference files (ownership.md, error-handling.md, async-rust.md) for progressive disclosure.2532544. **Slash Command Entry Points**: `/plugin-name:plugin-name <task>` pattern provides clear invocation path for users.2552565. **Version Management**: Marketplace.json tracks plugin versions independently, allowing granular updates.2572586. **Dual CLAUDE.md Strategy**: Repository-level CLAUDE.md for global conventions, plugin-level CLAUDE.md for domain-specific guidance.259260### Integration Opportunities2612621. **Skill Format Compatibility**: Skills could be adapted or imported using the same structure as this repository's skill format.2632642. **Hook Pattern Extraction**: Unsafe pattern detection hooks could inform safety guardrails in other development plugins.2652663. **Reference Documentation Model**: The categorized reference file approach could be applied to other language-specific skills.2672684. **Swift/Rust Skills**: The plugins themselves could be installed for users needing Swift or Rust development assistance.269270### Comparison with This Repository271272| Aspect | hmohamed01/claude-code-plugins | This Repository (claude_skills) |273| ------------------- | ----------------------------------- | ------------------------------------- |274| Plugin Count | 2 (Swift, Rust) | Multiple plugins + skills |275| Focus | Language-specific development | General-purpose skill marketplace |276| Hook Usage | PreToolUse safety checks | Configurable hooks |277| Skill Structure | SKILL.md + references/ + scripts/ | SKILL.md + references/ |278| Marketplace Support | Yes (marketplace.json) | Yes |279| Primary Author | @hmohamed01 | Community |280| Installation | Plugin marketplace add | Plugin marketplace + direct install |281282---283284## References285286| Source | URL | Accessed |287| ----------------------------- | ---------------------------------------------------------------------------- | ---------- |288| GitHub Repository | <https://github.com/hmohamed01/claude-code-plugins> | 2026-01-31 |289| GitHub README | <https://github.com/hmohamed01/claude-code-plugins/blob/main/README.md> | 2026-01-31 |290| GitHub API (Metadata) | <https://api.github.com/repos/hmohamed01/claude-code-plugins> | 2026-01-31 |291| Swift Developer README | <https://github.com/hmohamed01/claude-code-plugins/tree/main/swift-developer>| 2026-01-31 |292| Rust Developer README | <https://github.com/hmohamed01/claude-code-plugins/tree/main/rust-developer> | 2026-01-31 |293| Marketplace Configuration | <https://github.com/hmohamed01/claude-code-plugins/blob/main/.claude-plugin/marketplace.json> | 2026-01-31 |294| CLAUDE.md | <https://github.com/hmohamed01/claude-code-plugins/blob/main/CLAUDE.md> | 2026-01-31 |295296**Research Method**: Information gathered from GitHub repository README files, GitHub API for repository metadata (stars, forks, dates, contributors), and raw file fetches for marketplace.json and CLAUDE.md. Statistics verified via direct API calls on 2026-01-31.297298---299300## Freshness Tracking301302| Field | Value |303| ------------------ | -------------------------------------------- |304| Version Documented | swift-developer@0.3.0, rust-developer@0.2.0 |305| Last Pushed | 2026-01-13 |306| GitHub Stars | 4 (as of 2026-01-31) |307| Plugin Count | 2 (as of 2026-01-31) |308| Next Review Date | 2026-05-01 |309310**Review Triggers**:311312- New plugins added to marketplace313- Major version bumps (swift-developer@1.0, rust-developer@1.0)314- GitHub stars milestone (25, 50, 100)315- Significant new language features documented (Swift 7, Rust 2024 edition)316- Additional language plugins added (Go, Python, TypeScript)317- Changes to Claude Code plugin architecture