Introduction¶
When using AI to modify code, the common frustration isn’t the inability to “write” code, but rather “writing and then forgetting”: boundary conditions fixed yesterday are stumbled over again in a new conversation today; related files, historical pitfalls, and design documents are scattered elsewhere, making every file opening feel like the first time for the Agent.
Simply repeating “be careful” or “remember the context” in prompts rarely forms a stable closed loop. Below is an introduction to Vibe Coding Rules on SkillHub (Coordinate @org-121tp3g2/vibe-coding-rules): Officially positioned as the V2.5 “Programming Discipline Exoskeleton,” it uses 6 self-evolving Skills to form a pipeline of pre-modification self-checks, secure execution, post-modification scanning, automated regression, and change archiving, supplemented by file header breadcrumbs and a rule self-growth mechanism.
What is This¶
Vibe Coding Rules is a set of Skill combinations designed for AI coding Agents. It is published by Yunnan Tangbuping Network Technology Co., Ltd. and categorized under dev-programming on SkillHub. The current package version is v1.0.0 (the V2.5 mentioned in the page description refers to the product generation). requires_api_key=false, so no additional API Key is needed.
The core problem it solves can be summarized as: Reducing repeated mistakes and context amnesia in stateless conversations, turning discipline from a “verbal agreement” into automatically triggered steps.
Core Features¶
The following capabilities are derived from the official SkillHub description, explained in pipeline order.
Six-Stage Closed-Loop Pipeline¶
The official description states that 6 self-evolving Skills form a continuous workflow, where each step is automatically triggered to form a closed loop:
- Pre-modification Self-Check against Five Principles: Perform principle-level checks before touching the code.
- Secure Terminal Execution: Constrain or standardize terminal-side execution methods (capabilities related to secure execution are carried by rules within the Skill).
- Post-modification Scan against 28 Rules: Scan according to 28 rules after submitting changes, rather than relying on manual recollection of a checklist.
- Playwright Automated Regression Testing: Integrate Playwright for automated regression.
- Automatic Change Log Archiving: Automatically archive change records for easy traceability.
(The description explains the above steps as a closed loop with “zero manual intervention”; specific sub-Skill names and rule texts are subject to the SKILL.md and attached files in the installation package.)
Breadcrumb System¶
Every time code is modified, navigation markers are automatically written into the file header, pointing to, for example: coupled file locations, historical pitfalls, design document links, etc. The next time the Agent opens the same file, it can quickly restore context from the header markers, mitigating “cross-session amnesia.”
Self-Growing Rules¶
If the same type of Bug appears repeatedly reaching the officially described threshold (3 times), it can be automatically upgraded to a hard rule, which the Agent must not violate in the future. The rule set accumulates with project usage, serving as a discipline layer that gets “stricter with use” rather than a static prompt.
Compatibility and License¶
- Supports Agent environments such as CodeBuddy / Cursor / Windsurf (install to the corresponding Agent’s skills directory to be recognized).
- Apache 2.0 open source, free for commercial use.
Installation and Activation¶
The Skill is based on the universal SKILL.md format. Two equivalent paths are provided officially: install via SkillHub CLI, or hand the installation prompt to the current Agent to execute.
Method 1: SkillHub CLI¶
First, confirm if skillhub is available on your machine:
command -v skillhub && skillhub --version
If not installed, follow the SkillHub installation documentation for a full installation (including CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
When installing this Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/, which the Agent may not be able to load. Common path example for Cursor:
skillhub install org-121tp3g2/vibe-coding-rules --dir ~/.cursor/skills/
For Windsurf, refer to the official paths: ~/.codeium/windsurf/skills/ or .windsurf/skills/ under the project. For other Agent directories, refer to Section 4 of the SkillHub Installation Guide.
After installation, restart or refresh the Agent as required by your Client to enable the skills directory.
Method 2: Let the Agent install via documentation¶
The prompt provided on the SkillHub page is:
Please install `@org-121tp3g2/vibe-coding-rules` according to https://skillhub.cn/install/skillhub.md.
Send the above content to your current coding Agent, allowing it to complete the CLI check, --dir installation, and directory verification based on skillhub.md.
Typical Usage¶
The official documentation does not provide specific business code examples; the reproducible “usage” is simply to let the pipeline run automatically every time code is modified:
- Enable the installed
@org-121tp3g2/vibe-coding-rulesin Cursor / Windsurf / CodeBuddy. - Initiate normal coding tasks (Bug fixing, feature addition, refactoring, etc.). The Skill will trigger the Five Principles self-check before modification, follow terminal security policies during execution, and trigger the 28-rule scan after modification.
- When regression is needed, the Playwright stage in the pipeline handles automated testing; upon completion, changes are automatically archived.
- Observe whether breadcrumb markers appear in the header of modified files; open the same file again in a cross-session context to confirm the Agent can read the coupled files and document pointers.
- If a certain type of error repeats multiple times, observe whether it is written into the discipline layer according to the “upgrade to hard rule after three occurrences” mechanism (specific triggering and display depend on the rule implementation within the package).
Playwright and the project testing environment must have the corresponding dependencies available locally or in CI; the Skill describes the integration points and discipline flow, but does not replace your project’s own test configuration.
Use Cases and Notes¶
Who is it for
- Teams or individuals who use Agents to maintain the same repository for long periods and are troubled by repeated Bugs, context breaks, and lack of scanning/archiving after modifications.
- Those who want to unify a set of “coding disciplines” across Cursor, Windsurf, and CodeBuddy, rather than writing ultra-long system prompts every time.
Limitations and Notes
- SkillHub metadata is v1.0.0. When coexisting with the V2.5 in the description, verify the rule count and sub-Skill division based on the actual content of the installation package and
SKILL.md. - The pipeline includes Playwright regression: if there is no browser testing foundation or the environment is restricted, you need to evaluate whether this stage can run.
- Rule self-growth relies on historical repetition pattern recognition; the threshold is based on the official “3 times” description. Whether it covers all defect types in your project needs to be verified in the actual repository.
- Installation must use the correct
--dir; installing in the wrong directory is a common reason for Agents “installed but not used.”
Conclusion¶
Vibe Coding Rules connects pre-modification self-checks, secure execution, post-modification 28-rule scanning, Playwright regression, and change archiving into an automated closed loop. It uses file header breadcrumbs and upgradable hard rules to alleviate Agent amnesia and repeated mistakes. If you search for programming Skills on SkillHub, you can view ratings and download counts on the page (as of data capture: Rating 100000, Downloads 1435).
- SkillHub Page: https://www.skillhub.cn/skills/org-121tp3g2/vibe-coding-rules
- API Coordinate: https://api.skillhub.cn/org-121tp3g2/vibe-coding-rules
- Installation Guide: https://skillhub.cn/install/skillhub.md