← all publishers

RMAzrim

@rmazrim source repo

125 published skills · page 2 of 2

  1. Agent Self Debugger Loop · rmazrim
    A Python CLI (self_debug.py) that parses pytest stderr/stdout tracebacks, extracts the failing File x.py line N location, reads and rewrites that file via an ast.NodeTransformer to inject sys._getframe()-based log probes and None/missing-attribute guards, re-runs pytest up to 4 attempts, and rolls back via git stash on exhaustion. Pure stdlib (ast, re, subprocess, tempfile, pathlib) plus pytest.
    0 installs
  2. Data Structure Optimizer · rmazrim
    Analyze algorithm time/space complexity (Big O) and refactor logic using optimal data structures (Heaps, Tries, Hash Maps).
    0 installs
  3. Git Bisect Time Traveler · rmazrim
    Automates regression tracking by orchestrating non-interactive git bisect sessions wrapped around a headless test harness, parses the first-bad-commit SHA, subject and date plus the number of commits examined, and generates a minimal git-apply-compatible revert patch for exactly the files the offending commit touched, with optional dry-run verification.
    0 installs
  4. Github Actions Generator · rmazrim
    Design automated CI/CD workflows for testing, building, and deployment.
    0 installs
  5. Golden Snapshot Migrator · rmazrim
    Capture golden snapshots before a major library or dependency migration and diff after to keep the external behavior contract intact.
    0 installs
  6. LLM Gateway Model Router · rmazrim
    OpenAI-compatible /v1/chat/completions gateway built on http.server + sqlite3 with weighted round-robin routing, failover on provider errors, token budget/quota enforcement, and response caching. Ships with an in-process MockLLMBackend for fully offline demos. Pure stdlib Python 3.9+, zero installs, zero MCP.
    0 installs
  7. Monorepo Package Cleaner · rmazrim
    Audit a monorepo workspace for dependency cycles, mismatched shared versions, and cross-boundary imports, then emit a prioritized cleanup plan.
    0 installs
  8. Terraform Module Builder · rmazrim
    Draft modular, reusable Infrastructure-as-Code Terraform modules for cloud infrastructure.
    0 installs
  9. Vector DB Hybrid Search Indexer · rmazrim
    A dependency-light Python module (hybrid_index.py) implementing a self-contained BM25 sparse scorer, a cosine-similarity dense index with optional numpy and pure-math fallback, Reciprocal Rank Fusion (RRF, k=60) merging, and a Cross-Encoder-style re-ranker via embedding dot products (drop-in replaceable by sentence-transformers). Functions index_documents(docs), search(query, top_k), rrf(rankings, k=60), plus a main() demo over a built-in corpus.
    0 installs
  10. Async Concurrency Handler · rmazrim
    Implement async/await workflows, promise pools, worker threads, or goroutines while preventing race conditions.
    0 installs
  11. Cors Csp Headers Hardener · rmazrim
    Inspects HTTP response headers on local web servers and injects defensive security headers to prevent clickjacking, cross-site scripting, and unauthorized domain access.
    0 installs
  12. Dependency Injection Wiring · rmazrim
    Decouple code modules using Inversion of Control (IoC) containers and explicit interface abstractions.
    0 installs
  13. Codegen Drift Watchdog · rmazrim
    Detect when generated output (Prisma client, tRPC router types, OpenAPI clients) is stale versus its source schema, then auto-regenerate or fail CI with a precise list.
    0 installs
  14. DB Migration Generator · rmazrim
    Generate database schema migration scripts (Prisma/TypeORM/Alembic) based on model changes.
    0 installs
  15. K8S Manifest Validator · rmazrim
    Validate and lint Kubernetes manifest files (YAML/JSON) against required fields, resource constraints, and best practices, with an optional kubectl dry-run schema check.
    0 installs
  16. License Clash Mediator · rmazrim
    Build a dependency-license graph and flag copyleft/permissive conflicts plus missing license metadata before they become legal incidents.
    0 installs
  17. Mega Pipeline Deployer · rmazrim
    Flexible orchestration engine that executes pipeline workflows in Full Mode (all 7 steps sequentially) or Selective Mode (user-specified step subset). Performs data contracting and validation between active steps, skips inactive steps gracefully without breaking the chain, and halts execution with exact error logging when an active step fails.
    0 installs
  18. RAG Chunking Evaluator · rmazrim
    Analyze document structures to recommend optimal chunking strategies and overlap ratios for RAG pipelines.
    0 installs
  19. Ast Anti Pattern Slayer · rmazrim
    Parses Python or JavaScript-style source into an AST, computes cyclomatic complexity v(G) as decision count plus one, maximum block nesting depth, bare except clauses and unreachable dead code, then uses a conservative ast.NodeTransformer to rewrite trailing if/else wrappers into semantics-preserving early return and continue guard clauses, emitting a structured JSON diagnostics report with file line and column locations.
    0 installs
  20. GRAPHQL Schema Designer · rmazrim
    Design GraphQL type definitions, query/mutation schemas, and resolver boilerplate code.
    0 installs
  21. Prompt Injection Security Shield · rmazrim
    A stdlib-only Python module (shield.py) implementing InjectionShield static inspection for jailbreak signatures, system-prompt extraction patterns, and command-injection payloads across input strings and RAG context windows, plus deterministic canary-token injection and verification (the f(n) model-output challenge). Classes ShieldConfig, InjectionShield, ScanReport, and a scan_cli() argparse entry point that reads files/stdin and emits a JSON report.
    0 installs
  22. Rate Limiter Middleware · rmazrim
    Build API rate-limiting middleware using Token Bucket or Sliding Window algorithms.
    0 installs
  23. Refactor Safety Harness · rmazrim
    Record golden outputs of current behavior before a refactor, then diff outputs after to prove behavior is unchanged.
    0 installs
  24. Regex Builder Explainer · rmazrim
    Construct complex regular expressions based on pattern requirements with step-by-step logic breakdown.
    0 installs
  25. Shadow Traffic Replayer · rmazrim
    Replay recorded production HTTP traffic against a new build and diff responses to surface API regressions without writing a single test.
    0 installs