スキル一覧に戻る
apexbusiness-systems

omnidev

by apexbusiness-systems

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: omnidev description: "Omniscient hyper-elite software engineering command center. Triggers: write code, debug, fix bug, build app, create API, design system, architect, deploy, secure, optimize, refactor, review code, test, CI/CD, Docker, Kubernetes, database, frontend, backend, full-stack, React, Python, TypeScript, Go, Rust, Java, any programming language, any framework, infrastructure, DevOps, SRE, security audit, performance tuning, code review, technical debt, microservices, monolith, serverless, cloud architecture, AWS, GCP, Azure, mobile, web, desktop, CLI tool, library, SDK, API design, GraphQL, REST, gRPC, WebSocket, authentication, authorization, encryption, logging, monitoring, alerting, incident response, disaster recovery, scaling, caching, queuing, debugging production, root cause analysis, profiling, tracing. Produces: production-grade, secure, performant, maintainable code and systems. Enables 10x development velocity with first-pass success."

OmniDev

Mission: Enable 10x development velocity through omniscient software engineering mastery across all languages, frameworks, and domains.

Decision Tree - Start Here

What are you doing?

TaskGo To
Writing new codeCode Generation
Fixing/debuggingDebug Protocol
Designing systemArchitecture
Deploying/DevOpsInfrastructure
Security workSecurity
Performance issuesOptimization
Code reviewReview Protocol

Code Generation

Input: Requirements (natural language or specs)
Output: Production-ready code in /mnt/user-data/outputs/
Success: Passes lint, tests, security scan

Language Selection

CriteriaLanguage
Web API (speed critical)Go, Rust
Web API (rapid dev)Python FastAPI, Node/TypeScript
Enterprise/AndroidKotlin, Java
iOS/macOSSwift
Systems/CLIRust, Go
ML/DataPython
FrontendTypeScript + React/Vue/Svelte
Scripts/AutomationPython, Bash

Code Quality Gates (ALWAYS)

# Before ANY code is complete:
1. Lint        → Language-specific linter (no warnings)
2. Type check  → mypy/tsc/go vet (strict mode)
3. Test        → pytest/jest/go test (>80% coverage)
4. Security    → bandit/npm audit/gosec (0 high/critical)
5. Format      → black/prettier/gofmt (auto-applied)

Patterns by Domain

API Endpoint (FastAPI example):

from fastapi import FastAPI, HTTPException, Depends
from pydantic import BaseModel, Field

class ItemCreate(BaseModel):
    name: str = Field(..., min_length=1, max_length=100)
    price: float = Field(..., gt=0)

@app.post("/items", response_model=Item, status_code=201)
async def create_item(item: ItemCreate, db: Session = Depends(get_db)):
    try:
        return crud.create_item(db, item)
    except IntegrityError:
        raise HTTPException(409, "Item exists")

React Component (TypeScript):

interface Props {
  items: Item[];
  onSelect: (id: string) => void;
}

export const ItemList: React.FC<Props> = ({ items, onSelect }) => {
  const [selected, setSelected] = useState<string | null>(null);
  
  const handleSelect = useCallback((id: string) => {
    setSelected(id);
    onSelect(id);
  }, [onSelect]);

  return (
    <ul role="listbox" aria-label="Items">
      {items.map(item => (
        <li key={item.id} onClick={() => handleSelect(item.id)}>
          {item.name}
        </li>
      ))}
    </ul>
  );
};

Debug Protocol

Input: Bug description, error message, or unexpected behavior
Output: Root cause + fix
Success: Issue resolved, regression test added

Debug Decision Tree

1. REPRODUCE → Can you trigger the bug consistently?
   ├─ No  → Add logging, gather more data
   └─ Yes → Continue
   
2. ISOLATE → Where does it fail?
   ├─ Frontend → Browser DevTools, React DevTools
   ├─ API → Request/Response logging, curl testing
   ├─ Database → Query analysis, EXPLAIN
   └─ Infrastructure → Logs, metrics, traces
   
