सारांश:
arka code init . से repo initialize करें, skill execution के लिए security gates के साथ agent mode चालू रखें, Cursor के अंदर Arka को expose करने के लिए MCP उपयोग करें, और merges से पहले repo health चलाएँ। Arka आपके editor का पूरक है — तेज़ asks, reviews, और CI के लिए टर्मिनल; MCP पर जुड़ने पर inline diffs के लिए Cursor।अवलोकन
Coding करते समय तीन हिस्से साथ काम करते हैं:
Arka आपके editor का विकल्प नहीं है — यह उसका पूरक है। तेज़ asks, reviews, CI, और autonomous edits के लिए टर्मिनल का उपयोग करें; जब Arka MCP पर जुड़ा हो तो inline diffs के लिए Cursor का उपयोग करें।
Coding के लिए setup
रोज़ के workflow से पहले, प्रति मशीन (या प्रति repo) यह एक बार चलाएँ।1
Agent mode की पुष्टि करें
Agent mode default है। जाँच या switch:
2
कोड project initialize करें
writes को एक repository root तक सीमित करें:या पुराना alias उपयोग करें:
arka code init .। goal agent, self improve --apply, और अन्य write skills इसी folder में रहेंगे जब तक आप arka code clear न करें या दूसरा path init न करें।3
Spaces वाले Paths
जब किसी अन्य directory से initialize करें, तो project path को एक बार quote में डालें; Arka
उसे बाद के CLI और MCP calls के लिए internal रूप से संभालता है:
4
वैकल्पिक: fish shell
Fish पूरे 70+ skill router और प्राकृतिक-भाषा aliases (
agent "…", pr_check babysit, आदि) को अनलॉक करता है। bash/zsh से, स्पष्ट arka subcommands का उपयोग करें — वे उसी तरह काम करते हैं।5
Cursor जोड़ें (अनुशंसित)
IDE agent को MCP पर Arka skills call करने दें:प्रिंट किया गया snippet Cursor Settings → MCP में paste करें (या Arka repo में project-level
.cursor/mcp.json उपयोग करें)। एकाधिक coding agents के लिए साझा MCP के लिए, arka agent_hub sync --unify चलाएँ। देखें Agent Hub और MCP integration।रोज़ का workflow
प्राकृतिक भाषा या स्पष्ट commands उपयोग करें — Arka दोनों को route करता है।पूछें और समझें
अनजान codebase में खुद को उन्मुख करें:arka ask web-answer skill चलाता है; gemini explain कोड-केंद्रित explanations के लिए Gemini CLI integration उपयोग करता है। वर्तमान project के structured tree के लिए repo map उपयोग करें।
कोड edit करें
goal agent open-ended कार्यों (debug, env setup, tests चलाना) के लिए सर्वश्रेष्ठ है। Coding workflows execution से पहले स्पष्ट skill sequence सूचीबद्ध करते हैं — जब आप predictable steps चाहते हैं तब उपयोगी। Structure read-only है; यह moves सुझाता है लेकिन कभी files नहीं हटाता।
Review
Commit से पहले issues पकड़ें:arka dev ship एक ही step में staged review + changed-only CI चलाता है। arka dev review (या arka review --staged) project rules के विरुद्ध diff जाँचता है और बिना matching tests वाली बदली गई source files के लिए test-gap hints सामने लाता है। Council design decisions के लिए multi-persona deliberation चलाता है। Teammate review workspace discovery से cross-service impact flag करता है।
पूरा Developer loop guide देखें।
Test और CI
PR खोलने से पहले locally बदलाव gate करें:arka dev test changed-only CI gates चलाता है (जैसे arka ci --changed)। किसी भी project में generic lint/test detection के लिए repo_health उपयोग करें। arka dev pr babysit GitHub CI पर तब तक loop करता है जब तक PR merge-ready न हो। देखें Repo health और Developer loop।
incremental gates के लिए pre-commit hooks install करें:
arka dev hooks install हर commit पर arka ci --changed और arka review --staged --fail-on-hints चलाता है।Self-improve
जब आप Arka पर ही (या tests और routing वाले किसी भी repo पर) काम कर रहे हैं:--apply के लिए agent mode ज़रूरी है। देखें Self-improve loop।
Coding के दौरान operation modes
Cursor और IDE integration
Cursor chat में, agent से
arka_ask, arka_skill, arka_repo_map, या arka_recall को call करने को कहें। टर्मिनल से, वही tools arka mcp call arka <tool> के माध्यम से उपलब्ध हैं।
उदाहरण सत्र
अभी clone किए गए repo में एक असली पाँच-मिनट का flow:अगले कदम
Goal agent
Step budgets के साथ autonomous multi-step coding कार्य।
Coding workflows
Feature, bugfix, और audit work के लिए deterministic skill sequences।
MCP integration
Arka को Cursor और external MCP servers से जोड़ें।
Self-improve
Routing, tests, और docs का विश्लेषण; safety gates के साथ fixes लागू करें।
Repo health
Local CI mirror, review gates, और pre-commit hooks।
Agent Hub
ollama launch agents के लिए साझा MCP, memory, और skills।