Skip to content

libering/Glue-Coding-Skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 Glue Coding Skill

"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.


⚡ Quick Install

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.

Linux / macOS (Bash)

curl -sSL https://raw.githubusercontent.com/libering/glue-coding-skill/main/install.sh | bash

Windows (PowerShell)

irm https://raw.githubusercontent.com/libering/glue-coding-skill/main/install.ps1 | iex

🛠 Features

This 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.

📖 Usage

Project-Level Installation (Recommended)

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)

Global Installation

If you installed the skill globally, activate it in your AI tool by:

  1. Mentioning keywords: "use glue coding approach", "apply glue coding pattern"
  2. Linking the skill file: @glue-coding or @skill.md
  3. Direct reference: "follow the glue coding skill guidelines"

📜 License

MIT

Glue-Coding-Skill

About

AI軟件工程的銀彈/ The silver bullet of software engineering

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors