ce-compound
यह क्या करती है
यह स्किल किसी सुधार के पीछे के तर्क को उसके सबसे सस्ते टिकाऊ रूप में सहेजती है, जैसे टेस्ट या दस्तावेज़ी नियम। यह पुराने सहेजे गए सबकों की भी समीक्षा कर सकती है, ताकि पुराने या दोहराव वाले नोट्स मिलें।
कब इस्तेमाल करें
- ✓जब आपने कोई जटिल समस्या हल की और चाहते हैं कि सबक बना रहे ताकि वह फिर न लौटे।
- ✓जब आप चाहते हैं कि पुराने सहेजे गए सबक मौजूदा कोडबेस से जाँचे जाएँ।
- ✓जब आप चाहते हैं कि पुराने या दोहराव वाले नोट्स साफ़ हों।
Skill का लिंक
https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-compound/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमने अभी वह टोकन रोटेशन बग ठीक किया है। क्या आप सबक सहेज सकते हैं ताकि हम उससे फिर न टकराएँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल जाँचती है कि सबक योग्य है या नहीं, फिर दोहराव रोकने वाला सबसे हल्का रूप चुनती है और उसे लिखती है। refresh मोड में वह मौजूदा नोट्स को कोड से जाँचती है और पुराने हटाने का सुझाव दे सकती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
/ce-compound
Choosing the job
This skill does one of two jobs. Capture holds the lesson of one solved problem. Refresh audits the existing learnings against the current codebase and can delete docs and open a PR.
Run refresh when the arguments contain mode:refresh, or when an interactive run was invoked to do one, as in /ce-compound refresh payments, "clean up the learnings", or a standalone request to create CONCEPTS.md. An earlier remark in the session does not count. Read references/refresh/overview.md and follow it instead of the rest of this file. The refresh references name the parts of this file they reuse.
Otherwise run capture. A non-interactive run without mode:refresh is always capture, whatever its context says. Capture takes free-text context, so refresh token rotation after fixing that bug is a capture. If an interactive run's words could mean either job, ask once with the host's blocking question tool, and capture if there is no answer.
Capture
Outcome: the lesson of one qualifying solved problem is held in the cheapest form that stops the repeat, grounded against the current tree, discoverable by the next agent.
Done: the chosen form is written or updated and validated, vocabulary capture recorded, and the mode's completion report emitted; when no lesson qualifies, nothing is written and the report says why.
One learning per run. A session that produced several gets several sequential runs, never one batched run. Read references/research.md; it explains what batching breaks.
Preconditions
Document only a problem that is solved and verified.
<!-- ce-durable-bar:start -->A learning earns its place only when it holds durable project reasoning that is not readily recoverable from the final code, tests, types, comments, or existing documentation, and losing it would plausibly cause recurrence, material risk, or substantial rediscovery. Apply this counterfactual: if the learning document disappeared, would a future engineer reading the final implementation still be likely to repeat the mistake or redo substantial investigation? Completion, effort, and diff size do not establish eligibility.
<!-- ce-durable-bar:end -->If the counterfactual fails, write nothing and report why. Judge this from the session rather than asking. An explicit invocation requests the judgment now but does not lower the bar.
An existing learning that became materially inaccurate or incomplete qualifies because leaving it would mislead. Update that learning instead of creating a duplicate.
Mode Detection
/ce-compound [brief context]
/ce-compound mode:non-interactive depth:lightweight [context]
/ce-compound mode:non-interactive depth:full [context]
Enter non-interactive mode when either holds: the arguments you were invoked with contain the mode:non-interactive token or its deprecated alias mode:headless, or the invocation makes non-interactive intent unmistakable, such as a caller or standing instruction asking to run ce-compound "headless", "non-interactively", "unattended", or "without prompts/questions". Both tokens together is not a conflict. Bare "automatically" or "auto-run" is not on its own a non-interactive signal: it speaks to invoking the skill, not to suppressing its prompts. An ambiguous or absent signal defaults to interactive. Tokens starting with mode: or depth: are flags, not context: strip them before treating the remainder as the brief context hint. Once detected, non-interactive mode applies for the entire run.
references/modes.md decides depth, including what a depth: token does.
Non-interactive mode asks nothing. It asks no blocking question of any kind, in any phase, because a caller reaching this path has no human to answer one. Every non-interactive exit, including one taken before any phase runs, ends on a terminal signal a caller parses: Documentation complete, or Documentation skipped with the reason when the run wrote nothing. Interactive mode asks only where a step's own reference says to.
Artifact Root
Resolve <root> when you first compose a <root>/solutions/ path, and pass a subagent the resolved path rather than the config.
Resolve the CE artifact root <root> before composing any artifact path.
- Read
docs_rootfrom<repo-root>/.compound-engineering/config.yamlonly (<repo-root>=git rev-parse --show-toplevel). Do not read it from
अक्सर पूछे जाने वाले सवाल
यह कौन सा सबसे सस्ता रूप चुनती है?
यह पहले टेस्ट या lint नियम को प्राथमिकता देती है, फिर coding standard, और लिखित नोट केवल ज़रूरत पड़ने पर।
क्या यह नियमित सुधारों को छोड़ देती है?
हाँ। यह उन नियमित सुधारों से बचती है जिनका कोड और टेस्ट पहले से सबक समझा देते हैं।
क्या यह पुल रिक्वेस्ट खोल सकती है?
refresh मोड में यह पुराने दस्तावेज़ हटा सकती है और पुल रिक्वेस्ट खोल सकती है।
जानकारी
लेखक का मूल विवरण
Capture a solved problem's lesson in its cheapest durable form, a test or lint rule, a coding standard, or a repo learning, or refresh existing learnings against the codebase. Use when verified work produced non-obvious reasoning absent from its final code, tests, or existing docs, or when auditing stale, overlapping, or drifted learnings. Avoid routine fixes whose artifacts already explain the lesson.
लोकप्रियता
- GitHub स्टार
- 26k
- रैंकिंग में स्थान
- #10025
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
ce-babysit-pr
26kयह आपके एजेंट को खुली GitHub पुल रिक्वेस्ट को समय के साथ मर्ज की ओर बढ़ाते रहने में मदद करती है, रिव्यू टिप्पणियाँ, विफल जाँचें और पुरानी ब्रांच सँभालकर।
ce-bakeoff
26kयह आपके एजेंट को किसी समस्या के कई प्रतिस्पर्धी समाधान बनाने, उनकी तुलना करने और सबसे मज़बूत हिस्सों को मिलाकर एक सुझाया गया तरीका बनाने में मदद करती है।
ce-brainstorm
26kयह आपके एजेंट को कोई भी काम शुरू होने से पहले एक छोटी, निर्देशित बातचीत के ज़रिए एक धुंधले विचार को साफ़ और सही आकार की आवश्यकताओं में बदलने में मदद करती है।
ce-code-review
26kयह आपके एजेंट को किसी नामित कोड बदलाव या पुल रिक्वेस्ट की बग, रिग्रेशन, गायब टेस्ट और मानकों की समस्याओं के लिए समीक्षा करने और साफ़ निष्कर्ष रिपोर्ट करने में मदद करती है।
मिलती-जुलती skills
technical-documentation
394kयह आपके एजेंट को साफ़ तकनीकी डॉक्स और एजेंट निर्देश फ़ाइलें लिखने और जांचने में मदद करती है, ताकि लोग और AI टूल उन्हें आसानी से समझ सकें।
architecture-decision-records
280kयह आपके एजेंट को project structure से जुड़े ज़रूरी फैसलों को दर्ज करने देता है। इससे पता चलता है कि कोई चुनाव क्यों किया गया, और बदलावों का साफ़ इतिहास बना रहता है।
code-tour
280kआपके एजेंट को exact file और line references के साथ step-by-step code walkthrough बनाने देता है। intro, explanations और reviews के लिए उपयोगी है।