3. HYPOTHESIZE → What could cause this?
   ├─ List 3 most likely causes
   └─ Test each systematically
   
4. FIX → Apply minimal change
   
5. VERIFY → Run tests + manual verification
   
6. PREVENT → Add test covering this case

Common Bug Patterns

SymptomLikely CauseFix
Works locally, fails prodEnv vars, secrets, configCheck env parity
Intermittent failureRace condition, timeoutAdd locks/retries
Memory leakUnclosed resources, event listenersCleanup in finally/useEffect
Slow queryMissing index, N+1EXPLAIN ANALYZE, add index
CORS errorMissing headersConfigure CORS middleware
401/403Token expired, wrong scopeCheck auth flow
500 errorUnhandled exceptionAdd try/catch, logging

Debug Commands

# Python
python -m pdb script.py          # Interactive debugger
python -c "import traceback; traceback.print_exc()"

# Node
node --inspect script.js         # Chrome DevTools debug
DEBUG=* node script.js           # Enable debug logging

# Go
dlv debug ./main.go              # Delve debugger
GODEBUG=gctrace=1 ./app          # GC tracing

# Logs
journalctl -u service -f         # Follow systemd logs
kubectl logs -f pod-name         # K8s pod logs
docker logs -f container         # Docker logs

Architecture

Input: Business requirements, constraints, scale expectations
Output: System design document, architecture diagram description
Success: Meets requirements, scalable, maintainable

Architecture Decision Tree

SCALE?
├─ <1K users → Monolith + PostgreSQL
├─ 1K-100K   → Modular monolith or simple microservices
├─ 100K-1M   → Microservices + caching + CDN
└─ >1M       → See references/scale.md

TEAM SIZE?
├─ 1-3 devs  → Monolith (always)
├─ 4-10 devs → Modular monolith
└─ >10 devs  → Consider microservices

LATENCY?
├─ <50ms  → Edge computing, caching, CDN
├─ <200ms → Regional deployment
└─ <1s    → Standard architecture

Architecture Patterns

PatternWhenExample
MonolithSmall team, MVP, <100K usersDjango/Rails app
Modular MonolithGrowing team, clear domainsBounded contexts in one deploy
MicroservicesLarge team, independent scalingService per domain
ServerlessEvent-driven, variable loadLambda + API Gateway
Event SourcingAudit requirements, complex stateBanking, inventory
CQRSRead/write asymmetryHigh-read dashboards

System Design Template

## [System Name]

### Requirements
- Functional: [What it must do]
- Non-functional: [Performance, scale, availability]
- Constraints: [Budget, timeline, team skills]

### High-Level Design
- Components: [List services/modules]
- Data flow: [How data moves]
- Storage: [Database choices]

### API Contracts
- [Endpoint definitions]

### Data Model
- [Entity relationships]

### Failure Modes
- [What can go wrong + mitigations]

Infrastructure

Input: Application to deploy, environment requirements
Output: Deployed, monitored, scalable infrastructure
Success: 99.9%+ uptime, <5min deploy, automated rollback

Deployment Decision Tree

WHERE?
├─ Static site     → Vercel/Netlify/Cloudflare Pages
├─ Container app   → K8s/ECS/Cloud Run
├─ Serverless      → Lambda/Cloud Functions
├─ VM needed       → EC2/GCE/Droplet
└─ Edge compute    → Cloudflare Workers/Lambda@Edge

CI/CD?
├─ GitHub      → GitHub Actions
├─ GitLab      → GitLab CI
├─ Self-hosted → Jenkins/Drone
└─ Simple      → scripts/deploy.sh

Docker (Always Use Multi-Stage)

# Build stage
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
RUN npm run build

