LEAP
LEAP builds skills through two pipelines: Branch A distills a skill from raw data, while Branch B combines multiple skills into…
SOP for writing, loading, and evolving a project-level convention file (CONVENTIONS.md / CLAUDE.md / .cursor/rules / .clinerules / AGENTS.md) so that a coder-agent reliably respects your codebase's style choices every session. Tool-agnostic; covers the four load mechanics
Claude Code
$ npx -y skills add agentsope/SkillAlchemy --skill agentsop-conventions-pinning --agent claude-code
Codex
$ npx skills add agentsope/SkillAlchemy --skill agentsop-conventions-pinning -a codex -y
Cursor
$ npx skills add agentsope/SkillAlchemy --skill agentsop-conventions-pinning -a cursor -y
Gemini CLI
$ npx skills add agentsope/SkillAlchemy --skill agentsop-conventions-pinning -a gemini-cli -y
GitHub Copilot
$ npx skills add agentsope/SkillAlchemy --skill agentsop-conventions-pinning -a github-copilot -y
OpenCode
$ npx skills add agentsope/SkillAlchemy --skill agentsop-conventions-pinning -a opencode -y
Windsurf
$ npx skills add agentsope/SkillAlchemy --skill agentsop-conventions-pinning -a windsurf -y
name: agentsop-conventions-pinning version: 0.1.0 description: SOP for writing, loading, and evolving a project-level convention file (CONVENTIONS.md / CLAUDE.md / .cursor/rules / .clinerules / AGENTS.md) so that a coder-agent reliably respects your codebase's style choices every session. Tool-agnostic; covers the four load mechanics (read-only attachment, ancestor-walk auto-load, glob-scoped rules, agent backstory) and the conflict resolution between pinned conventions and the existing code. domain: coder-agent infrastructure / context engineering audience: coder-agents and engineers configuring them, on any project lived in for > 1 day trigger_keywords: - "conventions file" - "CONVENTIONS.md" - "CLAUDE.md" - ".cursorrules" - ".clinerules" - "AGENTS.md" - "coding standards for AI" - "style guide for agent" - "agent ignored my rule" - "pin my coding style" when_to_use: - "any project you (or your agent) will return to more than once" - "the same correction has been typed into chat more than twice" - "code review (human or LLM) keeps catching style violations the agent should know" - "onboarding a new agent / new teammate; they need the project's tacit rules in writing" - "you switch coder-tools and want one canonical style source across Aider, Claude Code, Cursor, Cline" when_not_to_use: - "one-off / throwaway scripts where the cost of writing rules > the cost of the work" - "true greenfield where conventions ARE being invented as code; pin AFTER the first 2-3 modules stabilise" - "you need hard enforcement (lint/format/CI) — conventions are guidance, hooks/precommit are enforcement" - "the project already has a lint config that fully encodes the rule — point at the lint config instead"
> One line: a conventions file is **the system prompt of your codebase**. Treat it like a system prompt, not like a README. Anti-patterns: writing prose, narrating history, marketing the project. Patterns: command-first, verifiable, "prefer X over Y", < 200 lines.
---
> A conventions file earns its tokens only if it contains **information that is not already in the repository**. The research is unambiguous on this: *"Developer-written context files performed better for exactly the reason you'd guess: they contained information that wasn't already in the repository — tooling preferences, workflow requirements, conventions that existed in developers' heads but not in any documentation."* [developer.upsun.com/posts/ai/agents-md-less-is-more]
If everything you would write into CONVENTIONS.md is already discoverable from `package.json`, `pyproject.toml`, `.eslintrc`, the test directory, and obvious code patterns — don't write the file. The agent will pre-cache it itself.
---
+-------------------------------------+ +-------------------------------------+
| COMPILE-TIME (conventions file) | | RUNTIME (code review / lint / CI) |
| | | |
| - Loaded once per session | | - Runs on every change |
| - Shapes generation | | - Catches violations after-the-fact|
| - Cheap to update, free to ignore | | - Costly to set up, hard to ignore |
| - "Prefer X over Y" lives here | | - "X must always hold" lives here |
| - Style + intent + preferences | | - Invariants + safety + correctness|
+-------------------------------------+ +-------------------------------------+
^ ^
| Conventions guide; |
| review enforces. |
| Both are needed; they fail |
| in different ways. |Conventions fail by **silent drift**: agent ignores the rule once, no one notices, code is merged. Review fails by **late catch**: violation is found post-PR, expensive to fix. The two complement, not substitute.
Every coder-tool has settled on one of four mechanics for getting persistent context into the agent. Knowing which mechanic your tool uses is
Turn people, methods, and experience into installable, reusable agent skills. SkillAlchemy is an open-world agent skill creation system that turns underspecified skill briefs and open-world sources into installable, reusable agent skills.
LEAP builds skills through two pipelines: Branch A distills a skill from raw data, while Branch B combines multiple skills into…
Lens — Add a cognitive lens to any problem. It accepts a task description and produces an enhanced description that surfaces…
Cross-framework enhancement overlay for choosing a multi-agent topology BEFORE writing any agent. A binary-question rubric — is…
SOP for terminal-based, git-native AI pair programming with Aider (git work-tree + tree-sitter repo-map + edit-format +…
Screens biomedical / life-science papers for signs of data fabrication, image manipulation, and statistical anomalies, using the…
Universal discipline for any LM-driven loop — agent retries, plan-act-observe, multi-agent handoffs, optimiser passes, test-fix…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.