deepmodebot 0.0.0-stage → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +26 -0
- package/.omp-plugin/marketplace.json +26 -0
- package/LICENSE +24 -0
- package/README.md +377 -2
- package/bin/deepmodebot.mjs +247 -0
- package/lib/autoupdate.mjs +47 -0
- package/lib/clients.mjs +139 -0
- package/lib/run.mjs +32 -0
- package/lib/state.mjs +52 -0
- package/lib/tree.mjs +48 -0
- package/lib/version.mjs +26 -0
- package/package.json +44 -4
- package/plugins/deepmodebot/.antigravity-plugin/plugin.json +35 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/deep/SKILL.md +13 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/land-pr/SKILL.md +23 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/pr-thread/SKILL.md +17 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/review-pr/SKILL.md +16 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/tournament/SKILL.md +14 -0
- package/plugins/deepmodebot/.claude-plugin/plugin.json +27 -0
- package/plugins/deepmodebot/agents/reviewer/agent.md +33 -0
- package/plugins/deepmodebot/agents/scout/agent.md +34 -0
- package/plugins/deepmodebot/agents/security-reviewer/agent.md +30 -0
- package/plugins/deepmodebot/assets/logo.svg +8 -0
- package/plugins/deepmodebot/commands/contribute.md +8 -0
- package/plugins/deepmodebot/commands/deep.md +11 -0
- package/plugins/deepmodebot/commands/land-pr.md +12 -0
- package/plugins/deepmodebot/commands/pr-thread.md +14 -0
- package/plugins/deepmodebot/commands/project-brief.md +8 -0
- package/plugins/deepmodebot/commands/review-pr.md +10 -0
- package/plugins/deepmodebot/commands/tournament.md +12 -0
- package/plugins/deepmodebot/hooks/hooks.json +26 -0
- package/plugins/deepmodebot/hooks.json +24 -0
- package/plugins/deepmodebot/mcp_config.json +11 -0
- package/plugins/deepmodebot/scripts/antigravity-guard.mjs +413 -0
- package/plugins/deepmodebot/scripts/omp-mcp-server.mjs +1091 -0
- package/plugins/deepmodebot/skills/agent-harnesses/SKILL.md +57 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +391 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check.ts +53 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_antigravity.py +38 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_claude.mjs +11 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/package.json +11 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/requirements.txt +1 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/ai-native-tooling.md +190 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/ai-sdk-selection.md +50 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/antigravity.md +108 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/claude-code.md +166 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/codex.md +151 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/delegation-efficiency.md +230 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/langchain-ecosystem.md +124 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/omp.md +183 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/protocols.md +172 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/sdks.md +228 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/self-authoring.md +171 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/SKILL.md +24 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/aws.md +264 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/azure.md +261 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/containers.md +96 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/devops-tools.md +297 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/devsecops-pipeline.md +258 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/gcp.md +258 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/kubernetes.md +74 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/local-emulators.md +265 -0
- package/plugins/deepmodebot/skills/contribute/SKILL.md +134 -0
- package/plugins/deepmodebot/skills/create-verification-skill/LICENSE +21 -0
- package/plugins/deepmodebot/skills/create-verification-skill/SKILL.md +101 -0
- package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/README.md +47 -0
- package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/create-note.md +39 -0
- package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/search.md +45 -0
- package/plugins/deepmodebot/skills/deep-stack/SKILL.md +53 -0
- package/plugins/deepmodebot/skills/deep-stack/references/AGENTS.template.md +52 -0
- package/plugins/deepmodebot/skills/deep-stack/references/agentic-workflow.md +114 -0
- package/plugins/deepmodebot/skills/deep-stack/references/any-app-stack.md +51 -0
- package/plugins/deepmodebot/skills/deep-stack/references/design-workflow.md +101 -0
- package/plugins/deepmodebot/skills/deep-stack/references/isolate.md +23 -0
- package/plugins/deepmodebot/skills/deep-stack/references/philosophy.md +306 -0
- package/plugins/deepmodebot/skills/deep-stack/references/prove.md +31 -0
- package/plugins/deepmodebot/skills/deep-stack/references/stack.md +119 -0
- package/plugins/deepmodebot/skills/deep-stack/references/structure.md +22 -0
- package/plugins/deepmodebot/skills/deep-stack/references/unslop/LICENSE +21 -0
- package/plugins/deepmodebot/skills/deep-stack/references/unslop/unslop.md +80 -0
- package/plugins/deepmodebot/skills/deepmodebot/LICENSE +23 -0
- package/plugins/deepmodebot/skills/deepmodebot/SKILL.md +198 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +207 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +146 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/architecture-review/report-template.html +92 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude-guard.sh +42 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +135 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain-link.ts +12 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +115 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +483 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +139 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +301 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +602 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +242 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/evidence.py +293 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +387 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +339 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +69 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +160 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +180 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +265 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +132 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +122 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +192 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/bot.py +3037 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/brand.json +11 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/brand.py +51 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +361 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +274 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/local_updates.py +576 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/review_context.py +204 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +2182 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +691 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +127 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +496 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/workspace_cleanup.py +351 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +2394 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +583 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +1426 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +320 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +326 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +244 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +165 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +240 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +55 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +53 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +350 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +370 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +94 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.html +425 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +579 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena_tui.py +839 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/font8x8_basic.hex +1 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +329 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +610 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +637 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +250 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +1820 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +156 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +54 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/audit-pr.sh +122 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/gate.cjs +155 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/prompt.md +13 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +654 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +1285 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/wizard/wizard.sh +234 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +879 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +2436 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/README.md +61 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +105 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/factory-landscape.md +147 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +50 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/authoring-a-skill.md +37 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +77 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/bug-fix.md +34 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +50 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/eval.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +60 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/handoff.md +52 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +46 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +97 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/pause-safely.md +30 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/phased-build.md +146 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/prototype.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +60 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +45 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +143 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/runtime-forensics.md +22 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/self-authoring.md +130 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/session-pickup.md +33 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +105 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/shipping.md +52 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/spec.md +67 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/tickets.md +56 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/trace-forensics.md +24 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/triage.md +102 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/wayfinder.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +189 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/worktree-cleanup.md +35 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/attack-the-premise.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/boundary-discipline.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/build-the-lever.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/encode-lessons-in-structure.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/exhaust-the-design-space.md +4 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/experience-first.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/explain-the-number.md +9 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/fix-root-causes.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/foundational-thinking.md +9 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/guard-the-context-window.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/laziness-protocol.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/make-operations-idempotent.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/migrate-callers-then-delete-legacy-apis.md +5 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/minimize-reader-load.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/model-the-domain.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/never-block-on-the-human.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/outcome-oriented-execution.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/prove-it-works.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/redesign-from-first-principles.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/separate-before-serializing-shared-state.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/sequence-verifiable-units.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/subtract-before-you-add.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/rust-migration-case-studies.md +26 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/startup-ideas.md +21 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/agent-collaboration.md +82 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +32 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +43 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/benchmark-checklist.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +47 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/coworkers.md +70 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/domain-model.md +69 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/figure-it-out.md +25 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/git-guardrails.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/github-app.md +160 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/goal-review.md +156 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +27 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +23 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/in-your-own-words.md +12 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/interrogate.md +16 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/issue-conversation.md +52 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +29 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/open-design-evidence.md +65 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +34 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-agent.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +135 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +138 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/questionnaire.md +46 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/re-explain.md +23 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reflect.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +99 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/retro.md +30 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/scrape.md +32 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +40 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +15 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +49 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +14 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tdd.md +55 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/technical-writing.md +22 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tool-routing.md +85 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tracker.md +78 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/unslop.md +15 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +78 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/why.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/wizard.md +25 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/workspace-map.md +35 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +66 -0
- package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +93 -0
- package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +598 -0
- package/plugins/deepmodebot/skills/domain-rules/SKILL.md +131 -0
- package/plugins/deepmodebot/skills/domain-rules/references/agent-engineering.md +105 -0
- package/plugins/deepmodebot/skills/domain-rules/references/ai-concepts.md +103 -0
- package/plugins/deepmodebot/skills/domain-rules/references/aws-networking.md +121 -0
- package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +162 -0
- package/plugins/deepmodebot/skills/domain-rules/references/data-structures-and-cache-optimization.md +48 -0
- package/plugins/deepmodebot/skills/domain-rules/references/devops-and-fundamentals.md +137 -0
- package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +100 -0
- package/plugins/deepmodebot/skills/domain-rules/references/high-scale-server-optimization.md +181 -0
- package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +56 -0
- package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +146 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/live-demos.md +38 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +28 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +269 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +62 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +217 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-patterns.md +101 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +25 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +21 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +46 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +21 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +153 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +106 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +121 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +48 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +26 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +11 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +63 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +13 -0
- package/plugins/deepmodebot/skills/maintain-verification-skill/LICENSE +21 -0
- package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +47 -0
- package/plugins/deepmodebot/skills/project-brief/SKILL.md +100 -0
- package/plugins/deepmodebot/skills/project-brief/assets/CONTRIBUTING.template.md +124 -0
- package/plugins/deepmodebot/skills/project-brief/assets/ISSUE_TEMPLATE/task.yml +61 -0
- package/plugins/deepmodebot/skills/project-brief/assets/PROJECT_BRIEF.template.md +98 -0
- package/plugins/deepmodebot/skills/project-brief/assets/PULL_REQUEST_TEMPLATE.md +35 -0
- package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +643 -0
- package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +314 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +60 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/agent-authentication.md +198 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/leak-prevention.md +206 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/logins-and-passwords.md +165 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/secrets-and-env.md +182 -0
- package/plugins/deepmodebot/skills/software-architecture/SKILL.md +47 -0
- package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +273 -0
- package/plugins/deepmodebot/skills/software-architecture/references/databases.md +277 -0
- package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +210 -0
- package/plugins/deepmodebot/skills/software-architecture/references/ontology.md +287 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: domain-rules
|
|
3
|
+
description: "Engineering rules by domain: AI agents and LLMs, AWS networking, backend system design, language ecosystems and their traps, DevOps and computer-science fundamentals, and engineering practice (debugging, legacy code, incidents, estimates). Use when designing or reviewing work in one of those areas."
|
|
4
|
+
metadata:
|
|
5
|
+
as-of: "2026-11-11"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Engineering domain rules
|
|
9
|
+
|
|
10
|
+
Rules distilled from 102 public engineering explainer videos published in 2026 (listed in the Sources table below) and 450+ server implementations across the Million Users, $12 Server, and Multicore benchmarks (`high-scale-server-optimization.md`, `data-structures-and-cache-optimization.md`), current as of 2026-11-20. Rules are paraphrased; transcripts are not shipped. Each video rule carries a source key from the table below. Upload dates are approximate and may be off by a few days.
|
|
11
|
+
|
|
12
|
+
| File | Read when |
|
|
13
|
+
|---|---|
|
|
14
|
+
| `references/agent-engineering.md` | Building, reviewing, or debugging an AI agent, harness, multi-agent system, MCP/WebMCP integration, or an agent instruction file |
|
|
15
|
+
| `references/ai-concepts.md` | LLM fundamentals, RAG and retrieval, fine-tuning, inference cost and hardware, local models, model choice, AI terms |
|
|
16
|
+
| `references/aws-networking.md` | AWS or VPC design, a cloud connectivity failure, IAM, cloud cost, or picking an AWS service |
|
|
17
|
+
| `references/backend-system-design.md` | Backend code, API design, database choice or tuning, caching, queues, scaling, resilience, observability, security, language choice |
|
|
18
|
+
| `references/language-ecosystems.md` | Runtime, memory, and concurrency model, build/test/debug tooling, and traps for C, C++, Rust, Go, Java, C#, Python, JS/TS, PHP, Ruby, Kotlin, Swift |
|
|
19
|
+
| `references/devops-and-fundamentals.md` | Linux, CLI tools, git, Docker, Kubernetes, Terraform, CI/CD, deployment strategies, secrets, data structures and complexity, memory, floats, concurrency, network protocols |
|
|
20
|
+
| `references/engineering-practice.md` | Unfamiliar codebase, stuck on an error, debugging slowness, memory, or races, legacy code, PR or commit text, incidents, estimates, pushing back |
|
|
21
|
+
| `references/high-scale-server-optimization.md` | High-concurrency server tuning, event loops (`epoll`/`io_uring`), TCP/NIC sysctls, Postgres/SQLite pipelining/batching, co-located DB contention, zero-alloc JSON/gzip, or runtime GC/PGO optimization |
|
|
22
|
+
| `references/data-structures-and-cache-optimization.md` | Designing or optimizing hot-path data structures, pointer-free slot tables, 64 B cache-line alignment, L1D/TLB/hugepage tuning, lock-free SPSC rings, timing wheels, or tight-RAM arenas |
|
|
23
|
+
|
|
24
|
+
Deepmodebot's principles, gates, and playbooks win any conflict. These files supply domain rules, not process.
|
|
25
|
+
|
|
26
|
+
## Sources
|
|
27
|
+
|
|
28
|
+
| Key | Uploaded | Video |
|
|
29
|
+
|---|---|---|
|
|
30
|
+
| AGI | 2026-10-11 | [AGI: The Technology That Could Change the World](https://youtu.be/tNs0NMNSmmM) |
|
|
31
|
+
| AI-101 | 2026-11-09 | [AI 101: Top AI Concepts Explained for Absolute Beginners](https://youtu.be/kVRmyljiGwE) |
|
|
32
|
+
| AI-COURSE | 2026-10-14 | [AI Engineer Full Course in 3 Hours [FREE]](https://youtu.be/XFNggsFFZJw) |
|
|
33
|
+
| AI-ERA | 2026-11-01 | [6 Skills That Will Make You Irreplaceable in the AI Era](https://youtu.be/s6OllgyglJE) |
|
|
34
|
+
| AIRFLOW | 2026-08-11 | [Learn Apache Airflow in 8 Minutes (Explained Clearly)](https://youtu.be/Cnxrb7d8RKw) |
|
|
35
|
+
| ANSIBLE | 2026-09-11 | [What is Ansible? (Finally Makes Sense)](https://youtu.be/0w07kacfIso) |
|
|
36
|
+
| API-AUTH | 2026-04-11 | [Every API Authentication Method Explained (Don’t Choose the Wrong One)](https://youtu.be/_lTECv25N2U) |
|
|
37
|
+
| API-LAWS | 2026-09-11 | [8 API Laws of Senior Backend Developer](https://youtu.be/-40xErgJIBg) |
|
|
38
|
+
| API-TYPES | 2026-02-11 | [Every API Type Explained in 4 Minutes](https://youtu.be/Z4_Cikopizw) |
|
|
39
|
+
| APP-15MIN | 2026-11-07 | [Can AI Build a Fully Functional App in 15 Minutes? (I Tested It)](https://youtu.be/yyE6YUtmIHQ) |
|
|
40
|
+
| AWS-NET | 2026-10-30 | [AWS Networking Full Course in 2 Hours (FREE)](https://youtu.be/8-m7hqOqs9Y) |
|
|
41
|
+
| AWS-SENSE | 2026-10-28 | [AWS Will Finally Make Sense After This Video](https://youtu.be/LPJ1zHDC0Ck) |
|
|
42
|
+
| BACKEND-ECO | 2026-10-11 | [I Bet Nobody Has Ever Explained the Backend Ecosystem Like This Before](https://youtu.be/mZ27vUoOEB0) |
|
|
43
|
+
| BACKEND-INT | 2026-08-11 | [Don't Attend a Backend Interview Before Watching This Video](https://youtu.be/PsM_4WTuI8Y) |
|
|
44
|
+
| BOOKS | 2026-05-11 | [10 Programming Books That Turn Coders Into Software Engineers](https://youtu.be/D7yNq8xJSFc) |
|
|
45
|
+
| BUBBLE | 2026-11-03 | [Are We Getting Closer to an AI Bubble Burst?](https://youtu.be/rZTqJaf21yg) |
|
|
46
|
+
| C-ECO | 2026-11-10 | [The Complete C Ecosystem Explained (Why C Is Still Everywhere)](https://youtu.be/jYfvixZzyuI) |
|
|
47
|
+
| CAREER-2030 | 2026-09-11 | [6 Survival Rules for Your Career by 2030](https://youtu.be/LoVAP1T2XOI) |
|
|
48
|
+
| CLAUDE-MD | 2026-10-21 | [The 4 Lines Every CLAUDE.md Needs that Make Claude 100x Better](https://youtu.be/MqMD3Rbvl0Q) |
|
|
49
|
+
| CLAUDE-TIPS | 2026-11-04 | [4 TIPS To Give Claude Unlimited Usage](https://youtu.be/Ddg8eEp-MGc) |
|
|
50
|
+
| CLAUDE-WON | 2026-10-11 | [Why Claude Won? TOP 7 Features That Changed AI Coding](https://youtu.be/oetQNZp2MLM) |
|
|
51
|
+
| CLI-TOOLS | 2026-10-21 | [10 Insanely Useful CLI Tools That Make Developers 10x More Productive](https://youtu.be/RXhU9-oQCjY) |
|
|
52
|
+
| CLOUD-10 | 2026-10-11 | [You Just Need to Learn These 10 Cloud Computing Topics](https://youtu.be/De4V2czb-8A) |
|
|
53
|
+
| CODE-LAWS | 2026-09-11 | [7 Coding Laws of Senior Developer](https://youtu.be/JcYMtYbNUhU) |
|
|
54
|
+
| CONFUSING-3 | 2026-09-11 | [The 3 Most Confusing System Design Concepts (Finally Explained)](https://youtu.be/ywrlEV6g_jI) |
|
|
55
|
+
| CPP-ECO | 2026-10-29 | [C++ Full Ecosystem Explained For Absolute Beginners](https://youtu.be/jdfo4-SyGEU) |
|
|
56
|
+
| CS-4H | 2026-11-02 | [4 Years of Computer Science Degree in 4 Hours - Full Course (FREE)](https://youtu.be/LJ_HY0AKZnM) |
|
|
57
|
+
| CSHARP | 2026-06-11 | [10+ Years Senior Engineer Explains C# and .NET For Beginners](https://youtu.be/fmg8c4VgPN0) |
|
|
58
|
+
| CURSOR-ORIGIN | 2026-10-11 | [Cursor's Origin: The End of GitHub?](https://youtu.be/9_GksUJcAS0) |
|
|
59
|
+
| DB-10MIN | 2026-06-11 | [I Wish Someone Explained Databases Like This to Me (In 10 Minutes)](https://youtu.be/8z40p3gVILk) |
|
|
60
|
+
| DB-LAWS | 2026-10-11 | [7 Database Laws of Senior Backend Developer](https://youtu.be/2snYdgNcxIg) |
|
|
61
|
+
| DEV-LIFE | 2026-11-08 | [I Bet Nobody Explained Real Developer Life in IT Like This (3-Hour Course)](https://youtu.be/izbuAaCqjY4) |
|
|
62
|
+
| DEVOPS | 2026-03-11 | [DevOps Explained for Absolute Beginners (All Core Concepts)](https://youtu.be/L0VTxAO7BYU) |
|
|
63
|
+
| DEVOPS-2 | 2026-10-31 | [I Wish Someone Explained DevOps to Me Like This](https://youtu.be/GwYx0-7o_vg) |
|
|
64
|
+
| DEVOPS-INT | 2026-08-11 | [Don't Attend a DevOps Interview Before Watching This Video](https://youtu.be/5Vxnx5Rd84o) |
|
|
65
|
+
| DEVOPS-MAP | 2026-09-11 | [I Wish Someone Showed Me This DevOps Roadmap When I Started](https://youtu.be/SvjjPxwfhyg) |
|
|
66
|
+
| DISTROS | 2026-08-11 | [Every Linux Distribution Explained (Which One Should You Pick?)](https://youtu.be/9WIcDZhnCQw) |
|
|
67
|
+
| DOCKER | 2026-02-11 | [Docker Finally Makes Sense to Me](https://youtu.be/_wBSiohgy0U) |
|
|
68
|
+
| DSA-5 | 2026-10-11 | [5 DSA Patterns That Solve 90% of Coding Problems](https://youtu.be/Y01eR7tUgnc) |
|
|
69
|
+
| EXP-10Y | 2026-04-11 | [10+ Years of Software Engineering Experience in 6 Minutes](https://youtu.be/FCokcO7YhzE) |
|
|
70
|
+
| FABLE | 2026-11-10 | [Claude Fable 5.2 Is Here- and It’s Fire 🔥](https://youtu.be/WShnPxaPet0) |
|
|
71
|
+
| FDE | 2026-10-28 | [Forward Deployment Engineer Roadmap: The AI Job That’s Exploding Right Now](https://youtu.be/A7PBx08b0WU) |
|
|
72
|
+
| FORGETS | 2026-08-11 | [Why ChatGPT, Claude and Gemini Forgets Everything???](https://youtu.be/ZBuDOmCCmsI) |
|
|
73
|
+
| FRAMEWORKS-2026 | 2026-04-11 | [10 Backend Frameworks That Will Dominate 2026](https://youtu.be/dAeK3Gnikbg) |
|
|
74
|
+
| GITHUB | 2026-02-11 | [Every GitHub Concept Explained in 2 Minutes](https://youtu.be/txE9MO7Vwl4) |
|
|
75
|
+
| GO-4MIN | 2026-10-11 | [Learn Go in 4 Minutes: The Basics You Actually Need](https://youtu.be/9QPGpDduICw) |
|
|
76
|
+
| HARNESS | 2026-09-11 | [Agent Harness Explained in 6 Minutes: The Next Big Thing in AI](https://youtu.be/E4gkCE6_xiQ) |
|
|
77
|
+
| HERMES | 2026-09-11 | [Hermes Agent Will Finally Makes Sense After This Video](https://youtu.be/82fYczqpEhQ) |
|
|
78
|
+
| HTTP-CODES | 2026-07-11 | [Every HTTP Status Code Explained in 5 Minutes (Don't Build APIs Until You Understand This)](https://youtu.be/BMtEOGe-onM) |
|
|
79
|
+
| JAVA-ECO | 2026-10-28 | [The Complete JAVA Ecosystem Explained in 18 Minutes](https://youtu.be/KBkHNI_nRLY) |
|
|
80
|
+
| JAVA-INT | 2026-10-11 | [Don't Attend a JAVA Interview Before Watching This Video](https://youtu.be/ySu-7tNmDkw) |
|
|
81
|
+
| JENKINS | 2026-07-11 | [What is Jenkins and How it Really Works Behind the Scenes? (Explained Clearly in 4 Minutes)](https://youtu.be/8by7kzVhyDE) |
|
|
82
|
+
| JEV | 2026-10-11 | [Jev Explained: How It Really Works Behind The Scenes?](https://youtu.be/0LpMnmblOeI) |
|
|
83
|
+
| JS-ECO | 2026-10-21 | [The Complete JavaScript Ecosystem Explained in 20 Minutes](https://youtu.be/yMbUr5op98Y) |
|
|
84
|
+
| K8S | 2026-08-11 | [Kubernetes Will Finally Makes Sense After This Video](https://youtu.be/qPEzd63nebA) |
|
|
85
|
+
| LANGGRAPH | 2026-09-11 | [LangGraph in 3 Minutes (Explained Clearly)](https://youtu.be/Ym7e0noddpA) |
|
|
86
|
+
| LANGS-2026 | 2026-03-11 | [10 Programming Languages That Will Dominate 2026](https://youtu.be/8R7aGRSvKLk) |
|
|
87
|
+
| LANGSMITH | 2026-09-11 | [LangSmith in 5 Minutes (Clearly Explained)](https://youtu.be/dNYavjXb1Gk) |
|
|
88
|
+
| LAWS | 2026-11-05 | [7 AI Agent Architecture Design Laws of Senior AI Engineers](https://youtu.be/GVq_MQH2CNA) |
|
|
89
|
+
| LINUX-10 | 2026-09-11 | [10 Linux Productivity Tools I Can’t Live Without](https://youtu.be/yCl0CWiNAFE) |
|
|
90
|
+
| LINUX-CORE | 2026-08-11 | [Every Core LINUX Concepts Explained in 5 Minutes](https://youtu.be/ToS3YSLyjWI) |
|
|
91
|
+
| LINUX-DIRS | 2026-08-11 | [LINUX isn't Hard Once You Understand This (File Directories)](https://youtu.be/qvjRcZcW8CY) |
|
|
92
|
+
| LLM | 2026-08-11 | [LLM Will Finally Makes Sense After This Video...](https://youtu.be/wYpMi-KjLkc) |
|
|
93
|
+
| LM-STUDIO | 2026-09-11 | [LM Studio Will Finally Makes Sense After This Video](https://youtu.be/NzY42zCyNEk) |
|
|
94
|
+
| MCP | 2026-08-11 | [MCP Will Finally Makes Sense After This Video](https://youtu.be/9Gn3NewenYA) |
|
|
95
|
+
| MCP-TEST | 2026-10-11 | [I Tested 10 MCP Servers. These Are the Ones Worth Using For Local AI](https://youtu.be/7WQ_wfE7fss) |
|
|
96
|
+
| MCP-VS-API | 2026-08-11 | [MCP vs API Explained: Do We Still Need API After MCP?](https://youtu.be/7yNvsFrwpp0) |
|
|
97
|
+
| NCM | 2026-10-28 | [NCM Just Killed LLM: This Time, It Might Be for Real](https://youtu.be/SMYzc9FMXj0) |
|
|
98
|
+
| OLLAMA | 2026-09-11 | [Ollama Explained: Run AI Models Locally for FREE 🤯](https://youtu.be/OMnxvL4bd34) |
|
|
99
|
+
| OPEN-MODELS | 2026-09-11 | [$200 Claude and Codex Killers Are Here](https://youtu.be/GeJLiHf1wh8) |
|
|
100
|
+
| OPENCLAW | 2026-04-11 | [I Let OpenClaw Control My System… Here’s What Happened](https://youtu.be/IhQqqjzA3QA) |
|
|
101
|
+
| OSI | 2026-07-11 | [The Best OSI Model Explanation You'll Ever Find (Animated Explanation)](https://youtu.be/Zb54fXYD9CU) |
|
|
102
|
+
| PART-SHARD | 2026-10-28 | [Partition vs Sharding: The Most Confused Topic Finally Makes Sense](https://youtu.be/29napblOuz0) |
|
|
103
|
+
| PATTERNS | 2026-10-21 | [10 Backend Design Pattern Laws of Senior Engineers and Architects](https://youtu.be/b4IlyJSIlL0) |
|
|
104
|
+
| PICK-DB | 2026-03-11 | [How to Pick the Right Database for Your Project?](https://youtu.be/8rgC5ntNj0c) |
|
|
105
|
+
| PICK-MODEL | 2026-06-11 | [How To Choose The Right AI Model For Your Work?](https://youtu.be/CwNWNfZ_LVY) |
|
|
106
|
+
| PODMAN | 2026-09-11 | [Docker vs Podman Explained: Do We Still Need Docker?](https://youtu.be/Zvc5QkrWgAU) |
|
|
107
|
+
| PROCESSORS | 2026-09-11 | [Every Processing Unit Explained in 7 Minutes (CPU, GPU, TPU, NPU, DPU, QPU)](https://youtu.be/f7WkFZmURPo) |
|
|
108
|
+
| PROGRAMMING | 2026-10-21 | [I Wish Someone Explained Programming to Me Like This](https://youtu.be/Nxy_UROEkd4) |
|
|
109
|
+
| PROTOCOLS | 2026-08-11 | [12 Network Protocols Every Developer Should Know (Clearly Explained)](https://youtu.be/_5b8CAf6dDc) |
|
|
110
|
+
| PY-ECO | 2026-10-11 | [From Code to Execution: Python’s Complete Ecosystem Explained in 12 Minutes](https://youtu.be/iDwVm6r33L0) |
|
|
111
|
+
| PY-LAWS | 2026-09-11 | [7 Coding Laws of Senior Python Developers](https://youtu.be/WiDTchJuQf0) |
|
|
112
|
+
| RAG-ELI5 | 2026-08-11 | [RAG, Embeddings & Vector Databases Explained Like You're 5 Years Old](https://youtu.be/18Np1pjkE3E) |
|
|
113
|
+
| REA | 2026-10-21 | [Reverse Engineer Anything (REA) Explained: The Software Industry Will Never Be the Same](https://youtu.be/gjCBASA-1as) |
|
|
114
|
+
| REST-GQL-GRPC | 2026-09-11 | [You Can’t Become a Backend Developer Without Understanding These (REST vs GraphQL vs gRPC)](https://youtu.be/QojX9Nt4G1o) |
|
|
115
|
+
| RUST-ECO | 2026-11-06 | [The Complete Rust Ecosystem Explained (Why Rust is the Future)](https://youtu.be/fMWThgQmibw) |
|
|
116
|
+
| SCALING | 2026-10-11 | [Vertical vs Horizontal Scaling: The Most Confused Topic Finally Makes Sense](https://youtu.be/o17zk_xZ51Y) |
|
|
117
|
+
| SECURE-API | 2026-05-11 | [How to Secure Your API? (10 Critical Mistakes to Avoid)](https://youtu.be/bfp1fu7_BHk) |
|
|
118
|
+
| SQL-10 | 2026-10-11 | [10 SQL Features That Can Replace 90% of Your Backend Code](https://youtu.be/hGIqNUXQlBU) |
|
|
119
|
+
| SSH | 2026-06-11 | [How SSH Really Works Behind the Scenes? (Explained Clearly in 4 Minutes)](https://youtu.be/XCb4E5B-AZI) |
|
|
120
|
+
| SYS-4MIN | 2026-06-11 | [Give Me Just 4 Minutes, I Will Explain System Design Clearly](https://youtu.be/NkO7B2eXdLw) |
|
|
121
|
+
| SYS-FINALLY | 2026-02-11 | [System Design Finally Makes Sense to Me](https://youtu.be/G61yZPeneQU) |
|
|
122
|
+
| SYSTEMD | 2026-10-11 | [Nobody Explained Linux systemd Like This Before](https://youtu.be/CoNhUCdWcx4) |
|
|
123
|
+
| TERRAFORM | 2026-08-11 | [Terraform in 5 Minutes (Explained Clearly)](https://youtu.be/7S9HKPwfxDM) |
|
|
124
|
+
| TOP10-AWS | 2026-04-11 | [Top 10 AWS Services Explained in 7 Minutes](https://youtu.be/OgoXhRTrXzk) |
|
|
125
|
+
| TRANSFORMERS | 2026-10-11 | [Transformers Explained: The "God" Architecture Behind LLM's](https://youtu.be/A_5XNd7_3to) |
|
|
126
|
+
| UNIX-LINUX | 2026-09-11 | [UNIX vs LINUX Explained: The Most Confused Topic Finally Makes Sense](https://youtu.be/LAQywjdmM6U) |
|
|
127
|
+
| UUID | 2026-10-11 | [Auto Increment vs UUID: The Most Confused Topic Finally Makes Sense](https://youtu.be/NrqScxAqz44) |
|
|
128
|
+
| VECTOR-DB | 2026-09-11 | [Vector Database Will Finally Makes Sense After This](https://youtu.be/-n4DglZ7Afc) |
|
|
129
|
+
| WATERMARK | 2026-09-11 | [Claude Can Now Watermark Its Text. But How? (Explained Clearly)](https://youtu.be/vU3QK7kxvAc) |
|
|
130
|
+
| WEBMCP | 2026-10-14 | [WebMCP Will Finally Make Sense After This Video](https://youtu.be/wwSeLs0daEc) |
|
|
131
|
+
| X-DESIGN | 2026-10-11 | [X (Twitter) System Design Architecture Explained for Absolute Beginners](https://youtu.be/OnhaOGbLP-o) |
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Agent engineering
|
|
2
|
+
|
|
3
|
+
Read when building, reviewing, or debugging an AI agent, agent harness, multi-agent system, MCP or WebMCP integration, or an agent instruction file (CLAUDE.md, AGENTS.md, a skill). AI vocabulary and inference mechanics are in `ai-concepts.md`. Source keys are in this skill's `SKILL.md`.
|
|
4
|
+
|
|
5
|
+
## The model is not the agent
|
|
6
|
+
|
|
7
|
+
The LLM only reasons. The **harness** around it makes it an agent: tools, context assembly, memory, sandboxed execution, approval policy, evaluation. Design and review the harness, not the prompt alone. (HARNESS, AI-COURSE)
|
|
8
|
+
|
|
9
|
+
## The 7 architecture laws
|
|
10
|
+
|
|
11
|
+
Audit every agent against all seven. Each names the failure it prevents.
|
|
12
|
+
|
|
13
|
+
| # | Law | Build it as | Prevents |
|
|
14
|
+
|---|---|---|---|
|
|
15
|
+
| 1 | Tool calling | Narrow, named tools with strict parameter schemas, executed by trusted app code. The model never holds credentials or a raw DB handle. | Unbounded access to data and production |
|
|
16
|
+
| 2 | Planning | Split the goal into sub-steps, observe each tool result, adapt. Hard step cap enforced in the control loop. A fixed sequence is plain code, not an agent. | Premature conclusions, infinite retry loops |
|
|
17
|
+
| 3 | Memory | Working context separate from durable memory. Persist only conventions and relevant project notes. Govern writes and deletes. | Context bloat, cross-user leakage, acting on stale instructions |
|
|
18
|
+
| 4 | Multi-agent | One agent by default. Add an orchestrator plus specialists (coder, security reviewer, tester) only when the work is genuinely separable. | Context dilution, coordination overhead |
|
|
19
|
+
| 5 | Human approval | App policy, not the model, pauses before deploys, PR merges, deletions, permission changes, large refunds. | Irreversible damage |
|
|
20
|
+
| 6 | Sandboxed execution | Commands, code, and browsing run in isolated containers or VMs with scoped credentials and minimal network. Control plane (keys, orchestration, governance) lives outside the sandbox. | A compromised or confused agent touching the host or secrets |
|
|
21
|
+
| 7 | Evaluation | Golden task sets. Grade the final outcome and the execution trace. | Silent regressions, trusting "done" without checks |
|
|
22
|
+
|
|
23
|
+
(LAWS)
|
|
24
|
+
|
|
25
|
+
## Tools
|
|
26
|
+
|
|
27
|
+
- One job per tool. Clear name, explicit description, typed parameters. A catch-all like `find_stuff` is a design bug. (LAWS)
|
|
28
|
+
- App code validates every argument and enforces business rules before calling the service. (AI-COURSE)
|
|
29
|
+
- Expose few tools. Dozens of similar tools waste context and raise wrong-tool picks. (AI-COURSE)
|
|
30
|
+
- Database tools (SQLite, Postgres MCP servers) default to read-only. (MCP-TEST)
|
|
31
|
+
- Mutating tools take an idempotency key so a timeout or retry cannot double-charge or double-create. Same idea as principle `make-operations-idempotent`. (AI-COURSE)
|
|
32
|
+
- Turn raw tool errors into a short, actionable failure message the agent can act on. (AI-COURSE)
|
|
33
|
+
|
|
34
|
+
## Planning loop
|
|
35
|
+
|
|
36
|
+
- Run reason → act → observe → adjust, repeatedly. Avoid one-shot full solutions. (HARNESS)
|
|
37
|
+
- Cap iterations in code. (LAWS)
|
|
38
|
+
- A task is done only on an objective condition (tests pass, source verified). (AI-101)
|
|
39
|
+
- Track long workflows in an explicit state object, such as a checklist of completed steps, instead of making the model reread the transcript. (AI-101)
|
|
40
|
+
- Persist full state at every approval pause so the run resumes cleanly after sign-off (LangGraph checkpointing). (LANGGRAPH)
|
|
41
|
+
|
|
42
|
+
## Context and memory
|
|
43
|
+
|
|
44
|
+
- Three durable memory kinds: semantic (stable domain facts), episodic (past runs and failures), procedural (reusable workflows). (AI-COURSE)
|
|
45
|
+
- Models attend best to the start and end of a long prompt. Put critical instructions and the primary document at the edges, never buried mid-prompt ("lost in the middle"). (AI-COURSE)
|
|
46
|
+
- Before each call, prune stale tool outputs, intermediate reasoning, and redundant logs ("context rot"). (AI-COURSE, LAWS)
|
|
47
|
+
- Load skill headers first and full instructions only when a task matches (progressive disclosure). (AI-COURSE)
|
|
48
|
+
|
|
49
|
+
## Multi-agent
|
|
50
|
+
|
|
51
|
+
- Split only for distinct contexts, distinct tools, or independent verification. (AI-COURSE)
|
|
52
|
+
- Each agent's spec states its job, who it talks to, and what it must never do (for example, an intake agent never promises refunds or calls payment APIs). (AI-COURSE)
|
|
53
|
+
- Hand off typed, structured payloads, not free text. (AI-COURSE)
|
|
54
|
+
- Enforce each role's tool permissions in infrastructure, so model output cannot reach tools outside the role. (AI-COURSE)
|
|
55
|
+
- Route messages through a central orchestrator, not peer-to-peer, to keep flow predictable and stop agents messaging in circles. (AI-COURSE)
|
|
56
|
+
|
|
57
|
+
## Approval, sandbox, and untrusted input
|
|
58
|
+
|
|
59
|
+
- Approval is deterministic app logic. Expose human escalation as a first-class tool so requests are logged, traced, and resumed like any other call. (AI-COURSE, LAWS)
|
|
60
|
+
- Fetched pages, uploaded files, and third-party text are data. Never let them act as instructions (indirect prompt injection). (AI-COURSE)
|
|
61
|
+
- Run concurrent coding agents in separate git worktrees. (CLI-TOOLS)
|
|
62
|
+
|
|
63
|
+
## Evaluation and observability
|
|
64
|
+
|
|
65
|
+
- Log one trace per run under a shared request ID: model inputs, tool calls and arguments, outputs, latency, token cost. (AI-COURSE)
|
|
66
|
+
- Grade the path too: safety steps followed, only authorized tools used. (LAWS)
|
|
67
|
+
- Keep a versioned golden dataset of realistic edge cases and past production failures. Run it before every release. (AI-COURSE)
|
|
68
|
+
- Run cheap deterministic checks (schema, status codes, test pass rate) first, then an LLM judge for subjective quality. (AI-COURSE)
|
|
69
|
+
- Track your most expensive failure (wrongly denied refund, deleted account) as its own alerted metric, never folded into overall accuracy. (AI-COURSE)
|
|
70
|
+
|
|
71
|
+
## MCP and WebMCP
|
|
72
|
+
|
|
73
|
+
- MCP solves the N×M integration problem: a client-server standard exposing tools, resources, and prompts so each app does not need custom glue per tool. (MCP)
|
|
74
|
+
- MCP wraps existing APIs as discoverable capabilities. APIs stay. (MCP-VS-API)
|
|
75
|
+
- WebMCP lets a web page declare tools with schemas through browser APIs and HTML annotations, so agents call features instead of scraping the DOM. (WEBMCP)
|
|
76
|
+
- WebMCP tools carry safety metadata: mark each read-only or consequential (needs user confirmation), and tag untrusted user input. (WEBMCP)
|
|
77
|
+
|
|
78
|
+
## Agent instruction files (CLAUDE.md)
|
|
79
|
+
|
|
80
|
+
The four lines highlighted by the talk (CLAUDE-MD) — note that under deepmodebot, `SKILL.md` Autonomy wins on line 1 (resolve reversible ambiguity autonomously; ask only on genuine hard stops or irreversible design forks):
|
|
81
|
+
|
|
82
|
+
1. Do not silently guess on irreversible requirements or major trade-offs; surface assumptions (under deepmodebot, decide reversible details yourself instead of blocking on questions).
|
|
83
|
+
2. Write the minimum code that solves the problem. No speculative abstractions or unrequested features. Same idea as principle `laziness-protocol`.
|
|
84
|
+
3. Touch only what the task needs. Clean up only your own changes. No drive-by reformatting or renames.
|
|
85
|
+
4. Define success, write a reproducing test, fix, and loop until verified. Same idea as principle `prove-it-works`.
|
|
86
|
+
|
|
87
|
+
Beyond those four, include only build and test commands and non-obvious conventions. Generic coding advice is a no-op. (CLAUDE-MD)
|
|
88
|
+
|
|
89
|
+
## Cost and usage limits
|
|
90
|
+
|
|
91
|
+
- New task, new chat. Carry over a short summary of decisions, not the history. (CLAUDE-TIPS)
|
|
92
|
+
- Batch related asks into one detailed prompt. State format, constraints, and tone up front to avoid re-prompts. (CLAUDE-TIPS)
|
|
93
|
+
- Keep recurring docs, style guides, and schemas in a project workspace instead of re-uploading. (CLAUDE-TIPS)
|
|
94
|
+
- Static content first (system prompt, tool definitions, docs), dynamic input last, to maximize prompt-cache hits. (AI-COURSE)
|
|
95
|
+
- Route by difficulty: small fast models for classification, formatting, and unit tests; top models for architecture and hard debugging. (AI-COURSE)
|
|
96
|
+
- Measure cost per resolved task, not per API call. (AI-COURSE)
|
|
97
|
+
|
|
98
|
+
## Reviewing AI-written code
|
|
99
|
+
|
|
100
|
+
- Passing tests is not enough. Check unwritten business rules, external contracts, and whether logic landed in the right function. (DEV-LIFE)
|
|
101
|
+
- The authoring agent never reviews its own change alone. Use independent tests, a separate reviewer agent, or a human. (AI-COURSE)
|
|
102
|
+
- Flag edits to shared utilities that silently change behavior for existing callers. (DEV-LIFE)
|
|
103
|
+
- Test generated validation against real data. For example, email regexes that reject `+` addressing. (DEV-LIFE)
|
|
104
|
+
- Never paste customer PII, credentials, or connection strings into an AI tool. (DEV-LIFE)
|
|
105
|
+
- The human's job moves to scoping requirements and edge cases up front and reviewing diffs hard. (DEV-LIFE, AI-ERA)
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# AI concepts
|
|
2
|
+
|
|
3
|
+
Read when a task involves LLM fundamentals, RAG or retrieval, fine-tuning, inference cost or hardware, local models, model choice, or explaining AI terms. How to design and review agents is in `agent-engineering.md`; this file is the vocabulary and mechanics. Model, price, and market facts are dated to the source video and go stale fast; verify before relying on them. Source keys are in this skill's `SKILL.md`.
|
|
4
|
+
|
|
5
|
+
## Model basics
|
|
6
|
+
|
|
7
|
+
- **LLM**: a network with billions of parameters, trained on huge text corpora to predict the next token. (LLM)
|
|
8
|
+
- **Token**: the unit a model reads. About 4 characters, or 3/4 of an English word; 100 words is about 130 tokens. (FORGETS)
|
|
9
|
+
- **Context window**: the token budget for one request. System prompt, history, retrieved docs, tool definitions, and the reply all share it. (FORGETS)
|
|
10
|
+
- **Lost in the middle**: recall is strong at the start and end of a long context and weak in the middle. (AI-COURSE)
|
|
11
|
+
- **Temperature**: scales the next-token distribution. Low is focused and repeatable, high is varied. Neither makes output true. (AI-101)
|
|
12
|
+
- **Hallucination**: fluent, plausible output that the facts or the given context do not support. (LLM)
|
|
13
|
+
- **Text watermarking**: during generation, nudge choices among equally good synonyms in a hidden statistical pattern that a detector can find over a few hundred words. (WATERMARK)
|
|
14
|
+
|
|
15
|
+
## Retrieval
|
|
16
|
+
|
|
17
|
+
- **Embedding**: a vector that encodes meaning, so related phrases sit close together even with different words. (RAG-ELI5)
|
|
18
|
+
- **Vector database** (Pinecone, Milvus, Chroma, Weaviate, pgvector): fast approximate nearest-neighbor search over embeddings. (VECTOR-DB)
|
|
19
|
+
- **Vector indexes**: HNSW builds a layered navigation graph; IVF clusters vectors. Both trade speed against recall. (AI-101)
|
|
20
|
+
- **RAG**: fetch relevant chunks at request time and put them in the prompt, grounding answers without retraining. (RAG-ELI5)
|
|
21
|
+
- **Hybrid search**: dense vectors plus BM25 keyword search, so exact IDs, product codes, and error strings still match. (AI-COURSE)
|
|
22
|
+
- **Reranking**: a cross-encoder scores the candidate chunks against the query, and only the top few enter the prompt. (AI-COURSE)
|
|
23
|
+
- **HyDE**: draft a hypothetical answer, embed it, and search with that. (AI-COURSE)
|
|
24
|
+
- **Corrective RAG**: a grader checks the retrieved passages and falls back to web or other search when the evidence is weak. (AI-COURSE)
|
|
25
|
+
- **GraphRAG**: entities as nodes and relations as edges, for multi-hop questions that text search misses. (AI-COURSE)
|
|
26
|
+
- **Agentic RAG**: retrieval becomes a tool the agent calls repeatedly until its stop condition holds. (AI-COURSE)
|
|
27
|
+
- **Treat the knowledge base like software**: each document has an owner, provenance is tracked, chunks are deleted when a document retires, and there is a shared glossary. (AI-COURSE)
|
|
28
|
+
|
|
29
|
+
## Changing model behavior
|
|
30
|
+
|
|
31
|
+
| Method | Changes | Use for |
|
|
32
|
+
|---|---|---|
|
|
33
|
+
| Prompting | Instructions in context | The task itself |
|
|
34
|
+
| RAG | Facts in context at runtime | Fresh or private knowledge |
|
|
35
|
+
| Fine-tuning (SFT) | Weights, from input/target pairs | Consistent voice, format, procedure |
|
|
36
|
+
| LoRA | Two small low-rank adapter matrices; base frozen | Cheap fine-tuning |
|
|
37
|
+
| QLoRA | LoRA on a 4-bit quantized base | Fine-tuning on consumer GPUs |
|
|
38
|
+
| Distillation | A small student copies a big teacher's output distribution and reasoning | Cheaper, faster deployment |
|
|
39
|
+
| RLHF | Reward model trained on human preference comparisons | Alignment |
|
|
40
|
+
| DPO | Weights optimized straight from preferred/rejected pairs, no reward model | Simpler alignment |
|
|
41
|
+
|
|
42
|
+
(AI-101, AI-COURSE)
|
|
43
|
+
|
|
44
|
+
- **Reward hacking and sycophancy**: training learns shortcuts that score well but hurt quality, such as padding answers or agreeing with the user. (AI-COURSE)
|
|
45
|
+
|
|
46
|
+
## Agent vocabulary
|
|
47
|
+
|
|
48
|
+
- **Chatbot vs agent**: a chatbot answers once; an agent loops (perceive, reason, act, observe) toward a goal. (AI-COURSE)
|
|
49
|
+
- **Tool calling**: the model emits JSON with a tool name and arguments; app code runs it and returns the result. (LAWS)
|
|
50
|
+
- **ReAct**: alternate reasoning, a tool action, and observing the result. (AI-COURSE)
|
|
51
|
+
- **Skills**: folders of procedure with a light header, loaded on demand. (AI-COURSE)
|
|
52
|
+
- **MCP**: open client-server protocol (introduced by Anthropic in Nov 2024; transferred to the Agentic AI Foundation under the Linux Foundation in Dec 2025) for discovering tools, resources, and prompts; solves N×M integration. (MCP)
|
|
53
|
+
- **WebMCP**: a W3C proposal letting pages expose tools through JS APIs and HTML annotations. (WEBMCP)
|
|
54
|
+
- **LangGraph**: agent workflows as stateful graphs of nodes (functions or agents), edges (routing), and checkpoints for human pauses. (LANGGRAPH)
|
|
55
|
+
- **LangSmith**: tracing, run-tree visualization, evals, latency and cost tracking. (LANGSMITH)
|
|
56
|
+
- **AI gateway**: middleware for multi-tenant LLM traffic: rate limits, cost accounting, model fallback, PII masking. (AI-COURSE)
|
|
57
|
+
- **Hermes Agent** (Nous Research, open source): persistent memory, scheduled background tasks, learned reusable skills. (HERMES)
|
|
58
|
+
- **Jev** (Typesafe AI): answers many typed questions (choice, score, yes/no) in parallel in 70–500 ms [unverified: video claim] instead of generating text. (JEV)
|
|
59
|
+
- **REA (Reverse Engineer Anything)**: open source, reportedly 139 MCP tools in 12 families [unverified: video count], wiring coding agents to Ghidra, Hopper, and IDA Pro to inspect, decompile, and reconstruct software. (REA)
|
|
60
|
+
- **Prompt injection**: direct (a user message overrides the system prompt) or indirect (instructions hidden in a document or web page the agent reads). (AI-COURSE)
|
|
61
|
+
- **Evals**: score outputs over a versioned golden dataset as pass rates, with an LLM judge using a rubric for groundedness, relevance, and tone. (AI-COURSE)
|
|
62
|
+
|
|
63
|
+
## Inference and hardware
|
|
64
|
+
|
|
65
|
+
- **Transformer** (Vaswani et al., 2017): replaced sequential recurrence with parallel self-attention, where every token attends to every other token. (TRANSFORMERS)
|
|
66
|
+
- **Processors**: CPU for branchy sequential logic, GPU for massively parallel matrix math, TPU for tensor math (Google), NPU for low-power on-device inference. (PROCESSORS)
|
|
67
|
+
- **CUDA**: NVIDIA's platform and math libraries for general-purpose GPU programming. (AI-COURSE)
|
|
68
|
+
- **Prefill vs decode**: prefill reads the whole prompt in parallel and is compute-bound; decode emits tokens one at a time and is memory-bandwidth-bound. (AI-COURSE)
|
|
69
|
+
- **KV cache**: keeps past tokens' attention keys and values in GPU memory so each new token does not recompute them. (AI-COURSE)
|
|
70
|
+
- **Prompt caching**: reuse the processed state of an identical static prefix to skip its prefill. Put static content first. (AI-COURSE)
|
|
71
|
+
- **Quantization**: store weights in 8, 5, or 4 bits (Q8, Q4) instead of 16. Much less memory for a small quality loss. (LM-STUDIO)
|
|
72
|
+
- **Mixture of Experts**: routes each token to a few expert sub-networks, so only part of the parameters run per token (for example Qwen 3 Coder 480B). (OPEN-MODELS)
|
|
73
|
+
- **Local runtimes**: Ollama and LM Studio run quantized GGUF models on your own CPU or GPU with no data leaving the machine. (OLLAMA, LM-STUDIO)
|
|
74
|
+
- **Model routing**: easy tasks to small models, hard ones to big reasoning models. (AI-COURSE)
|
|
75
|
+
- **Research watch**: Next Concept Modeling (Stanford Hazy Research) generates text coarse to fine with residual VQ-VAE hierarchies, reported up to 31× faster than diffusion models [unverified: secondary video summary]. (NCM)
|
|
76
|
+
|
|
77
|
+
## Model and tool landscape (as of the video dates)
|
|
78
|
+
|
|
79
|
+
| Family | Positioned for |
|
|
80
|
+
|---|---|
|
|
81
|
+
| OpenAI GPT | General baseline for reasoning, code, structured output |
|
|
82
|
+
| Anthropic Claude (Haiku, Sonnet, Opus) | Hard coding, long documents, architecture writing |
|
|
83
|
+
| Claude Fable 5.2 (video also mentions Mythos 5.2 [unverified]) | Frontier reasoning; $8/M input, $40/M output (Fable 5.2 per Anthropic pricing); video claims 49.1% on Frontier Code 2.0 [unverified] (FABLE, 2026-11-10) |
|
|
84
|
+
| Google Gemini (Pro, Flash, Flash-Lite) | Native multimodal (text, audio, video, PDF), very large context |
|
|
85
|
+
| Meta Llama | Open weights for self-hosting, privacy, fine-tuning |
|
|
86
|
+
| xAI Grok | Real-time X and news context |
|
|
87
|
+
| Perplexity Sonar | Search-backed answers with live citations |
|
|
88
|
+
| Qwen, DeepSeek, Mistral and other open coders | Local agentic coding (Qwen 3 Coder, DeepSeek V4, Devstral Small), multimodal UI debugging (MiniMax M3) |
|
|
89
|
+
|
|
90
|
+
(PICK-MODEL, OPEN-MODELS)
|
|
91
|
+
|
|
92
|
+
- **Claude Code**: terminal agent that navigates a repo, runs commands, and makes multi-file edits behind permission checkpoints. (CLAUDE-WON)
|
|
93
|
+
- **Cursor Origin**: code hosting built around agents as first-class participants. (CURSOR-ORIGIN)
|
|
94
|
+
- **Abacus AI agent**: in a 15-minute test it built a news-curation app with a React front end, database tables (feeds, items, ingestion runs), hourly ingestion jobs, and an admin dashboard with filtering and duplicate detection. (APP-15MIN)
|
|
95
|
+
- **OpenClaw**: a local agent controlled remotely (for example over WhatsApp) that reads files, runs shell commands, and edits code. The risk shown is silent mistakes on a sensitive machine; sandbox it. (OPENCLAW)
|
|
96
|
+
|
|
97
|
+
## Industry and career signals (dated, verify before citing)
|
|
98
|
+
|
|
99
|
+
- **AGI**: hypothetical broad human-level competence with transfer, common sense, and continual learning. (AGI)
|
|
100
|
+
- **Bubble risk**: Gartner projects about $1 trillion of AI infrastructure spend in 2026, with over $3.5 trillion exposed to impairment by 2030 if profitable demand lags. Epoch AI: the cost to reach a given benchmark level fell about 47% per quarter since 2023. (BUBBLE)
|
|
101
|
+
- **Jobs**: WEF 2025 projects 170M jobs created and 92M displaced by 2030 (net +78M); 59 of every 100 workers need retraining. (CAREER-2030)
|
|
102
|
+
- **Early career**: Stanford found employment for ages 22–25 in AI-exposed roles 19% below expectations; PwC found entry-level postings requiring senior judgment up 35%. (AI-ERA)
|
|
103
|
+
- **Forward Deployed Engineer**: the hybrid role connecting models to legacy enterprise systems: requirements, RAG pipelines, evals, production deploys. (FDE)
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# AWS networking and cloud
|
|
2
|
+
|
|
3
|
+
Read when designing, changing, or debugging AWS infrastructure: VPCs, subnets, routing, gateways, firewalls, DNS, load balancers, cross-network links, IAM, cost, or picking an AWS service. Almost all of it is from AWS-NET; other source keys are marked. Keys are in this skill's `SKILL.md`.
|
|
4
|
+
|
|
5
|
+
## Debug a connection (do this first on any "can't connect")
|
|
6
|
+
|
|
7
|
+
Follow the packet. Check in this order and stop at the first failure:
|
|
8
|
+
|
|
9
|
+
1. **Path and address.** The destination IP or name exists and resolves.
|
|
10
|
+
2. **Routes.** The source subnet's route table has a route to the destination, and the destination has a **return route** back. Peering failures are usually a missing return route.
|
|
11
|
+
3. **Security groups.** Ingress on the target, egress on the source.
|
|
12
|
+
4. **Network ACLs.** Both directions, including the ephemeral return ports.
|
|
13
|
+
|
|
14
|
+
Then read VPC Flow Logs for the interface:
|
|
15
|
+
|
|
16
|
+
| Flow log shows | Meaning | Look at |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
| No record | Packet never reached the interface | Routing or addressing |
|
|
19
|
+
| `REJECT` | Arrived and was blocked | Security group or NACL |
|
|
20
|
+
| `ACCEPT` but the client times out | The network is fine | The host: service down, wrong port, or bound to `localhost` only |
|
|
21
|
+
|
|
22
|
+
Pair Flow Logs with CloudTrail, which records who changed a security group, route, or gateway and when.
|
|
23
|
+
|
|
24
|
+
## VPC and CIDR
|
|
25
|
+
|
|
26
|
+
- A VPC lives in one region and spans all of its Availability Zones.
|
|
27
|
+
- Take VPC ranges from RFC 1918 private space only: `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`.
|
|
28
|
+
- Size by prefix: /16 gives 65,536 addresses, /24 gives 256.
|
|
29
|
+
- AWS keeps 5 addresses in every subnet (the first four and the last), so a /24 has 251 usable.
|
|
30
|
+
- Never overlap CIDRs between VPCs, or between a VPC and on-premises. Overlapping ranges cannot be routed between, and fixing them later means renumbering. Plan the address map before the first VPC.
|
|
31
|
+
- Load balancers take private IPs in at least two AZs' subnets. Size subnets with room for them.
|
|
32
|
+
|
|
33
|
+
## Subnets and route tables
|
|
34
|
+
|
|
35
|
+
- Each subnet sits in exactly one AZ. Subnets are how you spread work across failure domains.
|
|
36
|
+
- "Public" is not a setting. A subnet is public only when its route table sends `0.0.0.0/0` to an Internet Gateway. Without that route it is private, even if an instance holds a public IP.
|
|
37
|
+
- Every route table has a local route for the VPC CIDR (for example `10.0.0.0/16 → local`). It cannot be deleted and lets all subnets talk.
|
|
38
|
+
- Create dedicated route tables and associate each subnet explicitly. Implicit fallback to the main table causes drift.
|
|
39
|
+
- Longest prefix wins. A specific route (local VPC, peering) beats `0.0.0.0/0`.
|
|
40
|
+
- Deleting or detaching a route's target (NAT gateway, peering link) leaves the entry as a **blackhole** route that silently drops matching traffic. Check for blackholes after any teardown.
|
|
41
|
+
|
|
42
|
+
## Internet access
|
|
43
|
+
|
|
44
|
+
- An instance is reachable from the IPv4 internet only when all four hold: an Internet Gateway is attached to the VPC, the subnet routes `0.0.0.0/0` to it, the instance has a public IPv4 or Elastic IP, and a security group allows the inbound port.
|
|
45
|
+
- A NAT Gateway gives private subnets outbound-only access (patches, external APIs). Put it in a public subnet with an Elastic IP.
|
|
46
|
+
- A NAT Gateway is zonal. Run one per AZ, each with its own private route table, or one AZ failure cuts egress for all.
|
|
47
|
+
- A self-managed NAT instance needs its interface's source/destination check disabled, or it drops forwarded traffic.
|
|
48
|
+
- IPv6 needs no translation. Use an Egress-Only Internet Gateway for outbound-only `::/0`.
|
|
49
|
+
|
|
50
|
+
## Security groups vs network ACLs
|
|
51
|
+
|
|
52
|
+
| | Security group | Network ACL |
|
|
53
|
+
|---|---|---|
|
|
54
|
+
| Attached to | Network interface (instance level) | Subnet boundary, checked first |
|
|
55
|
+
| State | Stateful: replies allowed automatically | Stateless: both directions need rules |
|
|
56
|
+
| Rules | Allow only; default deny; multiple groups union | Allow and deny; numbered, lowest first, first match wins; implicit final deny |
|
|
57
|
+
| Return traffic | Automatic | Outbound must allow ephemeral ports 1024–65535 |
|
|
58
|
+
|
|
59
|
+
- Write security group rules against other group IDs, not IPs. Example: the app group admits only the load balancer group, so new instances are covered without editing IP lists.
|
|
60
|
+
|
|
61
|
+
## DNS
|
|
62
|
+
|
|
63
|
+
- The VPC resolver is at the VPC base address plus two (`10.0.0.2` for `10.0.0.0/16`) and at `169.254.169.253` in every VPC.
|
|
64
|
+
- Private hostnames need both `enableDnsSupport` and `enableDnsHostnames` set to true.
|
|
65
|
+
- A Route 53 private hosted zone resolves only in VPCs explicitly associated with it.
|
|
66
|
+
- Before a DNS cutover, lower the record TTL and wait one old TTL. Raise it again afterward.
|
|
67
|
+
- Route 53 steers globally (latency, health-check failover, weighted) before traffic reaches a VPC or load balancer. (TOP10-AWS)
|
|
68
|
+
|
|
69
|
+
## Load balancers
|
|
70
|
+
|
|
71
|
+
- ALB is layer 7: routes HTTP/HTTPS by path or host header.
|
|
72
|
+
- NLB is layer 4: raw TCP/UDP, very high throughput, very low latency.
|
|
73
|
+
- Health checks pull failing targets out of rotation automatically.
|
|
74
|
+
- An internal load balancer with private IPs, in private subnets, balances between backend services without internet exposure.
|
|
75
|
+
|
|
76
|
+
## Connecting networks
|
|
77
|
+
|
|
78
|
+
- **VPC peering** is one-to-one and not transitive. A cannot reach C through B. Each pair needs its own peering plus routes on both sides. A full mesh of N VPCs needs N(N−1)/2 links (10 VPCs need 45). Past a handful, use Transit Gateway.
|
|
79
|
+
- **Transit Gateway** is a hub that attaches VPCs, VPNs, and Direct Connect, with one attachment interface per AZ. It routes transitively. Separate environments with multiple TGW route tables.
|
|
80
|
+
- **Gateway endpoints** cover S3 and DynamoDB only. They are free and add prefix-list routes so that traffic skips the NAT Gateway.
|
|
81
|
+
- **Interface endpoints (PrivateLink)** put an ENI with a private IP in your subnets for nearly every other AWS or partner service. They are billed hourly plus per GB.
|
|
82
|
+
- To share your own service privately, put it behind an NLB, publish an endpoint service, and consumers connect through PrivateLink with no peering or route exchange.
|
|
83
|
+
- Restrict endpoints with endpoint policies, for example only specific S3 buckets.
|
|
84
|
+
- **Site-to-Site VPN**: IPsec from an on-premises customer gateway to a Virtual Private Gateway or Transit Gateway. It always provisions two tunnels; configure both.
|
|
85
|
+
- **Direct Connect**: dedicated physical circuit for steady latency and high throughput. Keep a VPN as automatic backup.
|
|
86
|
+
- **Client VPN** gives individual remote users subnet access under authorization rules. For a shell on one instance, use Systems Manager Session Manager and open no inbound SSH.
|
|
87
|
+
|
|
88
|
+
## Three-tier reference architecture
|
|
89
|
+
|
|
90
|
+
- VPC `10.0.0.0/16` across 2 AZs with 6 subnets: 2 public (ALB, NAT Gateways), 2 private app, 2 private database.
|
|
91
|
+
- 4 route tables: 1 public (`0.0.0.0/0 → IGW`), 2 private app (each `0.0.0.0/0 →` its own AZ's NAT), 1 database with local routes only. The database has no path to the internet.
|
|
92
|
+
- 3 security groups: ALB admits 443 from the internet; app admits only the ALB group; database admits only the app group on the database port.
|
|
93
|
+
- When one AZ fails, the ALB drops the dead targets, app instances in the healthy AZ egress through their own NAT, and the database fails over to its standby replica.
|
|
94
|
+
|
|
95
|
+
## Cost traps
|
|
96
|
+
|
|
97
|
+
- Every public IPv4 address bills hourly, including unattached Elastic IPs. Release idle ones.
|
|
98
|
+
- NAT Gateways bill per hour plus per GB processed. Large S3 or internal AWS traffic through NAT is a classic surprise bill. Move it to gateway endpoints.
|
|
99
|
+
- Inbound data to AWS is free. Outbound to the internet, cross-AZ, and inter-region transfer all cost. (AWS-SENSE)
|
|
100
|
+
- A stopped EC2 instance stops compute billing, but its EBS volumes keep billing until deleted. (AWS-SENSE)
|
|
101
|
+
- On day one, create AWS Budgets alerts (for example at 85% and 100%). Tear down experiments before weekends. (AWS-SENSE)
|
|
102
|
+
|
|
103
|
+
## IAM and security
|
|
104
|
+
|
|
105
|
+
- Do not use the root user for daily work. Give it a strong password and MFA, then work through least-privilege IAM roles (federate humans via IAM Identity Center and CI via OIDC; avoid static IAM users or long-lived access keys per `skill://cloud-devsecops/references/aws.md`). (AWS-SENSE)
|
|
106
|
+
- Split network power: developers can read networks and attach security groups; only the platform team can edit route tables, create gateways, or delete VPCs.
|
|
107
|
+
- Shared responsibility: AWS secures the physical facilities, virtualization, and hardware. You secure IAM, OS patching, encryption, and firewall rules. (AWS-SENSE)
|
|
108
|
+
|
|
109
|
+
## Picking a service
|
|
110
|
+
|
|
111
|
+
| Need | Service |
|
|
112
|
+
|---|---|
|
|
113
|
+
| Full OS control, custom kernel or tuning, legacy monolith | EC2 (TOP10-AWS) |
|
|
114
|
+
| Run code on events (S3 upload, API call, queue message) with no servers | Lambda (TOP10-AWS) |
|
|
115
|
+
| Containers: simple and AWS-native | ECS (CLOUD-10) |
|
|
116
|
+
| Containers: complex orchestration or multi-cloud | EKS (CLOUD-10) |
|
|
117
|
+
| Static assets, backups, logs, data lake, large files | S3 (TOP10-AWS) |
|
|
118
|
+
| Relational, transactional, ACID (Postgres, MySQL, SQL Server, Oracle) | RDS (DB-LAWS) |
|
|
119
|
+
| Key-value or document at single-digit-ms latency, huge scale (sessions, carts, leaderboards) | DynamoDB (TOP10-AWS) |
|
|
120
|
+
| Decouple services and absorb spikes | SQS (TOP10-AWS) |
|
|
121
|
+
| Cache static content at the edge in front of S3 or an ALB | CloudFront (TOP10-AWS) |
|