# Coding

> Skill: coding

- Skill: `br3eze-code/coding` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add br3eze-code/coding`
- Raw SKILL.md: https://api.skillmd.com/api/skills/br3eze-code/coding/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: br3eze-code (https://skillmd.com/u/br3eze-code)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/br3eze-code/coding

---

# Skill: coding

**Version:** 1.0.0  
**Domain:** development

## Description

Code generation and execution for AgentOS automation tasks. Generates MikroTik scripts, Node.js snippets, shell commands, and RouterOS configuration blocks. Supports syntax validation before execution.

## When to Use

Invoke when the user asks about:
- Generating a RouterOS script for a specific task
- Writing a Node.js helper or automation snippet
- Generating shell commands for the AgentOS host
- Validating code before running it

## Tools

| Action | Description |
|---|---|
| `generate` | Generate code from a natural language description |
| `validate` | Check code for syntax errors and safety issues |
| `execute` | Run a validated script (sandboxed) |
| `explain` | Explain what a code snippet does |
| `refactor` | Improve or clean up existing code |

## Example: Generate RouterOS Script

```json
{
  "action": "generate",
  "language": "routeros",
  "description": "Block all traffic from IP 10.0.0.55 on the hotspot interface"
}
```

## Supported Languages

- `routeros` — MikroTik RouterOS scripting language
- `javascript` / `nodejs` — Node.js
- `bash` — Shell scripts for Linux
- `powershell` — Windows PowerShell

## Safety Rules

- `execute` only runs in a sandboxed environment
- RouterOS scripts are validated against the shell-injection denylist before execution
- No `eval()` or dynamic code loading in generated JavaScript

