"Almost entirely reuse mature open-source components, and combine them into a complete system with a minimal amount of glue code." “尽可能复用成熟的开源组件,通过极少量的胶水代码将它们组合成完整的系统。”
A skill for AI agents to act as systems integrators, emphasizing "connecting" over "creating" when building software. It fully supports Cursor's modern .mdc format, .clinerules, and .windsurfrules.
The installation script automatically detects if you are in a project directory.
If run in a project root, it will install the skill locally (.cursor/rules/glue-coding.mdc, .clinerules, .windsurfrules).
If run elsewhere, it falls back to global installation.
curl -sSL https://raw.githubusercontent.com/libering/glue-coding-skill/main/install.sh | bashirm https://raw.githubusercontent.com/libering/glue-coding-skill/main/install.ps1 | iexThis skill guides AI agents to:
- ✅ Stop Reinventing the Wheel: Reuse mature open-source components instead of writing from scratch.
- ✅ Resilience: Wrap API calls with Timeouts, Retries (Exponential Backoff), and Circuit Breakers.
- ✅ Security: Validate cross-boundary data with runtime schema validation (
zod,pydantic). - ✅ Idempotency: Enforce idempotency checks for message queue consumers and webhooks.
- ✅ Immutability: Never modify upstream third-party code.
By running the install script in your project root, the AI will automatically load the rules when editing integration-related files (via Glob matching). No manual activation is required for:
- Cursor (
.cursor/rules/*.mdc) - Cline / Roo Code (
.clinerules) - Windsurf (
.windsurfrules)
If you installed the skill globally, activate it in your AI tool by:
- Mentioning keywords: "use glue coding approach", "apply glue coding pattern"
- Linking the skill file:
@glue-codingor@skill.md - Direct reference: "follow the glue coding skill guidelines"
MIT