parallel-execution-optimizer
यह क्या करती है
यह टूल काम को छोटे हिस्सों में बांटकर एक साथ करवाने में मदद करता है, ताकि कार्य जल्दी पूरे हों। यह इन हिस्सों को एक plan में व्यवस्थित करता है, और सुनिश्चित करता है कि जो काम एक साथ हो सकते हैं वे parallel चलें, और जो आपस में टकरा सकते हैं वे अलग-अलग चलें।
कब इस्तेमाल करें
- ✓जब बहुत सारी files को तेज़ी से जांचना हो।
- ✓जब सिस्टम के कई हिस्सों को एक साथ test करना हो।
- ✓यह देखने के लिए कि deployment अलग-अलग जगहों पर सफल रहा या नहीं।
Skill का लिंक
https://github.com/affaan-m/ECC/blob/main/pi/core/skills/parallel-execution-optimizer/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“repository की सारी files की जांच तेज़ी से करो और unit tests parallel में चलाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल काम का एक 'map' बनाता है, जिसमें पहचाना जाता है कि कौन से tasks एक साथ (parallel में) हो सकते हैं और किन्हें एक के बाद एक करना होगा। यह सुनिश्चित करता है कि जो tasks एक ही चीज़ बदलते हैं उन्हें सावधानी से और अलग-अलग संभाला जाए, और सब कुछ सही होने की पुष्टि के बाद ही नतीजे जोड़े जाएं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Parallel Execution Optimizer
Use this skill when speed comes from doing independent work at the same time: repo inspection, file reads, API checks, browser checks, build/test lanes, deploy readbacks, or multi-worktree implementation passes.
Core Pattern
Turn urgency into a dependency graph before acting.
- Define the objective and done signal.
- Split work into lanes.
- Mark each lane as parallel, sequential, or gated.
- Run independent reads/checks together.
- Keep writes isolated by file, worktree, branch, service, or dataset.
- Merge only after evidence shows the lanes are compatible.
- End with a verification table, not a vague speed claim.
Lane Matrix
Before a large push, write a compact matrix:
Lane | Can run in parallel? | Write surface | Risk | Verification
Repo scan | yes | none | low | rg/git status outputs
Backend patch | maybe | src/api | medium | unit tests
Frontend patch | maybe | app/components | medium | browser screenshot
Deploy readback | after build | remote service | high | live URL + logs
Only run lanes in parallel when their write surfaces do not collide.
Execution Rules
- Batch file reads, searches, status checks, and metadata queries.
- Use isolated worktrees for large unrelated implementation lanes.
- Start long-running tests, builds, backfills, and deploys in separate sessions, then poll them deliberately.
- If a lane discovers a blocker that changes the plan, pause dependent lanes and update the matrix.
- Never let a background process outlive the turn unless the user explicitly asked for a continuing service.
- Do not parallelize destructive commands, migrations, writes to the same table, or live customer-impacting deploys without an explicit gate.
Output Shape
Use this when reporting:
Parallel execution result:
- Lanes run: 5
- Lanes completed: 4
- Blocked lane: deploy readback, waiting on DNS propagation
- Fast path found: batched repo scan + focused tests
- Verification: lint pass, unit pass, live smoke pass
Failure Modes
- More concurrency that creates conflicting edits.
- Benchmarking the tool instead of the task.
- Treating "fast" as done before correctness is proven.
- Forgetting to poll running sessions.
- Hiding skipped checks behind a success summary.
अक्सर पूछे जाने वाले सवाल
'lanes' क्या हैं?
'Lanes' को हाईवे की लेन की तरह समझें, जिनमें से हर एक काम का एक हिस्सा दर्शाती है। कुछ lanes साथ चल सकती हैं (parallel), जबकि कुछ को इंतज़ार करना पड़ता है।
writes को अलग (isolate) क्यों रखा जाता है?
ताकि काम के अलग-अलग हिस्से एक ही जानकारी को एक साथ न बदलें, जिससे errors हो सकती हैं। जो 'lane' किसी चीज़ को बदलती है, वह अपनी अलग जगह में ऐसा करती है।
मुझे कैसे पता चलेगा कि अंतिम नतीजा सही है?
अंत में टूल एक 'verification table' बनाता है, जिसमें दिखता है कि कौन से tasks पूरे हुए, कौन से रुके, और ज़रूरी जांचों के नतीजे क्या रहे, ताकि काम पूरा मानने से पहले सब कुछ validate हो जाए।
जानकारी
लेखक का मूल विवरण
Speed up a task by turning it into a dependency graph of parallel lanes with a lane matrix, batched reads and checks, write surfaces isolated by file, worktree, branch, or service, and a final verification table. Use when the user wants a task done much faster through parallel work, concurrent agents, batched tool calls, isolated worktrees, or many independent verification lanes without losing cor
repo: affaan-m/ECC
लोकप्रियता
- GitHub स्टार
- 280k
- रैंकिंग में स्थान
- #219
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
accessibility
280kयह आपके एजेंट को ऐसे इंटरफ़ेस बनाने में मदद करता है जिन्हें हर कोई इस्तेमाल कर सके। यह पक्का करता है कि वेबसाइट और ऐप दिव्यांग लोगों के लिए भी अच्छे से काम करें, जैसे नेत्रहीन या जिन्हें चलने-फिरने में दिक्कत होती है।
agent-architecture-audit
280kयह आपके एजेंट को जाँचने देता है कि सब कुछ सही से चल रहा है। यह AI सिस्टम में समस्याएँ ढूँढकर ठीक करता है, ताकि वे उम्मीद के मुताबिक काम करें।
agent-eval
280kयह आपके एजेंट को अलग-अलग AI coding tools की तुलना करने में मदद करता है। यह मापता है कि किसी खास काम के लिए कौन सा टूल ज़्यादा तेज़, सस्ता और भरोसेमंद है।
agent-harness-construction
280kयह आपके एजेंट को काम कैसे करना है, यह बेहतर समझने में मदद करता है। यह उन tools और instructions को बेहतर बनाता है जिनका एजेंट इस्तेमाल करता है, ताकि उसकी सफलता की संभावना बढ़े।
मिलती-जुलती skills
knowledge-automation
394kयह आपके एजेंट को एक नियमित काम सेट करने देती है जो समय-सारणी पर Knowledge vault में नई सामग्री जोड़ता है, फिर जांचता है कि काम चल रहा है।
knowledge-source-ingest
394kयह आपके एजेंट को चैट चैनल, फ़ीड या मेलबॉक्स से आई नई चीज़ों से Knowledge vault अपडेट रखने देती है, बिना वह दोबारा जोड़े जो पहले से है।
watchers
260kआपके एजेंट को RSS फ़ीड, JSON endpoints या GitHub गतिविधि को तय समय पर देखने देती है, और केवल पिछली जांच के बाद नए आइटम की सूचना देती है।