Swiftui View Refactor
Dimillian/Skills
Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage.
Rules for the SkillHub backend Maven multi-module clean architecture.
$ npx skills add iflytek/skillhub --skill backend-module-structure -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install iflytek/skillhub backend-module-structure --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/iflytek/skillhub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/backend-module-structure .claude/skills/backend-module-structure && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "backend-module-structure" agent skill from https://github.com/iflytek/skillhub/tree/main/.agents/skills/backend-module-structure into .claude/skills/backend-module-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-module-structure", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/iflytek/skillhub/tree/main/.agents/skills/backend-module-structureType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add iflytek/skillhub --skill backend-module-structure -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install iflytek/skillhub backend-module-structure --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/iflytek/skillhub.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/backend-module-structure .agents/skills/backend-module-structure && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "backend-module-structure" agent skill from https://github.com/iflytek/skillhub/tree/main/.agents/skills/backend-module-structure into .agents/skills/backend-module-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-module-structure", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add iflytek/skillhub --skill backend-module-structure -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install iflytek/skillhub backend-module-structure --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/iflytek/skillhub.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/backend-module-structure .cursor/skills/backend-module-structure && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "backend-module-structure" agent skill from https://github.com/iflytek/skillhub/tree/main/.agents/skills/backend-module-structure into .cursor/skills/backend-module-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-module-structure", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/iflytek/skillhub.git --path .agents/skills/backend-module-structure--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add iflytek/skillhub --skill backend-module-structure -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install iflytek/skillhub backend-module-structure --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/iflytek/skillhub.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/backend-module-structure .gemini/skills/backend-module-structure && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "backend-module-structure" agent skill from https://github.com/iflytek/skillhub/tree/main/.agents/skills/backend-module-structure into .gemini/skills/backend-module-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-module-structure", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install iflytek/skillhub backend-module-structureInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add iflytek/skillhub --skill backend-module-structure -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/iflytek/skillhub.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/backend-module-structure .github/skills/backend-module-structure && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "backend-module-structure" agent skill from https://github.com/iflytek/skillhub/tree/main/.agents/skills/backend-module-structure into .github/skills/backend-module-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-module-structure", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add iflytek/skillhub --skill backend-module-structure -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install iflytek/skillhub backend-module-structure --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/iflytek/skillhub.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/backend-module-structure .opencode/skills/backend-module-structure && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "backend-module-structure" agent skill from https://github.com/iflytek/skillhub/tree/main/.agents/skills/backend-module-structure into .opencode/skills/backend-module-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-module-structure", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
backend-module-structureRules for the SkillHub backend Maven multi-module clean architecture.
Backend Module Structure is an agent skill from iflytek/skillhub. Rules for the SkillHub backend Maven multi-module clean architecture. Ensures agents place new code in the correct module and respect dependency direction.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Design patterns. The repository describes itself as: Self-hosted, open-source agent skill registry for enterprises. Publish & version skill packages, govern with RBAC and audit logs, deploy on-premise with Docker or Kubernetes. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 7352597. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
makeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Backend Module Structure loads about 1.2k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 383 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from iflytek/skillhub at commit 7352597, republished under its Apache-2.0 licence (© iflytek). 383 words, ~1,198 tokens.
.claude/skills/backend-module-structure/SKILL.md (or your agent's skills folder).Use this skill when:
The design-doc dependency direction:
app → domain, auth, search, storage, infra, notification
infra → domain # implements domain repository interfaces
auth → domain
search → domain
notification → domain
storage → (independent) # pure SPIDesign intent: skillhub-domain should be the innermost layer, defining entities,
repository interfaces, and domain services without depending on infra, auth, search, or storage.
Code reality: skillhub-domain declares a Maven dependency on skillhub-storage (via
pom.xml), and several domain services (SkillHardDeleteService, SkillDownloadService,
SkillPublishService, SkillGovernanceService, SkillQueryService,
SkillStorageDeletionCompensationService) import com.iflytek.skillhub.storage.ObjectStorageService.
This is an existing deviation from the ideal clean architecture. New code should avoid adding
further cross-module dependencies from domain.
| Code Type | Module | Java Package |
|---|---|---|
| Entity / Value Object | skillhub-domain | com.iflytek.skillhub.domain.{submodule}/ |
| Repository Interface | skillhub-domain | com.iflytek.skillhub.domain.{submodule}/ |
| Domain Service | skillhub-domain | com.iflytek.skillhub.domain.{submodule}/service/ |
| Domain Event | skillhub-domain | com.iflytek.skillhub.domain/event/ |
| Domain Exception | skillhub-domain | com.iflytek.skillhub.domain/shared/exception/ |
| JPA Repository Impl | skillhub-infra | com.iflytek.skillhub.infra.repository/ |
| Controller | skillhub-app | com.iflytek.skillhub.controller/ |
| App Service | skillhub-app | com.iflytek.skillhub.service/ |
| Query Repository | skillhub-app | com.iflytek.skillhub.repository/ |
| DTO / Response | skillhub-app | com.iflytek.skillhub.dto/ |
| OAuth2 / Auth Config | skillhub-auth | com.iflytek.skillhub.auth/ |
| Search SPI / Impl | skillhub-search | com.iflytek.skillhub.search/ |
| Storage SPI / Impl | skillhub-storage | com.iflytek.skillhub.storage/ |
| Notification Service | skillhub-notification | com.iflytek.skillhub.notification/ |
The parent POM (server/pom.xml) defines 7 modules with spring-boot-starter-parent:3.2.3:
skillhub-app | skillhub-domain | skillhub-auth | skillhub-search
skillhub-storage | skillhub-infra | skillhub-notificationskillhub-domain): Aggregate reads, state transitions, rule evaluation.
Returns domain objects. Defined as interfaces, implemented in skillhub-infra via Spring Data JPA.com.iflytek.skillhub.repository): Read-model assembly, joins multiple
sources, presentation projection. Returns DTOs. Implemented directly in skillhub-app.Current query repositories:
GovernanceQueryRepository / JpaGovernanceQueryRepositoryMySkillQueryRepository / JpaMySkillQueryRepositoryProfileReviewQueryRepository / JpaProfileReviewQueryRepositoryAdminSkillReportQueryRepository / JpaAdminSkillReportQueryRepositoryWhen a new read use case arrives:
Never run ./mvnw -pl skillhub-app clean test directly under server/. Use:
make test-backend-app # skillhub-app + dependencies (includes -am)
make test-backend # all backend modulesRunning clean test on skillhub-app alone can fall back to stale artifacts from the local Maven
repository, surfacing misleading cannot find symbol and signature-mismatch errors.
User identity is always String throughout the codebase. This covers:
The UserAccount entity uses @Column(length = 128) for its ID. The platform needs to support
external SSO/OIDC/SCIM identity sources whose UIDs are typically stable strings.
© iflytek, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/backend-module-structure of iflytek/skillhub.
Open the folder on GitHubat commit 7352597
Backend Module Structure next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Backend Module Structure this skilliflytek/skillhub | 5.2k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Swiftui View RefactorDimillian/Skills | 4k | 5 repos | ~2k | Automated safety check: Pass | MIT | |
| RTK Rust Design Patternsrtk-ai/rtk | 83k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Effect Client WrapperUsefulSoftwareCo/executor | 4.1k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Architecture PatternsKartikLabhshetwar/better-shot | 2.4k | 2 repos | ~1.4k | Automated safety check: Pass | Custom licence | |
| GitVersion .NET DevelopmentGitTools/GitVersion | 3.1k | — | ~1.7k | Automated safety check: Pass | MIT |
Dimillian/Skills
Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage.
rtk-ai/rtk
Describes seven Rust design patterns for the RTK CLI filter modules, with when to use each, RTK examples, and notes on when a pattern is overkill.
UsefulSoftwareCo/executor
Pattern for wrapping third-party SDK clients (Stripe, Resend, AWS, etc.) with Effect.
KartikLabhshetwar/better-shot
Deep dive into software architecture for macOS. An agent skill from KartikLabhshetwar/better-shot.
GitTools/GitVersion
Gives repository-specific .NET guidance for GitVersion: build and test commands, central package management, project layout and coding conventions.
prisma/orm
Replaces a plain TypeScript union plus switch statements with frozen subclasses and a visitor interface when several places dispatch on the same variants.
iflytek/skillhub
Answers questions about a past agent run from its recording, using causal graphs and replay, instead of reconstructing events from memory.
iflytek/skillhub
Audits and rewrites formulaic, AI-sounding prose while keeping facts, voice and format, using a local Python scorer and inspect-only, rewrite or embedded-gate modes.
iflytek/skillhub
Access 2,000+ AI models and API tools through one MCP interface for inference, media generation, search, scraping, embeddings, social data, and structured retrieval.
iflytek/skillhub
Drafts a copy-paste-ready LinkedIn post from your facts and ideas, choosing the smallest structure that fits and keeping an accessible plain-text fallback for any styled text.
iflytek/skillhub
Connects an agent to a SkillHub registry and uses the official SkillHub CLI to search, install, list and explicitly upgrade skills from that registry.
iflytek/skillhub
Breaks AI-generated text into checkable claims, verifies them against independent sources and labels each one, with an optional exercise for learners.
Categories
Rules for the SkillHub backend Maven multi-module clean architecture. Backend Module Structure is an agent skill from iflytek/skillhub. Rules for the SkillHub backend Maven multi-module clean architecture.
Backend Module Structure fits situations like: tasks that involve Design patterns.
Run `npx skills add iflytek/skillhub --skill backend-module-structure -a claude-code`. Or copy the skill folder (.agents/skills/backend-module-structure in iflytek/skillhub) into .claude/skills/backend-module-structure in your project. Claude Code loads it when a task matches its description.
Run `npx skills add iflytek/skillhub --skill backend-module-structure -a codex`. Or copy the skill folder (.agents/skills/backend-module-structure in iflytek/skillhub) into .agents/skills/backend-module-structure in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add iflytek/skillhub --skill backend-module-structure -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/backend-module-structure, .gemini/skills/backend-module-structure, .github/skills/backend-module-structure and .opencode/skills/backend-module-structure in your project.
Going by SKILL.md and its folder, Backend Module Structure needs the command-line tools its instructions call (make).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Backend Module Structure is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Backend Module Structure: Swiftui View Refactor (Dimillian/Skills, 4k stars), RTK Rust Design Patterns (rtk-ai/rtk, 83k stars), Effect Client Wrapper (UsefulSoftwareCo/executor, 4.1k stars) and Architecture Patterns (KartikLabhshetwar/better-shot, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
iflytek (a GitHub organization) maintains it in iflytek/skillhub, which has 5,152 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 1, 2026.
Source: iflytek/skillhub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.