मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग33k · #8732

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/c-pro/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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

  1. No memory leaks - every malloc needs free
  2. Check all return values, especially malloc
  3. Use static analysis tools (clang-tidy)
  4. Minimize stack usage in embedded contexts
  5. 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

repo: davila7/claude-code-templates

लोकप्रियता

GitHub स्टार
33k
रैंकिंग में स्थान
#8732
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

owasp-security

33k

आपके एजेंट को वेब ऐप, API, मोबाइल, कंटेनर और AI एजेंट्स के लिए OWASP सुरक्षा मार्गदर्शन सिखाती है, ताकि वह आम कमज़ोरियाँ पहचान सके और सुधार सुझा सके।

कोडिंगसिक्योरिटी

agent-management

33k

आपके एजेंट को AI Maestro कमांड-लाइन से AI एजेंट बनाने, सूची देखने, hibernate और wake करने, नाम बदलने और हटाने देती है, हर एजेंट के जीवन-चक्र को संभालते हुए।

AI और एजेंटएजेंट

agent-messaging

33k

Agent Messaging Protocol का उपयोग करके AI एजेंट्स के बीच हस्ताक्षरित संदेश भेजने, प्राप्त करने और उनका जवाब देने देती है, ज़्यादातर आपकी अपनी मशीन पर।

AI और एजेंटएजेंट

docs-search

33k

आपके एजेंट को फ़ंक्शन सिग्नेचर, क्लास परिभाषा और कमेंट के लिए ऑटो-जनरेटेड कोड डॉक्यूमेंटेशन खोजने देती है, ताकि कोड बदलने से पहले वह असली API जाँच सके।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills