Preface¶
When using tools like Cursor or Claude Code to modify code, common issues include: the model being unaware of your directory conventions, skipping tests after modifications, arbitrary commit messages, and lint/pre-commit hooks effectively being non-existent. Conversely, if you have to explain the tech stack and standards from scratch in every conversation, the context window fills up quickly.
The AI Dev Workflow introduced below is an Agent Skill on SkillHub. Its goal is not to write business features for you, but to establish a reproducible process for existing repositories: “Detect project type → Apply engineering templates → Write AI context and prompts.” While the public SkillHub description still summarizes it in three sentences (“Requirements → Complex feature description → Method call structure → Complete project code”), this article describes the actual behavior based on the SKILL.md found in the v1.0.1 package obtained via skillhub install.
What is this¶
AI Dev Workflow (package name @indiv-wangjiaocheng/ai-dev-workflow) is published by the SkillHub community. The page categorizes it under AI Agent and Workflow Orchestration, and it has passed security scans by Kone Labs and Yunding Labs. Under the universal SKILL.md format, it strings together multi-language project lint, tests, commit, pre-commit, and AI context configurations (like CLAUDE.md) into fixed steps.
Official Entry Points:
- SkillHub Skill Page: https://skillhub.cn/skills/ai-dev-workflow
- API Path from task clues: https://api.skillhub.cn/user_e02e04b8/ai-dev-workflow (Direct browser GET may return 405; installation and content are subject to the SkillHub CLI and the skill page)
Core Features¶
Based on the installed v1.0.1 package, the capabilities can be summarized as follows.
Automatic Project Detection¶
The Agent should execute the script included in the package to identify the language and framework of the target repository and output JSON (containing language, framework, existing_config, recommendations):
python scripts/detect_project.py <project_root_directory>
Supported signals include: pyproject.toml / requirements.txt (Python), package.json (Node), go.mod (Go), Cargo.toml (Rust), as well as framework clues for Flask, FastAPI, Django, Express, Koa, NestJS, etc.
Loading Convention Documents by Stack¶
Conventions are split by language under references/ (e.g., python-conventions.md, node-conventions.md, go-conventions.md, rust-conventions.md) and combined with general-conventions.md (covering dimensions like commit, test coverage, code review). Only load files relevant to the current project to avoid stuffing all references into the context at once.
Engineering Template Copying¶
Templates are copied from assets/templates/<language>-<framework>/ to the user’s project. The overwrite strategy is: existing files are first backed up as <file>.bak rather than overwritten directly. Some template filenames need to be renamed upon landing on disk, for example: gitmessage.txt → .gitmessage, pre-commit-config.yaml → .pre-commit-config.yaml, claude-settings.json → .claude/settings.json.
Templates for each stack typically include: dependency and lint configurations, pre-commit, CLAUDE.md, .claude/settings.json, commit templates, etc.; on the Rust side, the project’s existing Cargo.toml will not be overwritten.
AI Context and Five Prompt Types¶
Guides the user to fill in CLAUDE.md (or .cursorrules / AGENTS.md) structurally, and can copy five templates from assets/templates/common/prompts/ to the project’s prompts/ directory:
01-new-feature.md— New Feature Development02-test-generation.md— Test Generation03-code-review.md— Code Review04-commit-message.md— Conventional Commits style commit messages05-doc-generation.md— README / API / CHANGELOG Documentation
Supporting instructions can be found in references/claude-md-template-guide.md and references/prompts-usage-guide.md.
Explicitly Excluded Scope¶
SKILL.md clearly states: It does not write business code, does not replace language tutorials, does not set up complete CI/CD (only possibly provides GitHub Actions templates), and does not perform complex container orchestration (only basic Docker-related templates).
Installation and Enablement¶
Install SkillHub CLI¶
If the CLI is not installed, follow the official SkillHub installation documentation (full install or CLI only):
command -v skillhub && skillhub --version
# Full installation (CLI + Default Skill, recommended)
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
# Install CLI only
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Instructions: https://skillhub.cn/install/skillhub.md
Install AI Dev Workflow¶
Search and installation commands (namespace is subject to CLI search results):
skillhub search ai-dev-workflow
skillhub install ai-dev-workflow --namespace indiv-wangjiaocheng --dir <current_agent_skills_directory>
Must use --dir to point to the skills directory recognized by your current tool; otherwise, defaulting to ./skills/ may prevent the Agent from loading it. Common paths:
| Tool | Skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
Alternatively, you can send the installation prompt from the SkillHub skill page to the Agent. The text is: Install @indiv-wangjiaocheng/ai-dev-workflow according to https://skillhub.cn/install/skillhub.md.
After installation, refresh or restart according to the requirements of your client so the new Skill enters the context.
Typical Usage¶
Below is a reproducible path consistent with SKILL.md (operate within an Agent that has enabled this Skill).
- Trigger: When the user expresses intentions like “standardize engineering,” “configure pre-commit,” “write CLAUDE.md / Cursor rules,” or “improve test coverage,” the Agent should load this Skill.
- Detect: Run
scripts/detect_project.pyin the project root directory and select the language and framework based on the JSON results. - Read Conventions: Read the corresponding language markdown from
references/as needed; do not load irrelevant stacks. - Copy Templates: Copy files from
assets/templates/...to the project, handling filename mappings and.bakbackups. - Customize Context: Fill in
CLAUDE.mdetc. according to the structure in Section 4 ofSKILL.md. - Deliver Prompts: Copy the five files from
assets/templates/common/prompts/to the project’sprompts/and use them according to the guide.
The third step of SKILL.md also mentions running scripts/install_workflow.py <project_root_directory> after installation to install dependencies like ruff/pytest, eslint, and configure git commit templates and pre-commit; however, the current v1.0.1 package only contains scripts/detect_project.py. If the Agent cannot find install_workflow.py, it should switch to manually installing dependencies and hooks based on the templates and instructions in references, or confirm with the SkillHub maintainers whether future versions will include the script.
Applicable Scenarios and Notes¶
More Suitable For: Teams or individuals with existing code repositories who want to unify lint / tests / commit / pre-commit and let Claude Code, Cursor, etc. understand project rules via CLAUDE.md.
Less Suitable For: Generating complete front-end and back-end applications from scratch (the “produce complete project in three steps” in the SkillHub intro is inconsistent with the SKILL.md in the current package; do not fabricate steps based on the intro); also not suitable for expecting the Skill to directly implement business features.
Other Notes:
- Version: The SkillHub skill page and installation metadata show v1.0.1; the update log within
SKILL.mdalso mentions Rust template supplements in v1.1 (2026-10-16). Subject to your local installed package. - Data Caliber: SkillHub ratings, download counts in task clues, and real-time displays on the skill page may not be synchronized; the page previously showed approximately 853 downloads and an AI rating of 4.2. When citing statistics, refer to what you see when opening the skill page.
- Security: The skill page displays third-party security report links. Review them according to team norms before installation.
Conclusion¶
AI Dev Workflow turns “Detect Stack → Apply Templates → Configure AI Context and Prompts” into an executable Skill for Agents, making it suitable for standardizing the collaboration boundaries between humans and AI in existing projects. Installation and instructions are subject to SkillHub: