c-pro
/c-pro
Pisze wydajny kod w C z zarządzaniem pamięcią, arytmetyką wskaźników i wywołaniami systemowymi, także dla systemów wbudowanych i modułów jądra.
- Autor
- rmyndharis ↗
- Repozytorium
- antigravity-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 07.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 07.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pisze wydajny kod w C z zarządzaniem pamięcią, arytmetyką wskaźników i wywołaniami systemowymi, także dla systemów wbudowanych i modułów jądra.
Oryginalny opis (EN)
Write efficient C code with proper memory management, pointer arithmetic, and system calls. Handles embedded systems, kernel modules, and performance-critical code. Use for C optimization, memory issues, or system programming.
Jak działa
- Use this skill when
- Do not use this skill when
- Instructions
- Focus Areas
- Approach
- Output
Podgląd SKILL.md
--- name: c-pro description: Write efficient C code with proper memory management, pointer arithmetic, and system calls. Handles embedded systems, kernel modules, and performance-critical code. Use for C optimization, memory issues, or system programming. metadata: model: opus --- ## 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. 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.
Wersje
W bazie nie ma innych skilli o nazwie c-pro.
Migawka bazy z 13.11.2026 · wersja paczki 07b507ecbacd (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100c-modern-c23-memory-management
Pomaga pisać wydajny kod systemowy w C23, z ręcznym zarządzaniem pamięcią i zapobieganiem przepełnieniom buforów. - 90agent-cpp-expert
Działa jako subagent specjalista od C i C++ (C++17, 20, 23), CMake, programowania systemowego i zarządzania pamięcią, w tym debugowania problemów z pamięcią. - 95matlab-performance-optimizer
Przyspiesza kod MATLAB przez wektoryzację, zarządzanie pamięcią i profilowanie, gdy kod działa za wolno. - 100cpp-pro
Wspiera budowę wydajnych systemów w nowoczesnym C++20/23: metaprogramowanie szablonów, abstrakcje bez narzutu, programowanie systemowe, wbudowane i aplikacje krytyczne wydajnościowo. - 100cpp-expert
Wspiera nowoczesny C++ (17/20/23): bezpieczny i wydajny kod, RAII, semantykę przeniesienia, szablony i koncepty oraz diagnozę niezdefiniowanego zachowania i problemów z pamięcią. - 100python-performance
Profiluje kod Python pod kątem wąskich gardeł wydajności i problemów z pamięcią, np. przed wydaniem.