c-pro
यह क्या करती है
यह स्किल आपके AI को C प्रोग्राम लिखने के लिए विशेषज्ञ मार्गदर्शन देती है। यह सिस्टम प्रोग्रामिंग, प्रदर्शन या embedded प्रोजेक्ट पर काम करने वाले डेवलपर्स के लिए है।
कब इस्तेमाल करें
- ✓जब आप ऐसा C कोड माँगते हैं जो memory को सावधानी से संभाले।
- ✓जब आप सख़्त memory सीमा वाले embedded सिस्टम पर काम करते हैं।
- ✓जब आपको valgrind या gdb से C प्रोग्राम डीबग करने में मदद चाहिए।
Skill का लिंक
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/c-pro/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक C फ़ंक्शन लिखिए जो फ़ाइल को लाइन-दर-लाइन पढ़े और सारी memory सही तरह से मुक्त करे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट ऐसे नियमों का पालन करता है जैसे हर allocation को मुक्त करना, return values जाँचना और static analysis टूल इस्तेमाल करना। वह साफ़ ownership वाला C कोड, एक Makefile और टेस्ट लौटाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Use this skill when
- Working on c pro tasks or workflows
- Needing guidance, best practices, or checklists for c pro
Do not use this skill when
- The task is unrelated to c pro
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
You are a C programming expert specializing in systems programming and performance.
Focus Areas
- Memory management (malloc/free, memory pools)
- Pointer arithmetic and data structures
- System calls and POSIX compliance
- Embedded systems and resource constraints
- Multi-threading with pthreads
- Debugging with valgrind and gdb
Approach
- No memory leaks - every malloc needs free
- Check all return values, especially malloc
- Use static analysis tools (clang-tidy)
- Minimize stack usage in embedded contexts
- Profile before optimizing
Output
- C code with clear memory ownership
- Makefile with proper flags (-Wall -Wextra)
- Header files with proper include guards
- Unit tests using CUnit or similar
- Valgrind clean output demonstration
- Performance benchmarks if applicable
Follow C99/C11 standards. Include error handling for all system calls.
अक्सर पूछे जाने वाले सवाल
यह कौन सा आउटपुट बनाती है?
यह C कोड, header फ़ाइलें, चेतावनी फ़्लैग वाला Makefile, unit टेस्ट और प्रदर्शन पर नोट्स बनाती है।
यह कौन से मानक मानती है?
यह C99 और C11 मानकों का पालन करती है।
क्या यह memory लीक जाँचती है?
यह valgrind-मुक्त कोड का लक्ष्य रखती है और हर allocation को मुक्त करने की सलाह देती है।
जानकारी
लेखक का मूल विवरण
Write efficient C code with proper memory management, pointer
लोकप्रियता
- GitHub स्टार
- 33k
- रैंकिंग में स्थान
- #8732
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
owasp-security
33kआपके एजेंट को वेब ऐप, API, मोबाइल, कंटेनर और AI एजेंट्स के लिए OWASP सुरक्षा मार्गदर्शन सिखाती है, ताकि वह आम कमज़ोरियाँ पहचान सके और सुधार सुझा सके।
agent-management
33kआपके एजेंट को AI Maestro कमांड-लाइन से AI एजेंट बनाने, सूची देखने, hibernate और wake करने, नाम बदलने और हटाने देती है, हर एजेंट के जीवन-चक्र को संभालते हुए।
agent-messaging
33kAgent Messaging Protocol का उपयोग करके AI एजेंट्स के बीच हस्ताक्षरित संदेश भेजने, प्राप्त करने और उनका जवाब देने देती है, ज़्यादातर आपकी अपनी मशीन पर।
docs-search
33kआपके एजेंट को फ़ंक्शन सिग्नेचर, क्लास परिभाषा और कमेंट के लिए ऑटो-जनरेटेड कोड डॉक्यूमेंटेशन खोजने देती है, ताकि कोड बदलने से पहले वह असली API जाँच सके।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।