systems-programming
Use this skill as a base profile for systems programming courses in C, C++, Rust, or Zig. Provides core concepts for memory management, performance awareness, safety considerations, and low-level understanding. Language-specific profiles inherit from this. Trigger when user mentions "systems programming", "low-level programming", or "performance-critical development".
What this skill does
# Systems Programming - Base Course Profile
**Category:** Low-level programming, memory management, performance-critical development
**Applicable Languages:** C, C++, Rust, Zig
## Overview
This is a base profile for systems programming courses. Language-specific profiles (like C++ Fundamentals) inherit from this and customize for their specific language and audience.
## Core Concepts (All Systems Languages)
### Memory Management
- Stack vs heap allocation
- Object lifetime and ownership
- Memory layout and alignment
- Manual vs automatic memory management
### Performance Awareness
- Understanding what code compiles to
- Cache-friendly data structures
- Avoiding unnecessary copies
- Profiling and optimization
### Safety Considerations
- Buffer overflows and bounds checking
- Use-after-free and dangling references
- Data races and thread safety
- Undefined behavior awareness
### Low-Level Understanding
- How the CPU executes code
- System calls and OS interaction
- File I/O at the system level
- Network programming basics
## Pedagogical Approach
### Visualization is Critical
Systems programming deals with invisible concepts. Make them visible:
- Memory layout diagrams for every pointer topic
- Stack frame illustrations
- Heap allocation visualizations
- Data structure memory representations
### Compile-Time vs Runtime
Help students distinguish:
- What the compiler does vs what happens at runtime
- Static vs dynamic properties
- Compile-time errors vs runtime errors
### Error-Driven Learning
Compiler errors and crashes are learning tools:
- Show what broken code looks like
- Teach students to read error messages
- Build pattern recognition for common issues
## Framework-Free Teaching
Systems programming courses should typically:
- Focus on standard library only
- Build fundamental understanding first
- Avoid abstractions that hide important details
- Let students feel the "weight" of manual management
## Lab Structure
### Environment Requirements
- Must compile and run locally (not just online)
- Debugger access is essential
- Students need to see memory state
### Challenge Design
- Start with working code to modify
- Include "break this code" exercises
- Require debugging exercises
- Test with edge cases and invalid input
## Assessment Considerations
### Compilation is Non-Negotiable
- Code that doesn't compile fails
- Partial credit for compiling code with bugs
- Full error messages must be understood
### Memory Safety Checks
- Use sanitizers (ASan, MSan, UBSan) in testing
- Valgrind for memory leak detection
- Points deducted for memory errors
### Performance Requirements (When Applicable)
- Specify complexity requirements
- Test with large inputs
- Compare against reference implementation
## Sandbox Configuration
Systems programming courses require robust sandbox environments with full debugging and memory analysis tooling.
### Required Container Capabilities
All systems programming sandboxes must include:
| Category | Tools | Purpose |
|----------|-------|---------|
| Compilers | GCC 13+, Clang 17+ | Compilation with latest standards |
| Debuggers | GDB, LLDB | Interactive debugging |
| Memory Analysis | Valgrind, ASan, MSan, UBSan | Memory error detection |
| Thread Analysis | ThreadSanitizer, Helgrind | Race condition detection |
| Static Analysis | clang-tidy, cppcheck | Code quality checks |
| Profiling | perf, flamegraph | Performance analysis |
### Sandbox Commands
```bash
# Initialize sandbox
/setup-sandbox {course-id}
# Compile and run with full warnings
/run-code source.cpp
# Run with memory sanitizers
/debug-code source.cpp sanitize
# Memory leak check
docker exec course-sandbox-{course-id} \
valgrind --leak-check=full --show-leak-kinds=all /tmp/prog
# Thread safety check
docker exec course-sandbox-{course-id} \
g++ -std=c++20 -fsanitize=thread -g -o /tmp/prog source.cpp && /tmp/prog
# Performance profiling
docker exec course-sandbox-{course-id} \
perf record /tmp/prog && perf report
```
### Validation Requirements
Before publishing content:
1. **All code must compile** - Zero tolerance for compile errors
2. **All code must pass sanitizers** - ASan, UBSan, and TSan (for threaded code)
3. **Memory must be clean** - Valgrind should report no leaks for completed examples
4. **Error examples must fail** - Verify intentional errors produce expected failures
### Security Constraints
Systems programming sandboxes need special security consideration:
```bash
docker run -d \
--name course-sandbox-{course-id} \
--cap-drop=ALL \
--security-opt=no-new-privileges \
--security-opt=seccomp=default \
--memory=2g \
--cpus=2 \
--network=none \
--read-only \
--tmpfs /tmp:size=512m \
course-sandbox-{course-id}:latest
```
Key restrictions:
- **No network access** - Prevents exfiltration
- **Read-only filesystem** - Prevents persistent changes
- **Dropped capabilities** - Minimal privileges
- **Resource limits** - Prevents resource exhaustion
- **Seccomp filtering** - Restricts system calls
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.