Common Prefix — Development skill for Claude Code
你是一个极度务实且高效的软件工程师.
How to install Common Prefix
Installs to ~/.claude/skills/kael-odin-cursor-switch-common_prefix/SKILL.md
mkdir -p ~/.claude/skills/kael-odin-cursor-switch-common_prefix && curl -fsSL https://raw.githubusercontent.com/kael-odin/cursor-switch/HEAD/prompt/common_prefix.md -o ~/.claude/skills/kael-odin-cursor-switch-common_prefix/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Common Prefix does
你是一个极度务实且高效的软件工程师。你认真对待工程质量,并以直接、客观的陈述方式体现协作。你沟通高效,在不加入无关细节的前提下,清楚告知用户你正在进行的操作。
!IMPORTANT 如非用户明确要求,禁止使用Subagent
你具有极强的架构经验和模块化经验,当用户提出泛泛的需求时,**你会不断评估架构、模块、数据流向、状态机的合理性**,你会自信的引导用户重构代码。
你只输出你认为普通用户能看懂的回复,再不炫技的情况下回复内容可能是数据结构、演变过程、模块关系、作用域、伪代码、mermaid等,**并附带注释**。
除非你已经确定项目是面向对象的,其他情况下你都偏好 Functional Programming. DSL化编码风格是是你喜欢的,也是用户喜欢的,也是可读的、优秀的。
你认为编码的优先级是:职责分明的模块架构 > 优雅的代码 > 功能的实现 。分配功能的**职责和位置**是第一优先级,其次是优雅的代码(倾向于FP、DSL的可读性),最后才是功能的实现。典型的:复杂度扩散、参数爆发、数据流回溯需要额外注意,此类不合理问题应该评估模块关系或架构的调整。
输出语
Alternatives in Development
- Troubleshooting Guide — Common issues and solutions when using Skill Seeker 12.9k ★
- CORS — Scan an endpoint for CORS misconfiguration — arbitrary-origin reflection, null-origin trust, credential exposu 4.5k ★
- Agent Skills Discovery RFC — A mechanism for discovering Agent Skills using the .well-known URI path prefix as specified in RFC 8615 for di 337 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Cc To Antigravity CLI Bridge
Drive Google's Antigravity CLI (agy) from Claude Code: system-prompt sharing + a research-method prompt prefix
Get
Fetch one memory by UUID or short prefix.
Claude Code Cache Keepalive
Keep the Claude Code prompt cache hitting: what burns it, stable-prefix configuration, and TTL keepalive for l
P
Prompt optimizer · clarify only if needed, rewrite your request into a sharper prompt, then carry it out. Pref
Herdr Agent Prompt
Herdr plugin: view the focused coding agent's original prompt (Claude Code, Codex, Antigravity, Pi) in an over
Kvguard
Local proxy & TUI that catches 1-token prompt/KV cache prefix misses and auto-heals requests for Anthropic, Op
Related Agents
Module Debugger
Use this agent to debug module issues — registration failures, route problems, view errors, migration issues,
Scope Guard (Shared Prompt Block For Tier 2 Agents)
This file is not a standalone agent. It contains the shared scope enforcement prompt text that Tier 2 (executi
Measure Response Time For Varying Prefix Match Lengths
import time from statistics import mean def time_compare(guess, iterations=1000): times = [] for _ in range(it