deepmodebot 0.0.0-stage → 0.9.0
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 +229 -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/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,101 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: create-verification-skill
|
|
3
|
+
description: "Generate a project-local verification skill (.omp/skills/verify-<app>/, .claude/skills/verify-<app>/, or .agents/skills/verify-<app>/) that drives the app the way a user does and captures proof: control CLI, launch/doctor/drive/evidence/cleanup, and a feature map. Any language or platform. Use for create-verification-skill, \"make a verify skill for this repo\", or when a repo has no scripted way to prove UI/CLI/service behavior."
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Create a verification skill
|
|
8
|
+
|
|
9
|
+
Every serious project needs a scripted way to drive the real app and prove behavior: launch it, exercise a feature the way a user would, and capture evidence. This skill generates that as a project-local omp skill at `<repo>/.omp/skills/verify-<app>/`, which omp discovers automatically for every session in the repo. Write the output for the next agent, not for a human: it will be read cold, mid-task, by an agent that has never seen the app.
|
|
10
|
+
|
|
11
|
+
Outside omp, write the same skill to the folder your harness discovers and substitute that path for `.omp/skills/` below: Claude Code reads `.claude/skills/verify-<app>/`; Google Antigravity (`agy`/App/IDE; `.gemini/skills/` in workspace is ignored), Codex, and most other agents read `.agents/skills/verify-<app>/` (`skill://agent-harnesses`). Codex's sandbox makes `.agents/` read-only, so creating it there needs user approval.
|
|
12
|
+
|
|
13
|
+
## 1. Interview the repo, not the user
|
|
14
|
+
|
|
15
|
+
Answer these from the codebase. Ask the user (`ask` in omp, `AskUserQuestion` in Claude Code, `ask_question` in Antigravity, `request_user_input` or a direct question in Codex) only what you cannot observe:
|
|
16
|
+
|
|
17
|
+
- **Surface:** what does a user actually touch? Web UI, CLI/TUI, desktop app, API, mobile app, library? A repo can have several; pick the primary one and note the rest.
|
|
18
|
+
- **Run:** how does the app start locally? Prefer the repo's own documented dev command (package scripts, Makefile, README quickstart). Note ports, env vars, seed data, auth.
|
|
19
|
+
- **Drive:** how can an agent interact with it programmatically? Existing harnesses first: Playwright/Cypress specs, expect scripts, PTY helpers, curl-able endpoints, a debug port. Only then pick a generic recipe:
|
|
20
|
+
- Web or Electron: Playwright or Chrome DevTools Protocol (CDP).
|
|
21
|
+
- CLI/TUI: tmux where available; on Windows, a Node script using `child_process` or `node-pty`.
|
|
22
|
+
- Service: plain HTTP.
|
|
23
|
+
- **Observe:** what evidence can be captured? Screenshots, accessibility snapshots, terminal transcripts, response bodies, logs, exit codes, DB state.
|
|
24
|
+
- **Isolate:** can two instances run side by side (ports, data dirs, profiles)? If not, say so in the generated skill: refusing to double-drive a shared instance beats corrupting the user's session.
|
|
25
|
+
|
|
26
|
+
If the checkout doesn't build or start as-is, fix that first (or report it precisely) before generating. A skill written against a broken base teaches wrong steps. When an irrelevant missing asset blocks startup (a static dir the API never serves, a sample config), the generated skill may create it, clearly marked as verification scaffolding, and remove it in cleanup.
|
|
27
|
+
|
|
28
|
+
## 2. Build the control CLI
|
|
29
|
+
|
|
30
|
+
Ship one executable helper, `.omp/skills/verify-<app>/control-<app>.<ext>`, in the repo's own language/runtime. Agents run commands instead of writing throwaway scripts, which saves tokens and makes runs reproducible. Required commands:
|
|
31
|
+
|
|
32
|
+
| Group | Commands |
|
|
33
|
+
|---|---|
|
|
34
|
+
| Lifecycle | `launch` (empty data dir → migrations → seed → ready means *usable*, not just "port open"), `cleanup` |
|
|
35
|
+
| Health | `doctor` (read-only: process up, right build/version, port owned by this run, auth valid) |
|
|
36
|
+
| Inspect | `snapshot` (a11y tree or equivalent), `screenshot <path>`, `logs` |
|
|
37
|
+
| Drive | whatever the surface needs: `goto`, `click`, `type`, `press`, `send`, `run -- <cmd>` |
|
|
38
|
+
|
|
39
|
+
Add `trace`, `wait-settle`, `feature-flag <name> on|off`, `network-log` when the stack supports them. Design rules:
|
|
40
|
+
|
|
41
|
+
- Output machine-readable JSON.
|
|
42
|
+
- Errors say what to do instead.
|
|
43
|
+
- Anything with destructive side effects takes `--dry-run`.
|
|
44
|
+
- Subcommands disclose functionality gradually; `--help` is complete.
|
|
45
|
+
- Commands compose; no command does two jobs.
|
|
46
|
+
|
|
47
|
+
## 3. Write the skill
|
|
48
|
+
|
|
49
|
+
Write `.omp/skills/verify-<app>/SKILL.md`. Frontmatter is required: omp skips project skills without a `description`. Use `name: verify-<app>` and a `description` that names the app, the surface, and when to reach for it. Body sections, each grounded in what the interview found (no placeholders left):
|
|
50
|
+
|
|
51
|
+
- **Launch:** the exact command that starts the app for verification, and how to tell it's ready (a log line, a prompt, a doctor pass). Launch must reach a usable state from an empty data dir, including migrations and seed data. A database health check can pass while its init scripts are still running. Include teardown. For a short-lived CLI or TUI there is no server to keep alive: build once, then start each drive in its own isolated session.
|
|
52
|
+
- **Doctor:** one read-only check answering "is this instance worth driving?" An agent runs it first, and again whenever anything looks off.
|
|
53
|
+
- **Drive:** the harness recipe with real selectors and commands from this repo, not examples. Prefer stable handles (ARIA roles and names, `data-testid`, prompt strings, route paths) over coordinates and tab order.
|
|
54
|
+
- **Evidence:** what to capture and where it goes. Proof standards:
|
|
55
|
+
- Exercise the real user path, not internal setters or test-only endpoints.
|
|
56
|
+
- Capture the action and the resulting state, not just the final screen.
|
|
57
|
+
- Verify side effects (files written, rows inserted, messages sent) alongside what's visible.
|
|
58
|
+
- Mocks only where a production boundary already isolates the external system.
|
|
59
|
+
- When the safe path is a dry-run or test mode, verify what it actually skips by observing (files, network, git refs) rather than trusting its name.
|
|
60
|
+
- **Cleanup:** tear down what the run started. Never kill by process name; kill what you started. Cleanup removes instances and scratch state, never evidence: proof artifacts survive in a location the skill names.
|
|
61
|
+
- **Helpers:** document the exact invocation for every helper script in the skill body (`chmod +x` on Unix; invoke via its runtime like `node`, `python -B` / `py -3 -B`, or `pwsh` so it works on Windows without POSIX execute bits). Reference files relative to the skill directory (`skill://verify-<app>/...` resolves in omp only).
|
|
62
|
+
|
|
63
|
+
## 4. Seed the feature map
|
|
64
|
+
|
|
65
|
+
Create `.omp/skills/verify-<app>/features/README.md` plus one file per user-facing feature you can identify (top 3–5 to start, from routes, commands, menus, or docs). Follow the shape in `references/feature-map-example/`: a README index (baseline preconditions, driving conventions, proof and skip reporting, entry contract, feature list) and one file per feature.
|
|
66
|
+
|
|
67
|
+
Each feature file: H1 title, one paragraph of user-visible behavior, then exactly these four H2s in order: `Sub-features`, `How to get to it (user POV)`, `Driving it with control-<app>`, `Gotchas`. The driving section starts with `Preconditions:` and pairs each user action with an exact command and its observable result.
|
|
68
|
+
|
|
69
|
+
If the seed data lacks a precondition a journey needs, the journey reports a failure and the reason goes in that feature's `Gotchas`. Never weaken a journey to make it pass. A proof that drives one convenient entry point is incomplete when the map lists others. Keep implementation details out of the map.
|
|
70
|
+
|
|
71
|
+
## 5. Wire it into the repo's instructions
|
|
72
|
+
|
|
73
|
+
omp loads `AGENTS.md` into main sessions only; task subagents do not receive it but do receive `.omp/RULES.md`. So:
|
|
74
|
+
|
|
75
|
+
- Add a short `## Verification` section to the repo's existing context file (root `AGENTS.md`, or `.omp/AGENTS.md` if the repo uses that). Create root `AGENTS.md` only if the repo has none. Use the template below, filled in. Do not paste the skill's contents into it.
|
|
76
|
+
- In omp repos, also add one line to `.omp/RULES.md` (omp-only; create if absent, append if present) so omp subagents verify too: `Prove behavior changes with skill://verify-<app> before reporting done; include the evidence paths.` (Claude Code, Codex, and Antigravity ignore `.omp/RULES.md` and `skill://`, so root `AGENTS.md` carries the portable path.)
|
|
77
|
+
|
|
78
|
+
AGENTS.md template:
|
|
79
|
+
|
|
80
|
+
```markdown
|
|
81
|
+
## Verification
|
|
82
|
+
|
|
83
|
+
Every behavior change must be proven on the running app before it's done. Passing tests are not proof.
|
|
84
|
+
|
|
85
|
+
- Use the `verify-<app>` skill (`.agents/skills/verify-<app>/SKILL.md`, `.claude/skills/verify-<app>/SKILL.md`, or `.omp/skills/verify-<app>/SKILL.md`). Read it before launching, driving, or debugging the app.
|
|
86
|
+
- Find the feature in `<verify-skill-dir>/features/README.md` and follow its "Driving it" recipe.
|
|
87
|
+
- Run `<doctor command>` first, and again whenever anything looks off. Never drive an instance you didn't launch.
|
|
88
|
+
- Report evidence: commands run, screenshots/snapshots, observed end state. "Fixed" without artifacts is not done.
|
|
89
|
+
- Adding or changing a user-facing feature? Update its feature-map file in the same change.
|
|
90
|
+
- Missing a CLI command you need? Add it to `control-<app>`; don't write a throwaway script.
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## 6. Prove the generated skill before handing it over
|
|
94
|
+
|
|
95
|
+
Run its own instructions end to end once: launch, doctor, drive ONE mapped feature, capture evidence, clean up. After cleanup, confirm the evidence still exists at the named location; a cleanup that eats the proof fails this step. Fix what fails, and run the generated cleanup after every failed iteration too, so broken attempts don't strand processes and ports. A generated skill that was never executed is a draft, not a deliverable.
|
|
96
|
+
|
|
97
|
+
If you proved it in a stand-in for the real target (a container instead of a fresh VM, a local stack instead of a remote one), list every setup step the stand-in did that the target will not. Those steps stay unverified until a run on the real target covers them.
|
|
98
|
+
|
|
99
|
+
## 7. Hand off
|
|
100
|
+
|
|
101
|
+
Report: files created, the proof run (commands, evidence paths), anything unverified. Point the user at `maintain-verification-skill` (`/skill:maintain-verification-skill`, `/maintain-verification-skill`, or `$deepmodebot:maintain-verification-skill`) to keep the map honest as the app changes. Suggest a cadence only if asked.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Notes verification map
|
|
2
|
+
|
|
3
|
+
This directory is the maintained source for verifying the user-facing behavior of Notes. Read the index before driving the app, then use the matching feature file as the recipe.
|
|
4
|
+
|
|
5
|
+
## Baseline preconditions
|
|
6
|
+
|
|
7
|
+
- Launch Notes at `http://127.0.0.1:4173` with a disposable data directory.
|
|
8
|
+
- Set `NOTES_DATA_DIR="$(git rev-parse --show-toplevel)/.scratch/verify/notes-$RUN_ID"` so concurrent runs do not share state and nothing lands outside the repo.
|
|
9
|
+
- Seed notes titled `Quarterly plan` and `Grocery list`.
|
|
10
|
+
- Put `control-notes` and the `notes` CLI on `PATH`.
|
|
11
|
+
- Run `control-notes doctor` and require the expected URL, data directory, and build revision.
|
|
12
|
+
- Never drive an instance that was not started by this verification run.
|
|
13
|
+
|
|
14
|
+
## Driving conventions
|
|
15
|
+
|
|
16
|
+
- Start every recipe from the baseline state unless its preconditions say otherwise.
|
|
17
|
+
- Prefer ARIA roles and accessible names over CSS selectors or DOM position.
|
|
18
|
+
- Treat every command as literal. Keep quoted names and flags unchanged.
|
|
19
|
+
- Run browser actions through `control-notes browser`.
|
|
20
|
+
- Run terminal actions through `control-notes cli -- <command>`.
|
|
21
|
+
- Restore seeded data after a mutation. Do not remove proof artifacts during cleanup.
|
|
22
|
+
|
|
23
|
+
## Proof and skip reporting
|
|
24
|
+
|
|
25
|
+
- Capture the user action and the resulting state, not only the final screen.
|
|
26
|
+
- UI proof includes an ARIA snapshot and a screenshot with the app identity visible.
|
|
27
|
+
- CLI proof includes the command, stdout, stderr, and exit code.
|
|
28
|
+
- Mutation proof includes a read-only second view of the stored value.
|
|
29
|
+
- Record the feature ID and entry point used with every artifact.
|
|
30
|
+
- Report an unreachable path with the attempted command and the unmet precondition.
|
|
31
|
+
- Do not report a skipped entry point as verified through a different path.
|
|
32
|
+
|
|
33
|
+
## Feature entry contract
|
|
34
|
+
|
|
35
|
+
Each feature file starts with an H1 title and one paragraph describing the user-visible behavior. It then uses exactly four H2 sections in this order.
|
|
36
|
+
|
|
37
|
+
1. `Sub-features` lists short IDs with one line for each behavior.
|
|
38
|
+
2. `How to get to it (user POV)` lists every user entry point.
|
|
39
|
+
3. `Driving it with <harness>` starts with `Preconditions:` and uses labeled bullets that pair each user action with an exact command and observable result.
|
|
40
|
+
4. `Gotchas` lists traps that can waste or invalidate a verification run.
|
|
41
|
+
|
|
42
|
+
Keep implementation details out of the map. Name only user paths, stable handles, required state, commands, and observable proof.
|
|
43
|
+
|
|
44
|
+
## Features
|
|
45
|
+
|
|
46
|
+
- [Create a note](./create-note.md) covers browser and CLI creation, cancellation, persistence, and cleanup.
|
|
47
|
+
- [Search notes](./search.md) covers toolbar, keyboard, and CLI search with matching, empty, and clear states.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Create a note
|
|
2
|
+
|
|
3
|
+
Create note lets a user save a titled note from the browser or CLI, cancel an unfinished draft, and confirm the saved note from a second user-facing view.
|
|
4
|
+
|
|
5
|
+
## Sub-features
|
|
6
|
+
|
|
7
|
+
- `create-open` opens a blank editor from each browser entry point.
|
|
8
|
+
- `create-save` persists a title and body.
|
|
9
|
+
- `create-cancel` discards an unfinished browser draft.
|
|
10
|
+
- `create-cli` creates the same note shape from the terminal.
|
|
11
|
+
|
|
12
|
+
## How to get to it (user POV)
|
|
13
|
+
|
|
14
|
+
- Choose the `New note` button in the browser toolbar.
|
|
15
|
+
- Press `n` in the browser while focus is outside an editable field.
|
|
16
|
+
- Run `notes create --title <title> --body <body>` in a terminal.
|
|
17
|
+
|
|
18
|
+
## Driving it with control-notes
|
|
19
|
+
|
|
20
|
+
Preconditions:
|
|
21
|
+
|
|
22
|
+
- Notes is healthy at `http://127.0.0.1:4173`.
|
|
23
|
+
- No note is titled `Release checklist`.
|
|
24
|
+
- `control-notes doctor` reports the expected URL and disposable data directory.
|
|
25
|
+
|
|
26
|
+
- **Open editor.** Choose `New note`. Run `control-notes browser click --role button --name "New note"`. A form named `Note editor` appears with focus in the `Title` textbox.
|
|
27
|
+
- **Enter content.** Type the title and body. Run `control-notes browser fill --role textbox --name "Title" --value "Release checklist"` and `control-notes browser fill --role textbox --name "Body" --value "Tag and publish"`. The `Save note` button becomes enabled.
|
|
28
|
+
- **Save note.** Choose `Save note`. Run `control-notes browser click --role button --name "Save note"`. A status named `Note saved` appears and the heading reads `Release checklist`.
|
|
29
|
+
- **Confirm persistence.** Return to the note list and reopen the note. Run `control-notes browser click --role link --name "All notes"` and `control-notes browser click --role link --name "Release checklist"`. The editor shows both saved values.
|
|
30
|
+
- **Cancel draft.** Open a new note, enter `Discard me`, and choose `Cancel`. Run `control-notes browser click --role button --name "New note"`, `control-notes browser fill --role textbox --name "Title" --value "Discard me"`, and `control-notes browser click --role button --name "Cancel"`. The note list returns and has no `Discard me` link.
|
|
31
|
+
- **CLI entry.** Create a second note. Run `control-notes cli -- notes create --title "CLI note" --body "Created from terminal" --format json`. Exit code `0` and stdout contain the new note ID and title.
|
|
32
|
+
- **Proof.** Reopen both saved notes from `All notes`. Run `control-notes browser snapshot --aria --path artifacts/create-note/list.aria.txt` and `control-notes browser screenshot --path artifacts/create-note/list.png`. The artifacts show `Release checklist` and `CLI note`.
|
|
33
|
+
|
|
34
|
+
## Gotchas
|
|
35
|
+
|
|
36
|
+
- Pressing `n` while a textbox has focus types the character instead of opening a new editor.
|
|
37
|
+
- Titles are trimmed on save. Assert the rendered title, not the draft input value.
|
|
38
|
+
- A save status alone is insufficient proof. Reopen the note from the list.
|
|
39
|
+
- Remove `Release checklist` and `CLI note` during fixture cleanup, but retain their proof artifacts.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Search notes
|
|
2
|
+
|
|
3
|
+
Search lets a user find notes by title or body text, inspect a matching note, and distinguish no matches from an unavailable search.
|
|
4
|
+
|
|
5
|
+
## Sub-features
|
|
6
|
+
|
|
7
|
+
- `search-open` opens search from each supported browser entry point.
|
|
8
|
+
- `search-match` returns title and body matches without changing note data.
|
|
9
|
+
- `search-open-result` opens a result in the note editor.
|
|
10
|
+
- `search-empty` shows a complete empty state for a query with no matches.
|
|
11
|
+
- `search-clear` removes the query and restores the recent-notes view.
|
|
12
|
+
- `search-cli` returns the same matching notes from the terminal.
|
|
13
|
+
|
|
14
|
+
## How to get to it (user POV)
|
|
15
|
+
|
|
16
|
+
- Choose the `Search` button in the browser toolbar.
|
|
17
|
+
- Press `/` in the browser while focus is outside an editable field.
|
|
18
|
+
- Run `notes search <query>` in a terminal.
|
|
19
|
+
|
|
20
|
+
## Driving it with control-notes
|
|
21
|
+
|
|
22
|
+
Preconditions:
|
|
23
|
+
|
|
24
|
+
- Notes is healthy at `http://127.0.0.1:4173`.
|
|
25
|
+
- The disposable data directory contains `Quarterly plan` with body text `Draft budget`.
|
|
26
|
+
- `control-notes doctor` reports the expected URL and data directory.
|
|
27
|
+
|
|
28
|
+
- **Toolbar entry.** Choose the `Search` button. Run `control-notes browser click --role button --name "Search"`. A dialog named `Search notes` appears with focus in its searchbox.
|
|
29
|
+
- **Keyboard entry.** Close the dialog, focus the page, and press `/`. Run `control-notes browser press --key "/"`. The same dialog appears and the page does not insert a slash.
|
|
30
|
+
- **Title match.** Type `quarterly`. Run `control-notes browser fill --role searchbox --name "Search notes" --value "quarterly"`. The `Search results` list contains `Quarterly plan` and does not contain `Grocery list`.
|
|
31
|
+
- **Body match.** Replace the query with `budget`. Run `control-notes browser fill --role searchbox --name "Search notes" --value "budget"`. The result `Quarterly plan` remains visible with a body-match excerpt.
|
|
32
|
+
- **Open result.** Choose `Quarterly plan`. Run `control-notes browser click --role link --name "Quarterly plan"`. The dialog closes and the editor heading reads `Quarterly plan`.
|
|
33
|
+
- **Empty state.** Reopen search and enter `volcano`. Run `control-notes browser fill --role searchbox --name "Search notes" --value "volcano"`. A status named `No matching notes` appears after search completes.
|
|
34
|
+
- **Clear query.** Choose `Clear search`. Run `control-notes browser click --role button --name "Clear search"`. The searchbox is empty and the `Recent notes` region replaces the result list.
|
|
35
|
+
- **CLI match.** Search from the terminal. Run `control-notes cli -- notes search "quarterly" --format json`. Exit code `0` and stdout contain one object whose title is `Quarterly plan`.
|
|
36
|
+
- **CLI miss.** Search for an absent value. Run `control-notes cli -- notes search "volcano" --format json`. Exit code `0` and stdout are `[]`.
|
|
37
|
+
- **Proof.** Capture the populated result state. Run `control-notes browser snapshot --aria --path artifacts/search/results.aria.txt` and `control-notes browser screenshot --path artifacts/search/results.png`. Both artifacts identify Notes, the query, and `Quarterly plan`.
|
|
38
|
+
|
|
39
|
+
## Gotchas
|
|
40
|
+
|
|
41
|
+
- Pressing `/` while the editor or searchbox has focus inserts text instead of opening search.
|
|
42
|
+
- Results update after a short debounce. Wait for the results list or empty status, not a fixed sleep.
|
|
43
|
+
- Archived notes are excluded unless the user enables `Include archived`.
|
|
44
|
+
- The CLI defaults to human-readable output. Use `--format json` for stable assertions.
|
|
45
|
+
- Opening a result changes browser state. Reopen search before proving another query.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deep-stack
|
|
3
|
+
description: "2026 default software stack and decision rules for any app (web, CLI, desktop, mobile, AI agent, data/ML, security), plus agent UI design and a per-task ship loop (worktree, service layer, proof, reviewed PR). Use for 'what stack', picking/building a stack, agent UI design, or shipping one evidence-backed PR; issue queues use deepmodebot's Work a queue (factory)."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Stack picks and ship loop
|
|
7
|
+
|
|
8
|
+
The references hold dated decision rules distilled from 2026 public talks on building software with agents. Source transcripts are not shipped. Paths below are relative to this skill (`skill://deep-stack/...`). When two rules conflict, the newer date wins.
|
|
9
|
+
|
|
10
|
+
## Route
|
|
11
|
+
|
|
12
|
+
Read only the reference for the branch in front of you.
|
|
13
|
+
|
|
14
|
+
| Branch | Read |
|
|
15
|
+
|---|---|
|
|
16
|
+
| Choosing a framework, backend, auth, payments, deploy, sandbox, analytics, or model for a web, SaaS, or AI app | `references/stack.md` |
|
|
17
|
+
| Building a stack for any other kind of app (CLI, desktop, mobile, agent, data/ML, security tooling, infra), or "build the stack for me" | `references/any-app-stack.md`, which applies `references/philosophy.md` |
|
|
18
|
+
| Designing or restyling a UI with an agent | `references/design-workflow.md` |
|
|
19
|
+
| Planning work, running agents in parallel or in loops, writing skills / AGENTS.md | `references/agentic-workflow.md` |
|
|
20
|
+
| Shipping a repository change | The ship loop below |
|
|
21
|
+
| Setting a repo up for the ship loop | Copy `references/AGENTS.template.md` to the repo root as `AGENTS.md`; replace its "Checks in this repo" section with the repo's real commands |
|
|
22
|
+
|
|
23
|
+
An existing project's architecture and stack beat every default here. The picks are defaults for greenfield work, or when the user asks for the default.
|
|
24
|
+
|
|
25
|
+
## The ship loop
|
|
26
|
+
|
|
27
|
+
Pick the steps the task needs. Read-only reviews and investigations skip all of them. A plan, review, or local experiment does not imply publishing a PR. Each step ends on its completion check.
|
|
28
|
+
|
|
29
|
+
1. **Isolate.** Follow `references/isolate.md`. One worktree and branch per task (and per subagent), from `origin/main`.
|
|
30
|
+
Done when `git branch --show-current` inside the worktree prints the new task branch.
|
|
31
|
+
2. **Plan.** For anything bigger than one PR, follow `agentic-workflow.md` §1: talk the design through first, then write the plan as a Markdown file under `plan/` with phases, riskiest integrations first, and to-dos. Split work into small PRs (a few hundred lines; stack them only when they truly depend on each other).
|
|
32
|
+
Done when the plan file exists and each to-do maps to one PR-sized unit.
|
|
33
|
+
3. **Build.** Follow `references/structure.md` when extracting shared operations or choosing boundaries: entry points own the product rules (whether and when), services own the reusable operations (how), with explicit inputs and structured results. Pull fresh dependency source with `npx opensrc <package>` when the library is new or recently changed (`stack.md` §11).
|
|
34
|
+
Done when no operation is duplicated across callers and the repo's typecheck and lint pass.
|
|
35
|
+
4. **Prove.** Follow `references/prove.md`. Capture the failure before the fix and the success after it: screenshots or video for UI, output pairs for CLI and API changes, measurements for performance.
|
|
36
|
+
Done when every test target has a `passed`/`failed`/`untested` result backed by an artifact under `.scratch/evidence/<task>/`.
|
|
37
|
+
5. **Ship.** Open the PR with that evidence as a before and after table. Run every human-facing text through `references/unslop/unslop.md`. Then run deepmodebot's **pr-review** technique (`skill://deepmodebot/references/techniques/pr-review.md`) on the PR. It reviews with your own subagents, so no third-party review service is needed.
|
|
38
|
+
Done when no P0/P1 finding is open and every P2 is fixed or dismissed with a reason, or the technique hit its 3-round cap or oscillated, and you report its `review:` line with the open findings. Present the PR URL, then merge it on a deepmodebot panel pass (`skill://deepmodebot/references/techniques/panel.md`).
|
|
39
|
+
|
|
40
|
+
## Running across harnesses
|
|
41
|
+
|
|
42
|
+
- Parallel slices: give each subagent (`task` in omp, `Agent` in Claude Code, `spawn_agent` in Codex, `invoke_subagent` with `Workspace: "branch"` in Antigravity) its own worktree and branch from step 1. Never share a checkout.
|
|
43
|
+
- Browser QA for step 4: drive the app and take screenshots with omp's `browser` tool, Antigravity's built-in `browser` subagent, or Playwright; `ffmpeg` records video when a sequence matters.
|
|
44
|
+
- Prerequisites by step: `gh` authenticated (PRs, pr-review); a browser or Playwright for UI captures; `ffmpeg` for video. A missing prerequisite stops that step. Report it and the evidence you have instead of substituting a weaker check.
|
|
45
|
+
|
|
46
|
+
## With deepmodebot
|
|
47
|
+
|
|
48
|
+
When `deepmodebot` is active (`/deep` or "Deepmodebot"), it owns the process and this skill supplies the parts:
|
|
49
|
+
|
|
50
|
+
- deepmodebot's playbooks, autonomy rules, and reply rules win. Commits, pushes, PRs, and merges follow deepmodebot's Autonomy section: merges need its panel pass.
|
|
51
|
+
- `stack.md` and `design-workflow.md` feed its Feature and Prototype playbooks as the default picks on greenfield work.
|
|
52
|
+
- `prove.md` is the evidence step for its "prove it on the real artifact" rule when no `verify-<app>` skill exists.
|
|
53
|
+
- Ship step: its Opening a PR playbook, then its pr-review technique (`skill://deepmodebot/references/techniques/pr-review.md`). The review posts as a comment and never approves. Merging takes a deepmodebot panel pass.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# How agents work in this repo
|
|
2
|
+
|
|
3
|
+
<!-- Template from the deep-stack skill. Copy to the repo root as AGENTS.md,
|
|
4
|
+
then replace "Checks in this repo" with this repo's commands.
|
|
5
|
+
`skill://deep-stack/` and `skill://deepmodebot/` resolve natively in omp;
|
|
6
|
+
in Claude Code, Codex, and Antigravity, read them from the installed plugin/skill dir. -->
|
|
7
|
+
|
|
8
|
+
Use only the parts a task needs.
|
|
9
|
+
|
|
10
|
+
- Reviews, explanations, and investigations that change nothing need no branch, commit, or PR. If one turns into edits, follow the delivery rule below.
|
|
11
|
+
- Local S/M edits (no remote or local-review ask) stay uncommitted in the starting working tree; use a worktree only for concurrent writers, dirty unrelated work, or PR publication (`skill://deepmodebot` `SKILL.md`).
|
|
12
|
+
- Code changes get checks and evidence of the changed behavior. Show the failure before fixing it.
|
|
13
|
+
- Small doc PRs still get a link/content check, at least self-review against `pr-review`, and the mandatory 3-reviewer, 2-of-3 panel before landing on default/shared branches (no runtime evidence needed when behavior is unchanged).
|
|
14
|
+
- Publish a PR only when the task asks for one or for a finished repository change.
|
|
15
|
+
|
|
16
|
+
## Steps
|
|
17
|
+
|
|
18
|
+
1. **Isolate.** Follow `skill://deep-stack/references/isolate.md` before PR/publication work or concurrent edits. Branch from `origin/main`, or keep the worktree already assigned to this task. Never build on `main`.
|
|
19
|
+
2. **Build.** Follow the project's existing architecture. With no convention, use `skill://deep-stack/references/structure.md` for shared operations.
|
|
20
|
+
3. **Prove.** Run the checks below. For changed runtime behavior follow `skill://deep-stack/references/prove.md`: capture before and after. For docs, check the changed links and runnable examples.
|
|
21
|
+
4. **Ship.** Open the PR with evidence that fits the change: screenshot pairs for UI, output pairs for CLI. Run the pr-review technique (`skill://deepmodebot/references/techniques/pr-review.md`) on every PR landing on default/shared branches (doc-only PRs still run at least self-review). Stop when no P0/P1 finding is open and each P2 is fixed or dismissed with a reason. Stop after 3 rounds or on oscillation, and report its `review:` line with the open findings. Post the review as a PR comment; never approve or request changes. Present the PR URL.
|
|
22
|
+
|
|
23
|
+
## Writing for people
|
|
24
|
+
|
|
25
|
+
Run `skill://deep-stack/references/unslop/unslop.md` over text a person will read before you commit, post, or send it: commit messages, PR title and body, docs, code comments, and the final reply. Apply it only to text you wrote or changed.
|
|
26
|
+
|
|
27
|
+
## Working beside other agents
|
|
28
|
+
|
|
29
|
+
- No direct commits to `main`.
|
|
30
|
+
- One worktree and branch per task and per agent. Never touch another agent's worktree, branch, or uncommitted work.
|
|
31
|
+
- Before starting, list open PRs and their changed files (`gh pr list`, `gh pr diff <n> --name-only`). Edits to the same file that do not conflict may proceed. Ask only when behavior conflicts, work depends on something unfinished, or ownership is unclear.
|
|
32
|
+
- Push with `--force-with-lease` and only to your own branch. Never `--force`, never to `main`.
|
|
33
|
+
- Regenerate lockfiles to resolve their conflicts. Do not merge them by hand.
|
|
34
|
+
- Worktrees share ports and databases. Check that a dev server port belongs to your process, and keep schema experiments off shared databases.
|
|
35
|
+
- When a conflict has no confident resolution, stop and report it.
|
|
36
|
+
|
|
37
|
+
## Finishing a task that ships
|
|
38
|
+
|
|
39
|
+
1. Keep the diff to the assigned task.
|
|
40
|
+
2. Run the checks below.
|
|
41
|
+
3. Collect the before and after evidence.
|
|
42
|
+
4. Commit, rebase onto the latest `origin/main`, and run the checks again.
|
|
43
|
+
5. Push: `git push -u origin <branch>`.
|
|
44
|
+
6. Open the PR. The body states what changed, how it was tested with evidence for each claim, the before and after proof, and any risks.
|
|
45
|
+
7. Run pr-review when it applies.
|
|
46
|
+
8. Present the PR URL.
|
|
47
|
+
|
|
48
|
+
Merge only on a deepmodebot panel pass at the PR's exact head (`skill://deepmodebot/references/techniques/panel.md`). Keep the worktree until the PR merges or closes.
|
|
49
|
+
|
|
50
|
+
## Checks in this repo
|
|
51
|
+
|
|
52
|
+
Replace this section with the repo's commands (typecheck, lint, test, build) and what each proves. Keep generated evidence in the self-ignored `.scratch/evidence/` directory.
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# Agentic engineering workflow (2026)
|
|
2
|
+
|
|
3
|
+
How to plan, run, verify, and review agent work. Distilled from 2026 talks dated 2026-01-20 to 2026-10-21. Read the conflicts table first: where practice changed, the "Use" column is the current rule. Harness features (plan mode, `/goal`, threads) map onto whatever the current harness offers. The rule behind each one carries over: plan before building, run autonomy only behind a feedback loop, one worktree per thread.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 0. Changes over time (read first)
|
|
8
|
+
|
|
9
|
+
| Topic | Earlier | Latest | Use |
|
|
10
|
+
|---|---|---|---|
|
|
11
|
+
| `/goal`-style autonomous runs | Only for prototypes and throwaway tools (2026-05-20) | Valuable, but only with a feedback loop (2026-08-14) | Run them only with a defined finish line and a machine-checkable feedback loop. |
|
|
12
|
+
| Custom loop CLIs | A PRD-driven loop CLI (2026-01-20) | Harness-native goal loops replaced them (2026-05-20) | Don't build on custom loop CLIs; use the harness's loop with a feedback loop. |
|
|
13
|
+
| Plan mode | Right after one context-gathering prompt (2026-05-22) | Only after many discussion turns, then a plan file in `plan/` (2026-06-05) | Discuss first, plan mode last, save the plan file. |
|
|
14
|
+
| Review bar | Merge at a good-enough AI review score (2026-01-29, 2026-05-22) | Loop until the AI reviewer is fully clean, with an escape hatch when stuck (2026-09-01) | deepmodebot's pr-review technique: no P0/P1 open, every P2 fixed or dismissed, 3-round cap. |
|
|
15
|
+
| Integration branch | Feature branches into `staging`, promoted to `main` (2026-05-22) | Fresh worktree from `origin/main`, merged to `main`; never build on `main` (2026-09-01) | Worktree off `origin/main`. A staging flow is project-specific. |
|
|
16
|
+
| Harness | Changed several times through the year (2026-02 to 2026-08) | A meta-harness over several agents; the workflow lives in AGENTS.md and skills (2026-09-01, 2026-10-21) | Keep the workflow in AGENTS.md and skills so any harness works. |
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## 1. Planning before coding
|
|
21
|
+
|
|
22
|
+
- Never one-shot plan mode ("build X", toggle plan, build without reading). The model fills gaps with assumptions, and the product suffers (2026-06-05).
|
|
23
|
+
- Order: talk first, outside plan mode. Brainstorm and weigh trade-offs over several turns until the agent understands the intent. Ask for a step-by-step roadmap. Then enter plan mode and have it write a Markdown plan into `plan/` (subfolders per area such as `plan/active`, `plan/mobile`). Then build (2026-06-05).
|
|
24
|
+
- If the agent starts building during the discussion, stop it and keep discussing.
|
|
25
|
+
- Example opener: describe the thing to build and what it need not do, then ask the agent to brainstorm what a great version looks like and share its view. Follow with a request for an ordered roadmap, then the full plan in plan mode.
|
|
26
|
+
- Plan files serve the human too. With one session building and several planning, the files record where each thread stands (2026-05-22, 2026-06-05).
|
|
27
|
+
- The best plans include teammates' input, not only the agent's.
|
|
28
|
+
- A useful plan has a diagram, the stack, guiding principles, phases with the riskiest integrations proven first (auth, streaming, push), and to-dos. To-dos help the agent most (2026-06-05).
|
|
29
|
+
- Ignore model time estimates. They assume human working speed.
|
|
30
|
+
- Before planning a feature modeled on another product, have the agent research that feature and explain it back. Then ask for a plan that reviews the whole codebase and does not break other features (2026-05-22).
|
|
31
|
+
- Small features can skip the plan and go straight to back-and-forth building.
|
|
32
|
+
- Split work into small PRs, ideally a few hundred lines. Split a 2,000-line change into several smaller ones. Smaller PRs are easier for both humans and agents (2026-05-22).
|
|
33
|
+
- Stack PRs only when pieces truly depend on each other. Otherwise use independent branches.
|
|
34
|
+
- An autonomous loop needs a step-by-step checklist PRD (2026-01-20).
|
|
35
|
+
- Use a quick autonomous prototype to explore an idea before building the real thing (2026-05-20).
|
|
36
|
+
- When two architectures are plausible, run one thread per option, each in its own worktree with a running build, and compare them side by side (2026-08-14).
|
|
37
|
+
|
|
38
|
+
## 2. Execution
|
|
39
|
+
|
|
40
|
+
### Loops
|
|
41
|
+
- Autonomous runs need a defined finish line and a feedback loop. Example: have the agent use the browser to run Lighthouse and keep optimizing until every score is 100; that ran for hours and hit the target. Without a feedback loop the result is poor (2026-08-14).
|
|
42
|
+
- Use autonomous runs to improve a part of an app against a measurable signal, not to build whole apps, except small internal tools.
|
|
43
|
+
- Long unattended runs burn tokens, pile up assumptions, and leave the human out of the loop. Budget for that (2026-05-20).
|
|
44
|
+
|
|
45
|
+
### Isolation and parallelism
|
|
46
|
+
- Every feature, fix, or task starts in a fresh worktree from `origin/main` (`isolate.md`), so parallel agents never edit the same files (2026-09-01).
|
|
47
|
+
- AGENTS.md rules: no direct commits to `main`; one worktree and branch per task per agent; never touch another agent's worktree, branch, or uncommitted work; check open PRs for overlap before starting; never force-push `main`; regenerate lockfiles to resolve conflicts; remember that worktrees share ports and databases (2026-09-01). `AGENTS.template.md` carries these rules.
|
|
48
|
+
- Configure the harness so each new thread gets a new worktree. Let agents resolve their own merge conflicts (2026-10-21).
|
|
49
|
+
- Run agents on always-on machines (a spare laptop, a Linux box, a VPS) reachable over Tailscale or SSH, so work continues when the laptop closes (2026-10-21).
|
|
50
|
+
- Parallel pattern: one session building, several planning. Fire large refactors at a background agent and review when it finishes (2026-02-25, 2026-06-05).
|
|
51
|
+
|
|
52
|
+
### Harness and model choice
|
|
53
|
+
- Match the agent to the task: a fast, assumption-making model for interactive feature work; a slower, question-asking model for large refactors run unattended. Each catches the other's mistakes (2026-02-25).
|
|
54
|
+
- Effort: medium for routine work, high/xhigh for hard reasoning. Skip Fast/Ultrafast modes (2x–8x quota burn per deepmodebot `SKILL.md` and `skill://agent-harnesses/references/delegation-efficiency.md`); right-size model tier and effort before turn 1.
|
|
55
|
+
- Install computer use plus only the plugins in your real workflow (GitHub, Vercel, Convex, Linear) (2026-08-14).
|
|
56
|
+
- Dictate prompts by voice. Spoken prompts carry more detail (2026-05-22).
|
|
57
|
+
- A meta-harness that switches agents mid-thread with context handoff pays off once you have more than one subscription or machine (2026-10-21).
|
|
58
|
+
|
|
59
|
+
## 3. Verification
|
|
60
|
+
|
|
61
|
+
- Before the PR, the agent proves the change (`prove.md`): run the repo's checks, capture the bug while reproducing it, fix it, then capture the working result (2026-09-01).
|
|
62
|
+
- The PR shows proof: screenshots or video for visible changes, numbers or output pairs otherwise (2026-09-01).
|
|
63
|
+
- A cloud agent can take an issue, reproduce the bug, fix it, and record a video. Watch the video before reading the diff. The same agent can confirm whether a reported bug is real (2026-09-01).
|
|
64
|
+
- A human tries the feature locally after the agent builds it and before review. Screenshot bugs, paste them back, and queue follow-ups (2026-05-22, 2026-06-09).
|
|
65
|
+
- Automate QA: have the agent run the app and test the flow in a browser, reporting what works and what could improve. Use computer use for desktop apps (2026-08-14).
|
|
66
|
+
- The agent writes tests for every feature and revises them on review feedback (2026-01-20, 2026-05-22).
|
|
67
|
+
|
|
68
|
+
## 4. Review
|
|
69
|
+
|
|
70
|
+
deepmodebot reviews with its pr-review technique (`skill://deepmodebot/references/techniques/pr-review.md`). The rules it follows:
|
|
71
|
+
|
|
72
|
+
- Review every push to the PR branch.
|
|
73
|
+
- Loop: read every finding, fix, push, re-review, until clean. Cap the rounds. If the loop cycles without progress, stop and review by hand; more agent edits past that point add errors (2026-05-22).
|
|
74
|
+
- Split very large PRs (about 2,000 lines or more) before review. Reviewers miss things in huge diffs.
|
|
75
|
+
- Review stacked PRs in order and merge each when clean.
|
|
76
|
+
- Check for failing CI and an incomplete description alongside open comments (2026-02-25).
|
|
77
|
+
- Tune the reviewer to be strict. Small issues are cheap to fix early (2026-01-29).
|
|
78
|
+
- Under deepmodebot, own PRs land autonomously via `pr-conversation` once checks and the 3-reviewer, 2-of-3 panel pass; human review and merge apply on external repos or when requested (reconciled with deepmodebot `SKILL.md`).
|
|
79
|
+
- AI review keeps catching bugs a human missed, such as race conditions and config-loading errors (2026-01-20, 2026-06-09).
|
|
80
|
+
- When code feels too complex after a feature, run a simplify pass and tidy shared operations with `structure.md`.
|
|
81
|
+
|
|
82
|
+
## 5. Skills and AGENTS.md
|
|
83
|
+
|
|
84
|
+
- Skills and MCP complement each other. MCP gives tool and data access. Skills give procedure, expertise, and workflow, turning access into reliable outcomes. Avoid conflicting output instructions between them (2026-01-29).
|
|
85
|
+
- Write a skill for multi-step work across tools, for processes that need consistency, and for knowledge you keep re-explaining or that must survive team turnover (2026-01-29).
|
|
86
|
+
- Progressive disclosure: the `name` and `description` load always; the `SKILL.md` body loads when relevant; bundled files load by name. A full skill can cost many times the tokens of its description (2026-01-29, 2026-06-09).
|
|
87
|
+
- AGENTS.md loads every turn, so keep it to what the agent always needs: branching and PR workflow, and where vendored dependency source lives. Do not describe the codebase there; the agent can search it. Skills hold on-demand actions such as restructuring or simplifying. Use both (2026-06-09).
|
|
88
|
+
- Keep a gitignored folder of dependency source via `npx opensrc <package|github-url>` ([vercel-labs/opensrc](https://github.com/vercel-labs/opensrc); see `stack.md` §11), and tell the agent in AGENTS.md to search it (2026-06-09).
|
|
89
|
+
- Build skills from repetition: whatever you do every time becomes a skill. Copied skills are a start; your own fit better (2026-09-01).
|
|
90
|
+
- Encode your review preferences in skills, so generated code reads the way you would write it.
|
|
91
|
+
|
|
92
|
+
## 6. Principles
|
|
93
|
+
|
|
94
|
+
- Engineering experience steers the agent. The operator's judgment sets the quality ceiling.
|
|
95
|
+
- Review line by line when the model is weak in the domain, such as a new framework.
|
|
96
|
+
- Agents duplicate code readily. Structure output so a human can review it, and use `structure.md` to pull shared operations into services (2026-09-01).
|
|
97
|
+
- Agentic engineering succeeds only when the operator plans properly (2026-06-05).
|
|
98
|
+
- Skip practices that sound impressive but don't improve output (2026-08-14).
|
|
99
|
+
- Feedback loops make autonomy work: autonomous runs need tools, a feedback loop, and a clear PRD (2026-01-20, 2026-08-14).
|
|
100
|
+
- Keep prompts and loops short and to the point (2026-05-22).
|
|
101
|
+
- Avoid UIs that force constant context switching (2026-10-21).
|
|
102
|
+
- Install only the plugins your workflow uses (2026-08-14).
|
|
103
|
+
|
|
104
|
+
## 7. The ship loop end to end
|
|
105
|
+
|
|
106
|
+
This skill's `SKILL.md` runs the full loop:
|
|
107
|
+
|
|
108
|
+
1. **Isolate:** a worktree from `origin/main` per task (`isolate.md`).
|
|
109
|
+
2. **Build:** entry points own product rules, services own reusable operations (`structure.md`).
|
|
110
|
+
3. **Prove:** checks plus runtime evidence, before and after (`prove.md`).
|
|
111
|
+
4. **Ship:** a PR with the proof, reviewed by deepmodebot's pr-review technique until clean.
|
|
112
|
+
5. **Land:** own PRs merge autonomously via `pr-conversation` once checks and the 3-reviewer, 2-of-3 deepmodebot panel pass (human review/merge on external repos or when requested).
|
|
113
|
+
|
|
114
|
+
Run many tasks in parallel, each in its own worktree. A rebuild run through this loop can take a fraction of the time of the first build (2026-09-01). To adopt it, copy `AGENTS.template.md`, try it on a sample project, and adjust it to how your team works.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Build a stack for any app
|
|
2
|
+
|
|
3
|
+
Use this when the team needs a tech stack for something that is not a plain web or SaaS app, or when the user asks to "build the stack" for any project. It applies the decision rules in `references/philosophy.md` to the app in front of you. The concrete web defaults live in `references/stack.md`.
|
|
4
|
+
|
|
5
|
+
Be honest about the source of every pick:
|
|
6
|
+
- **Default pick:** the source material named this tool for this job. Cite it from `stack.md` or `philosophy.md`.
|
|
7
|
+
- **Inferred:** the sources never covered this job. You chose it by applying the rules. Say so, and prove it with research and a prototype before anyone builds on it.
|
|
8
|
+
|
|
9
|
+
Never present an inferred pick as a default pick.
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. **Frame the app.** Write down, in one short block:
|
|
14
|
+
- What it is and who uses it. Type: web/SaaS, API service, CLI, desktop, mobile, AI agent, data or ML pipeline, security tooling, infrastructure, game, embedded.
|
|
15
|
+
- Where it runs: cloud, on-prem, air-gapped, user machines, edge devices.
|
|
16
|
+
- Data it touches and how sensitive it is.
|
|
17
|
+
- Expected scale and the team's skills.
|
|
18
|
+
- Existing code. An existing project's stack wins over every default here.
|
|
19
|
+
2. **List hard constraints first.** Compliance and accreditation, network limits (no internet, no SaaS), mandated languages or platforms, licensing, cost ceilings. A hard constraint beats any pick. When it rules out the managed-service defaults, apply the "highest abstraction you're allowed to use" rule instead (see `philosophy.md`) and record why.
|
|
20
|
+
3. **Map the layers this app actually needs.** Pick from: interface (web, CLI, TUI, desktop, mobile), core language and runtime, backend or service layer, data storage, background and durable work, AI and agents (models, SDK, tools, sandboxes), auth, payments, integrations, observability, testing and verification, packaging and deploy, repo layout. Drop the layers it doesn't need. A CLI has no auth or payments layer.
|
|
21
|
+
4. **Choose each layer.**
|
|
22
|
+
- The default catalog covers this layer and the constraints allow it → use the default pick and cite it.
|
|
23
|
+
- Otherwise → name 2 or 3 candidates and score each against `philosophy.md`. The core checks are: agents know it well and it's configured as code (P16); it's typed end to end (P17); it's the highest abstraction the constraints allow (P3, P4); errors are handled explicitly (P35); no client-to-data shortcuts (P30); it's stable, not beta (P8, P9); cost is accepted where it buys speed or reliability (P48, P50). Cite the rule IDs that decided it.
|
|
24
|
+
- Check each candidate's current docs and release state. Use `npx opensrc <package>` or the official repo so the agent reads real source, not memory.
|
|
25
|
+
- Pick one, label it **inferred**, and write the one-line reason in terms of the rules.
|
|
26
|
+
5. **Prototype the riskiest picks.** Take the one or two choices most likely to be wrong (an inferred core runtime, a new storage engine, an agent framework). Run deepmodebot's Prototype playbook (`skill://deepmodebot/references/playbooks/prototype.md`), or a ten-minute spike. Prove the pick does the app's hardest job. A failed spike means pick the next candidate and say so.
|
|
27
|
+
6. **Lay out the repo.** When the project ships multiple deployables or shared packages, default to one monorepo so agents see everything and clients share one core (`apps/`, `services/`, `packages/`); for a single deployable with no shared code, start as a single-package repo (`skill://software-architecture/references/monorepos.md`). Put the service-layer split in it: entry points own the product rules, services own reusable operations (`references/structure.md`).
|
|
28
|
+
7. **Write `STACK.md`** at the repo root (merge into an existing one; never overwrite it):
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
# Stack
|
|
32
|
+
|
|
33
|
+
**App:** <one line>. **Runs on:** <where>. **Constraints:** <list>.
|
|
34
|
+
|
|
35
|
+
| Layer | Pick | Source | Why (rule) | Rejected | Revisit when |
|
|
36
|
+
|---|---|---|---|---|---|
|
|
37
|
+
| Core language | ... | default pick (stack.md §4) or inferred | ... | ... | ... |
|
|
38
|
+
|
|
39
|
+
## Repo layout
|
|
40
|
+
## Prototype evidence
|
|
41
|
+
## Open questions
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Every row names its source and its rule. Every inferred row links its prototype evidence or says "unproven".
|
|
45
|
+
8. **Match scaffolding to the ask.** For stack advice only ("what stack"), stop at `STACK.md`. For "build the stack for me", create the folders, install the picks, and verify a hello-world path through every layer. When called from an app build ("build me <app>" or `skill://deepmodebot` `references/playbooks/end-to-end.md`), scaffold and continue straight into building every slice of the scope manifest rather than stopping at `STACK.md` or hello-world. Commit and push per deepmodebot's Autonomy section.
|
|
46
|
+
|
|
47
|
+
## Done when
|
|
48
|
+
|
|
49
|
+
- Every layer the app needs has one pick with its source and reason.
|
|
50
|
+
- Every inferred pick has prototype evidence or is marked unproven.
|
|
51
|
+
- `STACK.md` exists and the user saw it.
|