# Production stage
FROM node:20-alpine
WORKDIR /app
RUN addgroup -g 1001 app && adduser -u 1001 -G app -s /bin/sh -D app
COPY --from=builder --chown=app:app /app/dist ./dist
COPY --from=builder --chown=app:app /app/node_modules ./node_modules
USER app
EXPOSE 3000
CMD ["node", "dist/index.js"]

Kubernetes Essentials

apiVersion: apps/v1
kind: Deployment
metadata:
  name: app
spec:
  replicas: 3
  selector:
    matchLabels:
      app: app
  template:
    spec:
      containers:
      - name: app
        image: app:v1.0.0  # NEVER use :latest
        resources:
          requests: { memory: "128Mi", cpu: "100m" }
          limits: { memory: "256Mi", cpu: "500m" }
        livenessProbe:
          httpGet: { path: /health, port: 8080 }
          initialDelaySeconds: 10
        readinessProbe:
          httpGet: { path: /ready, port: 8080 }
        securityContext:
          runAsNonRoot: true
          readOnlyRootFilesystem: true

Security

Input: System to secure, compliance requirements
Output: Hardened system, security report
Success: Passes security scan, meets compliance

Security Checklist (ALWAYS)

AreaRequirements
AuthOAuth2/OIDC, JWT <15min expiry, bcrypt cost≥12, rate limiting
InputValidate ALL, parameterized queries, escape output, CSRF tokens
TransportTLS 1.3, HSTS, cert pinning for mobile
SecretsEnv vars or secrets manager, NEVER in code/logs, rotate regularly

OWASP Top 10 Quick Reference

VulnerabilityPrevention
InjectionParameterized queries, ORM
Broken AuthMFA, session management
Sensitive DataEncrypt at rest/transit
XXEDisable external entities
Broken AccessRBAC, deny by default
MisconfigHardening, security headers
XSSOutput encoding, CSP
DeserializationDon't deserialize untrusted
Vulnerable Depsnpm audit, Dependabot
LoggingCentralized, tamper-proof

Optimization

Input: Slow system, performance requirements
Output: Optimized system with metrics
Success: Meets latency/throughput targets

Performance Decision Tree

WHERE IS IT SLOW?
├─ Frontend
│  ├─ Initial load → Bundle size, code splitting
│  ├─ Runtime → React profiler, memoization
│  └─ Network → Caching, CDN, compression
├─ API
│  ├─ Database → Query optimization, indexing
│  ├─ Compute → Algorithm, caching, async
│  └─ Network → Connection pooling, keep-alive
└─ Infrastructure
   ├─ CPU bound → Horizontal scaling, optimize code
   ├─ Memory bound → Reduce allocations, streaming
   └─ I/O bound → Async, batching, caching

Caching Strategy

Data TypeCacheTTL
Static assetsCDN1 year (versioned)
API responsesRedis1-60 min
Session dataRedisSession length
DB queriesApplication1-5 min

Review Protocol

Input: Code to review (PR/MR link or diff)
Output: Actionable feedback
Success: Issues caught, knowledge shared

Review Checklist

CategoryCheck
CorrectnessDoes what it claims? Edge cases? Error handling?
SecurityInput validated? Auth correct? Secrets exposed?
PerformanceN+1 queries? Memory leaks? Unnecessary compute?
MaintainabilityClear naming? Tests? Docs updated?

Critical Rules

ALWAYSNEVER
Run linters before commitCommit secrets to git
Write tests for new codeUse eval() or dynamic code
Use env vars for secretsTrust user input
Log errors with contextIgnore security warnings
Handle all error pathsDeploy without testing
Use typed/strict modeUse SELECT * on large tables
Pin dependency versionsSwallow exceptions silently

References

  • references/languages.md - Language-specific patterns for 20+ languages
  • references/databases.md - SQL/NoSQL design, optimization, migrations
  • references/cloud.md - AWS/GCP/Azure architecture patterns
  • references/testing.md - Test strategies, TDD, coverage
  • references/scale.md - High-scale architecture patterns

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です