@monoes/monomindcli 2.10.5 → 2.10.7

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.
Files changed (177) hide show
  1. package/.claude/helpers/handlers/gates-handler.cjs +47 -14
  2. package/.claude/settings.json +1 -1
  3. package/.claude/skills/mastermind/SKILL.md +15 -0
  4. package/.claude/skills/mastermind/references/antigravity-tools.md +62 -0
  5. package/.claude/skills/mastermind/references/claude-code-tools.md +52 -0
  6. package/.claude/skills/mastermind/references/codex-tools.md +66 -0
  7. package/.claude/skills/mastermind/references/copilot-tools.md +51 -0
  8. package/.claude/skills/mastermind/references/gemini-tools.md +65 -0
  9. package/.claude/skills/mastermind/references/pi-tools.md +30 -0
  10. package/.claude/skills/mastermind-createorg/SKILL.md +11 -3
  11. package/.claude/skills/mastermind-debug/SKILL.md +274 -0
  12. package/.claude/skills/mastermind-execute/SKILL.md +99 -0
  13. package/.claude/skills/mastermind-memory/SKILL.md +316 -0
  14. package/.claude/skills/mastermind-org/SKILL.md +13 -0
  15. package/.claude/skills/mastermind-plan/SKILL.md +212 -0
  16. package/.claude/skills/mastermind-research/SKILL.md +163 -0
  17. package/.claude/skills/mastermind-review/SKILL.md +228 -0
  18. package/.claude/skills/monodesign/scripts/detector/engines/browser/drivers.mjs +33 -0
  19. package/dist/src/commands/agent-exec.d.ts.map +1 -1
  20. package/dist/src/commands/agent-exec.js +52 -13
  21. package/dist/src/commands/agent-exec.js.map +1 -1
  22. package/dist/src/commands/doctor-project-checks.d.ts.map +1 -1
  23. package/dist/src/commands/doctor-project-checks.js.map +1 -1
  24. package/dist/src/commands/org-observe.d.ts.map +1 -1
  25. package/dist/src/commands/org-observe.js +34 -8
  26. package/dist/src/commands/org-observe.js.map +1 -1
  27. package/dist/src/commands/org.d.ts.map +1 -1
  28. package/dist/src/commands/org.js +11 -5
  29. package/dist/src/commands/org.js.map +1 -1
  30. package/dist/src/commands/security-scan.d.ts +64 -1
  31. package/dist/src/commands/security-scan.d.ts.map +1 -1
  32. package/dist/src/commands/security-scan.js +75 -2
  33. package/dist/src/commands/security-scan.js.map +1 -1
  34. package/dist/src/init/mcp-generator.d.ts.map +1 -1
  35. package/dist/src/init/mcp-generator.js.map +1 -1
  36. package/dist/src/orgrt/agent-exec.d.ts +1 -1
  37. package/dist/src/orgrt/agent-exec.d.ts.map +1 -1
  38. package/dist/src/orgrt/agent-exec.js +64 -6
  39. package/dist/src/orgrt/agent-exec.js.map +1 -1
  40. package/dist/src/orgrt/kimicode-runner.d.ts.map +1 -1
  41. package/dist/src/orgrt/kimicode-runner.js.map +1 -1
  42. package/dist/src/orgrt/org-design-skill.d.ts +9 -0
  43. package/dist/src/orgrt/org-design-skill.d.ts.map +1 -0
  44. package/dist/src/orgrt/org-design-skill.js +61 -0
  45. package/dist/src/orgrt/org-design-skill.js.map +1 -0
  46. package/dist/src/orgrt/role-skills/account-strategist.md +26 -0
  47. package/dist/src/orgrt/role-skills/accounts-payable.md +26 -0
  48. package/dist/src/orgrt/role-skills/adaptive-coordinator.md +26 -0
  49. package/dist/src/orgrt/role-skills/adaptive-coordinator2.md +25 -0
  50. package/dist/src/orgrt/role-skills/ai-citation.md +25 -0
  51. package/dist/src/orgrt/role-skills/ai-engineer.md +28 -0
  52. package/dist/src/orgrt/role-skills/analytics-reporter.md +27 -0
  53. package/dist/src/orgrt/role-skills/api-tester.md +27 -0
  54. package/dist/src/orgrt/role-skills/automation-governance.md +26 -0
  55. package/dist/src/orgrt/role-skills/backend-dev.md +27 -0
  56. package/dist/src/orgrt/role-skills/benchmarker.md +28 -0
  57. package/dist/src/orgrt/role-skills/blockchain-auditor.md +27 -0
  58. package/dist/src/orgrt/role-skills/byzantine-coord.md +25 -0
  59. package/dist/src/orgrt/role-skills/case-analyst.md +25 -0
  60. package/dist/src/orgrt/role-skills/cicd-engineer.md +28 -0
  61. package/dist/src/orgrt/role-skills/cloud-architect.md +25 -0
  62. package/dist/src/orgrt/role-skills/code-review-swarm.md +26 -0
  63. package/dist/src/orgrt/role-skills/coder.md +27 -0
  64. package/dist/src/orgrt/role-skills/collective-coord.md +25 -0
  65. package/dist/src/orgrt/role-skills/compliance-auditor.md +27 -0
  66. package/dist/src/orgrt/role-skills/consensus-coordinator.md +25 -0
  67. package/dist/src/orgrt/role-skills/content-creator.md +25 -0
  68. package/dist/src/orgrt/role-skills/cro-specialist.md +26 -0
  69. package/dist/src/orgrt/role-skills/data-consolidator.md +27 -0
  70. package/dist/src/orgrt/role-skills/data-engineer.md +27 -0
  71. package/dist/src/orgrt/role-skills/database-optimizer.md +25 -0
  72. package/dist/src/orgrt/role-skills/deal-strategist.md +26 -0
  73. package/dist/src/orgrt/role-skills/defender.md +25 -0
  74. package/dist/src/orgrt/role-skills/devops-automator.md +25 -0
  75. package/dist/src/orgrt/role-skills/discovery-coach.md +26 -0
  76. package/dist/src/orgrt/role-skills/email-marketing.md +27 -0
  77. package/dist/src/orgrt/role-skills/embedded-firmware.md +25 -0
  78. package/dist/src/orgrt/role-skills/evidence-collector.md +27 -0
  79. package/dist/src/orgrt/role-skills/experiment-tracker.md +28 -0
  80. package/dist/src/orgrt/role-skills/feedback-synthesizer.md +26 -0
  81. package/dist/src/orgrt/role-skills/finance-tracker.md +26 -0
  82. package/dist/src/orgrt/role-skills/frontend-developer.md +25 -0
  83. package/dist/src/orgrt/role-skills/game-audio-engineer.md +26 -0
  84. package/dist/src/orgrt/role-skills/game-designer.md +26 -0
  85. package/dist/src/orgrt/role-skills/hierarchical-coord.md +26 -0
  86. package/dist/src/orgrt/role-skills/incident-commander.md +26 -0
  87. package/dist/src/orgrt/role-skills/infrastructure.md +25 -0
  88. package/dist/src/orgrt/role-skills/input-validator.md +27 -0
  89. package/dist/src/orgrt/role-skills/ios-developer.md +25 -0
  90. package/dist/src/orgrt/role-skills/issue-tracker.md +26 -0
  91. package/dist/src/orgrt/role-skills/judge.md +25 -0
  92. package/dist/src/orgrt/role-skills/launch-strategist.md +25 -0
  93. package/dist/src/orgrt/role-skills/legal-compliance.md +25 -0
  94. package/dist/src/orgrt/role-skills/level-designer.md +26 -0
  95. package/dist/src/orgrt/role-skills/load-balancer.md +28 -0
  96. package/dist/src/orgrt/role-skills/mcp-builder.md +27 -0
  97. package/dist/src/orgrt/role-skills/memory-coordinator.md +28 -0
  98. package/dist/src/orgrt/role-skills/mesh-coordinator.md +26 -0
  99. package/dist/src/orgrt/role-skills/ml-developer.md +28 -0
  100. package/dist/src/orgrt/role-skills/mobile-app-builder.md +25 -0
  101. package/dist/src/orgrt/role-skills/mobile-dev.md +25 -0
  102. package/dist/src/orgrt/role-skills/model-qa.md +28 -0
  103. package/dist/src/orgrt/role-skills/narrative-designer.md +26 -0
  104. package/dist/src/orgrt/role-skills/outbound-strategist.md +26 -0
  105. package/dist/src/orgrt/role-skills/path-validator.md +27 -0
  106. package/dist/src/orgrt/role-skills/payment-agent.md +26 -0
  107. package/dist/src/orgrt/role-skills/perf-analyzer.md +28 -0
  108. package/dist/src/orgrt/role-skills/pipeline-analyst.md +26 -0
  109. package/dist/src/orgrt/role-skills/planner.md +27 -0
  110. package/dist/src/orgrt/role-skills/pr-manager.md +26 -0
  111. package/dist/src/orgrt/role-skills/pricing-strategist.md +25 -0
  112. package/dist/src/orgrt/role-skills/product-manager.md +26 -0
  113. package/dist/src/orgrt/role-skills/production-validator.md +27 -0
  114. package/dist/src/orgrt/role-skills/project-shepherd.md +25 -0
  115. package/dist/src/orgrt/role-skills/proposal-strategist.md +26 -0
  116. package/dist/src/orgrt/role-skills/prosecutor.md +25 -0
  117. package/dist/src/orgrt/role-skills/queen-coordinator.md +25 -0
  118. package/dist/src/orgrt/role-skills/quorum-manager.md +25 -0
  119. package/dist/src/orgrt/role-skills/raft-manager.md +25 -0
  120. package/dist/src/orgrt/role-skills/reality-checker.md +27 -0
  121. package/dist/src/orgrt/role-skills/recruitment.md +25 -0
  122. package/dist/src/orgrt/role-skills/release-manager.md +26 -0
  123. package/dist/src/orgrt/role-skills/repo-architect.md +25 -0
  124. package/dist/src/orgrt/role-skills/researcher.md +27 -0
  125. package/dist/src/orgrt/role-skills/resource-allocator.md +28 -0
  126. package/dist/src/orgrt/role-skills/reviewer.md +27 -0
  127. package/dist/src/orgrt/role-skills/safe-executor.md +27 -0
  128. package/dist/src/orgrt/role-skills/sales-coach.md +26 -0
  129. package/dist/src/orgrt/role-skills/sales-engineer.md +26 -0
  130. package/dist/src/orgrt/role-skills/scout-explorer.md +25 -0
  131. package/dist/src/orgrt/role-skills/security-architect.md +27 -0
  132. package/dist/src/orgrt/role-skills/security-auditor.md +27 -0
  133. package/dist/src/orgrt/role-skills/senior-developer.md +27 -0
  134. package/dist/src/orgrt/role-skills/senior-pm.md +25 -0
  135. package/dist/src/orgrt/role-skills/seo-specialist.md +25 -0
  136. package/dist/src/orgrt/role-skills/social-media.md +25 -0
  137. package/dist/src/orgrt/role-skills/solidity-engineer.md +28 -0
  138. package/dist/src/orgrt/role-skills/sprint-prioritizer.md +26 -0
  139. package/dist/src/orgrt/role-skills/sre.md +26 -0
  140. package/dist/src/orgrt/role-skills/studio-operations.md +25 -0
  141. package/dist/src/orgrt/role-skills/studio-producer.md +25 -0
  142. package/dist/src/orgrt/role-skills/support-responder.md +25 -0
  143. package/dist/src/orgrt/role-skills/system-architect.md +27 -0
  144. package/dist/src/orgrt/role-skills/task-orchestrator.md +28 -0
  145. package/dist/src/orgrt/role-skills/technical-artist.md +26 -0
  146. package/dist/src/orgrt/role-skills/technical-writer.md +27 -0
  147. package/dist/src/orgrt/role-skills/tester.md +27 -0
  148. package/dist/src/orgrt/role-skills/threat-detection.md +27 -0
  149. package/dist/src/orgrt/role-skills/trend-researcher.md +28 -0
  150. package/dist/src/orgrt/role-skills/trial-director.md +25 -0
  151. package/dist/src/orgrt/role-skills/unity-architect.md +26 -0
  152. package/dist/src/orgrt/role-skills/visionos-engineer.md +25 -0
  153. package/dist/src/orgrt/role-skills/worker-specialist.md +25 -0
  154. package/dist/src/orgrt/role-skills/workflow-architect.md +25 -0
  155. package/dist/src/orgrt/role-skills/workflow-automation.md +26 -0
  156. package/dist/src/orgrt/role-skills/zk-steward.md +27 -0
  157. package/dist/src/orgrt/role-skills.d.ts +9 -0
  158. package/dist/src/orgrt/role-skills.d.ts.map +1 -0
  159. package/dist/src/orgrt/role-skills.js +52 -0
  160. package/dist/src/orgrt/role-skills.js.map +1 -0
  161. package/dist/src/orgrt/runner-registry.d.ts.map +1 -1
  162. package/dist/src/orgrt/runner-registry.js +7 -3
  163. package/dist/src/orgrt/runner-registry.js.map +1 -1
  164. package/dist/src/orgrt/session.d.ts +16 -2
  165. package/dist/src/orgrt/session.d.ts.map +1 -1
  166. package/dist/src/orgrt/session.js +36 -3
  167. package/dist/src/orgrt/session.js.map +1 -1
  168. package/dist/src/orgrt/types.d.ts +12 -0
  169. package/dist/src/orgrt/types.d.ts.map +1 -1
  170. package/dist/src/orgrt/types.js +15 -0
  171. package/dist/src/orgrt/types.js.map +1 -1
  172. package/dist/src/ui/dashboard.html +15 -225
  173. package/dist/src/ui/routes-monoes.mjs +6 -2
  174. package/dist/src/ui/routes-org.mjs +1 -68
  175. package/dist/src/ui/server.mjs +1 -1
  176. package/dist/tsconfig.tsbuildinfo +1 -1
  177. package/package.json +6 -6
@@ -0,0 +1,27 @@
1
+ # Data Engineer — Best Practices
2
+
3
+ ## Focus
4
+ Builds reliable, observable data pipelines and platform infrastructure that turn raw, messy data into trusted, analytics-ready assets.
5
+
6
+ ## Best practices
7
+ - Make every pipeline idempotent — rerunning it must never duplicate or corrupt data.
8
+ - Enforce explicit schema contracts between producers and consumers; schema drift should alert loudly, never silently corrupt downstream data.
9
+ - Follow a layered model (raw/bronze → cleansed/silver → business-ready/gold): never let consumers read directly from raw layers.
10
+ - Handle nulls and malformed records deliberately (impute, flag, or reject) — never let them propagate implicitly into business-facing tables.
11
+ - Prefer incremental/CDC processing over full-table refreshes to control cost and latency.
12
+ - Attach audit columns (`created_at`, `updated_at`, `deleted_at`, `source_system`) and prefer soft deletes for traceability.
13
+ - Set and monitor freshness/completeness SLAs per pipeline, with alerting on breach — not just on hard failure.
14
+ - Document data lineage so any row's provenance can be traced back to its source system.
15
+
16
+ ## Common pitfalls
17
+ - Silent data quality failures that only surface once a downstream report or model looks wrong.
18
+ - Full-table scans/refreshes that work fine in dev and become a cost or latency disaster at scale.
19
+ - Transforming data in place at the raw layer, destroying the ability to reprocess from source.
20
+ - Treating schema changes as someone else's problem instead of validating and gating them explicitly.
21
+ - Under-documenting pipeline ownership, so failures have no clear owner or runbook.
22
+
23
+ ## Tools & techniques
24
+ - Data contract tooling (e.g., dbt contracts, Great Expectations) enforced in CI, not just checked manually.
25
+ - Window-function based deduplication keyed on primary key + event timestamp for the silver layer.
26
+ - Partitioning/clustering (date partitions, Z-ordering) tuned to actual downstream query patterns.
27
+ - Pipeline observability with freshness, row-count, and schema-drift alerts wired to an on-call channel.
@@ -0,0 +1,25 @@
1
+ # Database Optimizer — Best Practices
2
+
3
+ ## Focus
4
+ Optimizes schema design, queries, and indexing for relational databases (PostgreSQL, MySQL, Supabase, PlanetScale) so systems perform under load and don't page anyone at 3am.
5
+
6
+ ## Best practices
7
+ - Run EXPLAIN ANALYZE before deploying any non-trivial query — check actual time vs. planned time and rows vs. estimated rows, not just "it returned results."
8
+ - Index every foreign key used in joins — unindexed joins are the single most common cause of unexpected sequential scans.
9
+ - Avoid `SELECT *` — fetch only the columns a query actually needs to reduce I/O and network payload.
10
+ - Prevent N+1 queries by using JOINs or batched loading instead of looping queries per row in application code.
11
+ - Use connection pooling (PgBouncer, transaction-mode poolers) — never open a raw connection per request, especially in serverless contexts.
12
+ - Write migrations that are reversible and non-locking — use `CREATE INDEX CONCURRENTLY`, add columns with defaults that don't rewrite the table.
13
+ - Choose normalization vs. denormalization deliberately per access pattern, not dogmatically — document the trade-off made.
14
+
15
+ ## Common pitfalls
16
+ - Adding indexes reactively after a production slowdown instead of reviewing query plans during development.
17
+ - Locking tables in production migrations by using blocking `CREATE INDEX` or full-table rewrites.
18
+ - Trusting an ORM's default query generation without checking for hidden N+1 patterns.
19
+ - Over-normalizing a schema for theoretical purity when the actual access pattern demands a denormalized read path.
20
+
21
+ ## Tools & techniques
22
+ - `EXPLAIN ANALYZE` read as standard practice: look for Seq Scan (red flag), Index Scan / Bitmap Heap Scan (expected).
23
+ - `pg_stat_statements` or platform-equivalent slow-query logs monitored continuously, not just during incidents.
24
+ - Partial and composite indexes for common filter+sort patterns rather than one broad index per column.
25
+ - Connection pooler configuration (pool size, mode) tuned against actual concurrent connection counts.
@@ -0,0 +1,26 @@
1
+ # Deal Strategist — Best Practices
2
+
3
+ ## Focus
4
+ Structures, prices, and shepherds complex, high-value deals through internal approval and negotiation — acting as the cross-functional point of contact between sales, legal, finance, and operations.
5
+
6
+ ## Best practices
7
+ - Build working knowledge of how sales, finance, legal, and operations each affect deal structure — a deal desk that only understands sales terms will misprice risk.
8
+ - Maintain a documented playbook of deal-structuring guidelines (discount bands, payment terms, contract length tradeoffs) aligned to company strategic goals, not ad hoc precedent.
9
+ - Get involved early on high-value or non-standard deals — retrofitting structure after terms are already promised to the customer is far costlier.
10
+ - Know product value and competitive positioning cold; pricing decisions should reflect what the deal is actually worth to the customer, not just list-price anchoring.
11
+ - Keep discounting and approvals consistent across similar deals — inconsistency erodes both margin and sales credibility.
12
+ - Model the full economics of a deal (multi-year value, services cost, churn risk) before approving concessions, not just the headline ACV.
13
+ - Pre-negotiate fallback positions (what you'll trade for what) before the customer call, so concessions aren't improvised live.
14
+ - Close the loop after signature or loss — log what terms moved, why, and whether the deal structure held up post-close.
15
+
16
+ ## Common pitfalls
17
+ - Approving one-off exceptions without documenting them, which quietly resets the baseline for the next negotiation.
18
+ - Optimizing for closing the deal fast at the expense of terms that create downstream delivery, renewal, or margin problems.
19
+ - Treating legal/finance as a rubber stamp instead of looping them in early enough to shape the deal, causing late-stage renegotiation.
20
+ - Losing sight of the total contract value (services, expansion potential, renewal risk) by fixating on the headline discount.
21
+
22
+ ## Tools & techniques
23
+ - Deal desk playbook with pre-approved discount/term matrices tied to deal size and strategic priority.
24
+ - Approval routing with clear thresholds and escalation paths so deals don't stall waiting on ambiguous sign-off.
25
+ - Win/loss and margin-impact review on every closed deal above a size threshold.
26
+ - Standard fallback/concession matrix ("if they ask for X, offer Y") prepared before negotiation calls.
@@ -0,0 +1,25 @@
1
+ # Defender — Best Practices
2
+
3
+ ## Focus
4
+ Provides zealous advocacy for the opposing party within ethical bounds — the defender's job is to test the prosecution's case rigorously and ensure every weakness, gap, and alternative explanation is surfaced, not to assume the accusation is true.
5
+
6
+ ## Best practices
7
+ - Never accept the opposing narrative at face value — independently reconstruct the facts and look for what doesn't fit.
8
+ - Attack the case at its weakest evidentiary links: chain of custody, witness credibility, procedural errors, and gaps between evidence and required elements.
9
+ - Develop alternative explanations for the evidence, not just objections to it — juries and judges respond to competing stories, not just doubt.
10
+ - Hold the other side strictly to its actual burden — do not let unproven assumptions get treated as established fact.
11
+ - Prepare witnesses and evidence meticulously; credibility under cross-examination is often decisive.
12
+ - Stay within ethical bounds: zealous advocacy never extends to presenting evidence known to be false or misleading the tribunal.
13
+ - Build a coherent trial theme early and repeat it consistently — juries retain themes, not isolated objections.
14
+
15
+ ## Common pitfalls
16
+ - Being reflexively obstructive rather than substantively rigorous — objecting without building a case.
17
+ - Overlooking procedural defenses (standing, admissibility, timeliness) in favor of only merits-based arguments.
18
+ - Failing to prepare an affirmative narrative and relying solely on poking holes in the opposing case.
19
+ - Conflating "zealous" with "aggressive" — losing credibility with the decision-maker through overreach.
20
+
21
+ ## Tools & techniques
22
+ - Evidence gap analysis: mirror the prosecution's element-by-element case and mark every element with weak, missing, or contested support.
23
+ - Alternative-theory drafting: generate at least one plausible innocent/non-liable explanation for each major piece of evidence.
24
+ - Procedural checklist: verify chain of custody, disclosure timeliness, and admissibility before accepting evidence as usable.
25
+ - Theme consistency check: ensure every argument and cross-examination point ties back to a single core defense theory.
@@ -0,0 +1,25 @@
1
+ # DevOps Automator — Best Practices
2
+
3
+ ## Focus
4
+ Eliminate manual infrastructure and deployment work through automation — Infrastructure as Code, CI/CD pipelines, container orchestration, and monitoring that catches problems before users do.
5
+
6
+ ## Best practices
7
+ - Manage all infrastructure through code (Terraform/CloudFormation/CDK) with version control and review — no manual console changes that drift from the source of truth.
8
+ - Design deployments to be zero-downtime by default (blue-green, canary, or rolling) with automated health checks gating traffic shift.
9
+ - Build monitoring and alerting alongside the infrastructure, not after an incident reveals it was missing — cover the golden signals (latency, traffic, errors, saturation).
10
+ - Automate secrets management and rotation; never let a credential live only in a human's memory or a Slack message.
11
+ - Right-size resources with data (actual utilization) rather than guesswork, and revisit sizing as load patterns change.
12
+ - Bake security scanning (dependency, container, static analysis) into the pipeline as a blocking gate for critical findings.
13
+ - Automate disaster recovery and backups, and actually test restoring from them — an untested backup is not a backup.
14
+
15
+ ## Common pitfalls
16
+ - Infrastructure changes made by hand "just this once" that never get reflected back into the IaC source, causing drift.
17
+ - Deploying without a rollback mechanism ready, discovered only during an incident.
18
+ - Alerting on everything, which trains engineers to ignore pages — tune to actionable signals only.
19
+ - Optimizing for automation coverage over actual reliability outcomes (uptime, MTTR) — automation is a means, not the goal.
20
+
21
+ ## Tools & techniques
22
+ - Terraform/CloudFormation/CDK for infrastructure as code with plan/apply review gates.
23
+ - Kubernetes/ECS with health checks, autoscaling, and rolling/blue-green deploy strategies.
24
+ - Prometheus/Grafana or equivalent for metrics, with alert rules tied to the golden signals, not raw resource thresholds alone.
25
+ - Automated vulnerability scanning integrated into the build (containers and dependencies) as a merge/deploy gate.
@@ -0,0 +1,26 @@
1
+ # Discovery Coach — Best Practices
2
+
3
+ ## Focus
4
+ Sharpens how reps run discovery calls — the questions they ask, the depth they go to, and the qualification rigor — since discovery quality predicts win rate more than almost any other sales skill.
5
+
6
+ ## Best practices
7
+ - Push reps toward the proven question arc: Situation → Problem → Implication → Vision/Need-payoff (SPIN), rather than jumping straight to pitching a solution.
8
+ - Target roughly an 80/20 open-to-closed question ratio, and coach toward 11-14 substantive questions per call rather than a rushed five-minute checklist.
9
+ - Emphasize implication questions specifically — top performers ask far more of these than average reps, and they correlate strongly with win rate and deal size.
10
+ - Require real pre-call preparation; asking questions whose answers are obvious from public info signals no homework and erodes buyer trust immediately.
11
+ - Coach toward listening, not talking — buyers consistently rank "listen to my needs" as their top ask, and talk-ratio is one of the most fixable, highest-leverage metrics.
12
+ - Anchor every discovery call to a qualification framework (MEDDIC or BANT) so reps leave with Metrics, Economic Buyer, Decision Criteria/Process — not just vague interest.
13
+ - Review calls with structured scorecards mapped to the chosen methodology, not gut-feel impressions.
14
+ - Reinforce that the goal of discovery is diagnosis, not qualification theater — the rep should be able to state the customer's problem back better than the customer can.
15
+
16
+ ## Common pitfalls
17
+ - Reps pitching too early, before the customer's actual pain, priority, and buying process are understood.
18
+ - Surface-level situation questions without ever pushing into implication/impact — leaves the business case fuzzy for the customer.
19
+ - Skipping economic-buyer and decision-process questions, leading to deals that stall in "no decision" because the real buyer was never engaged.
20
+ - Treating discovery as a one-time call instead of an ongoing thread refined throughout the deal cycle.
21
+
22
+ ## Tools & techniques
23
+ - SPIN and MEDDIC/BANT as the two core qualification lenses — pick one as primary and coach consistently against it.
24
+ - Discovery call scorecards scoring question mix (situation/problem/implication/vision), talk ratio, and qualification field completeness.
25
+ - Call recording + transcript review for implication-question frequency, a strong leading indicator of win rate.
26
+ - Standard discovery question bank, refreshed from what's actually working in recent won deals.
@@ -0,0 +1,27 @@
1
+ # Email Marketing — Best Practices
2
+
3
+ ## Focus
4
+ Designs and writes email sequences — welcome series, nurture, onboarding, re-engagement, and B2B cold outreach — that read as human and drive action without feeling like a sales machine.
5
+
6
+ ## Best practices
7
+ - One email, one job: a single primary CTA per send, no competing asks.
8
+ - Earn the right to sell — lead every sequence with value before the ask.
9
+ - Write "you/your" more than "I/we"; open with the reader's world, not your announcement.
10
+ - Keep subject lines clear over clever, 40-60 characters, no "I hope this finds you well."
11
+ - Match sequence length to intent: welcome (5-7 emails/12-14 days), nurture (5-10), onboarding (5-10 emails to first value), re-engagement (3-5 with a sunset).
12
+ - For cold outreach, anchor on a real trigger or signal (hiring, funding, product change) before making the ask.
13
+ - A/B test subject lines, send times, and CTA variants — don't guess at what resonates.
14
+ - Read every draft aloud; if it sounds like copy, rewrite it.
15
+
16
+ ## Common pitfalls
17
+ - Cramming multiple CTAs into one email, diluting the intended action.
18
+ - Writing generic, un-personalized cold email that reads as mass-blasted.
19
+ - Letting nurture sequences drift into pure promotion with no education or trust-building.
20
+ - Ignoring deliverability hygiene — unsubscribe rate above 0.5% or spam-trigger language — until sender reputation is already damaged.
21
+ - Skipping the sunset step in re-engagement sequences, continuing to email unresponsive contacts indefinitely.
22
+
23
+ ## Tools & techniques
24
+ - Sequence frameworks: Observation→Problem→Proof→Ask and Trigger→Relevance→Value→Ask for cold email.
25
+ - Segmentation by behavioral trigger, not just static list membership.
26
+ - Success benchmarks: 35%+ open rate (warm), 15-25% (cold), 5-10% reply rate (cold), <0.5% unsubscribe per send.
27
+ - Preview text as a second subject line — always write it deliberately, never leave it to auto-pull body text.
@@ -0,0 +1,25 @@
1
+ # Embedded Firmware — Best Practices
2
+
3
+ ## Focus
4
+ Writes production-grade firmware for resource-constrained embedded systems (ESP32/ESP-IDF, STM32 HAL/LL, Nordic nRF/Zephyr, FreeRTOS) where hardware constraints and undefined behavior carry real consequences.
5
+
6
+ ## Best practices
7
+ - Avoid dynamic allocation in RTOS tasks after init — use static allocation or memory pools; heap fragmentation on constrained devices causes unpredictable failures.
8
+ - Always check return values from HAL/SDK calls (`esp_err_t`, HAL status codes) — a silently ignored error is a silent field failure.
9
+ - Calculate stack sizes, don't guess — verify with `uxTaskGetStackHighWaterMark()` or equivalent under real load, not just at boot.
10
+ - Keep ISRs minimal — defer work to tasks via queues/semaphores; never call blocking APIs from interrupt context.
11
+ - Use `FromISR` API variants inside interrupt handlers, and never poll from an ISR on timing-critical platforms.
12
+ - Pin toolchain and library versions in build config (`platformio.ini`, `west.yml`) — never track `@latest` in anything shipping to production.
13
+ - Test every error path with fault injection, not just the happy path — the failures that matter are the ones nobody exercises in normal testing.
14
+
15
+ ## Common pitfalls
16
+ - Using `malloc`/`new` freely in long-running tasks, causing heap fragmentation that only manifests after hours or days of uptime.
17
+ - Guessing stack sizes instead of measuring high-water marks, leading to intermittent stack overflow crashes.
18
+ - Doing real work inside an ISR (I2C/SPI transactions, logging, heavy computation) instead of deferring to a task.
19
+ - Hardcoding peripheral addresses or pin assignments instead of using devicetree/Kconfig or board-specific config layers.
20
+
21
+ ## Tools & techniques
22
+ - JTAG/SWD debugging and crash-dump analysis (`idf.py coredump-info`, STM32 SWV/ITM trace) for post-mortem root cause.
23
+ - FreeRTOS runtime stats / task trace (SystemView) to catch priority inversion and starvation before they hit production.
24
+ - Logic analyzer / oscilloscope captures to verify timing-critical peripheral transactions against datasheet specs.
25
+ - OTA update paths with rollback (`esp_ota_ops.h`, MCUboot) designed and tested before first field deployment, not after.
@@ -0,0 +1,27 @@
1
+ # Evidence Collector — Best Practices
2
+
3
+ ## Focus
4
+ Gathers and verifies visual/factual proof that a claimed implementation actually works — the antidote to "it should work" reports that were never actually checked.
5
+
6
+ ## Best practices
7
+ - Require concrete evidence (screenshots, command output, logs) for every claim of "done" or "working" — a claim without evidence is unverified
8
+ - Default to expecting issues on a first pass — a fresh implementation reporting "zero issues found" is a signal to look harder, not a sign of quality
9
+ - Compare evidence directly against the original specification, quoting exact spec text next to what was actually observed
10
+ - Test interactive/stateful behavior explicitly (does the button actually submit, does the toggle actually persist), not just that the element renders
11
+ - Document what you actually observed, not what you'd expect to see if the implementation were correct — evidence trumps inference
12
+ - Capture evidence across the relevant matrix of conditions (viewport sizes, themes, auth states) rather than a single happy-path snapshot
13
+ - Rate quality honestly on a realistic scale — reserve top marks for evidence that genuinely supports them
14
+
15
+ ## Common pitfalls
16
+ - Accepting a verbal/textual claim of correctness in place of actual evidence because gathering evidence takes more effort
17
+ - Letting "looks reasonable" substitute for "matches the spec" — specification compliance and general polish are different checks
18
+ - Collecting evidence but not actually comparing it against requirements before signing off
19
+ - Being satisfied with a single screenshot when the claim spans multiple states (before/after an interaction, multiple breakpoints)
20
+ - Softening findings to avoid conflict — a diplomatic "mostly working" report that hides a broken feature does more harm than a blunt one
21
+
22
+ ## Tools & techniques
23
+ - Automated screenshot capture across breakpoints and themes (Playwright, browser automation) rather than manual spot-checks
24
+ - Before/after comparison captures for any interactive element (accordions, forms, toggles) to prove state actually changed
25
+ - Side-by-side spec-vs-evidence tables: quoted requirement, observed result, pass/fail
26
+ - Structured test-results artifacts (JSON/log output) retained alongside screenshots so claims are traceable to raw data
27
+ - A minimum-findings heuristic (assume several issues exist on a first pass) to counter the tendency to under-report
@@ -0,0 +1,28 @@
1
+ # Experiment Tracker — Best Practices
2
+
3
+ ## Focus
4
+ Records and organizes every experiment (ML training run, A/B test, feature trial) — parameters, code version, data, environment, and results — so outcomes are reproducible, comparable, and auditable.
5
+
6
+ ## Best practices
7
+ - Log parameters, code version, data version, environment, and metrics together for every run — a metric without its full context is not reproducible.
8
+ - Give every experiment a clear hypothesis and success criterion before it starts, not a post-hoc interpretation of whatever the numbers show.
9
+ - Compare against a control/baseline explicitly — an isolated "the metric went up" claim means nothing without what it's relative to.
10
+ - Pin environment and dependency versions per run so a "reproduce this result" request is actually answerable months later.
11
+ - Track statistical significance and sample size for A/B-style experiments, not just the raw metric delta.
12
+ - Tag and organize runs by project/hypothesis so related experiments can be compared as a group, not just individually.
13
+ - Record negative/failed results with the same rigor as successful ones — knowing what didn't work is as valuable as knowing what did.
14
+ - Close the loop: record the decision made from each experiment (shipped / rejected / needs more data), not just the raw numbers.
15
+
16
+ ## Common pitfalls
17
+ - Logging metrics without the parameters/code/data version that produced them — the run becomes unreproducible the moment code changes.
18
+ - Declaring a winner from an A/B test before reaching statistical significance or minimum sample size.
19
+ - No control group — measuring a change against "how things felt before" instead of a concurrent baseline.
20
+ - Losing track of which experiment config is actually running in production versus which was just an exploratory trial.
21
+ - Discarding failed experiments instead of recording them, causing the same dead end to be re-explored later.
22
+
23
+ ## Tools & techniques
24
+ - Tracking platforms (MLflow, Weights & Biases, or equivalent) that auto-capture params, metrics, code version, and artifacts per run.
25
+ - Model/experiment registries to distinguish "promoted to production" from "exploratory" runs.
26
+ - A/B test statistical frameworks (power analysis for sample size, significance testing before calling a winner) for product experiments.
27
+ - Environment manifests (lockfiles, container images, YAML env specs) versioned alongside each run for reproducibility.
28
+ - Comparison dashboards that plot multiple runs against shared baselines to make relative performance legible at a glance.
@@ -0,0 +1,26 @@
1
+ # Feedback Synthesizer — Best Practices
2
+
3
+ ## Focus
4
+ Turns raw, scattered user feedback (interviews, surveys, support tickets, reviews) into actionable themes and recommendations — the bridge between "we collected data" and "here's what to do about it."
5
+
6
+ ## Best practices
7
+ - Separate analysis from synthesis explicitly: analysis breaks data into parts and finds patterns; synthesis combines those patterns into insights and recommendations. Don't skip straight to conclusions.
8
+ - Use thematic analysis for textual/qualitative data: read everything first, code short labels on similar fragments, then group codes into larger themes.
9
+ - For each theme, document what's happening, who it affects, where in the experience it shows up, and attach 1-3 concrete verbatim examples as evidence — themes without evidence aren't trustworthy.
10
+ - Triangulate across sources (interviews + support tickets + survey text + reviews) before treating a theme as real — a pattern that only shows up in one channel is weaker signal.
11
+ - Choose the analysis method and framework before sessions/collection begins, and align the team on it, so synthesis doesn't turn into ad hoc opinion.
12
+ - Quantify theme frequency and severity where possible ("18 of 40 interviews," "top support category") so prioritization discussions have a number to argue with.
13
+ - Deliver synthesis as recommendations tied to themes, not just a list of quotes — the output should answer "so what do we do."
14
+
15
+ ## Common pitfalls
16
+ - Cherry-picking a few vivid quotes that confirm an existing hypothesis instead of coding the full dataset.
17
+ - Conflating loud feedback (frequent complainers) with representative feedback (what most users actually experience).
18
+ - Presenting raw notes or transcripts as "synthesis" — no grouping, no themes, no recommendation.
19
+ - Ignoring the difference between what users say they want and the underlying problem revealed by their behavior/complaint.
20
+ - Losing traceability — a theme with no linked source evidence that can't be re-verified later.
21
+
22
+ ## Tools & techniques
23
+ - Thematic coding: label → group into codes → group codes into themes → attach evidence.
24
+ - Data triangulation across qualitative sources to increase confidence in a theme before acting on it.
25
+ - Frequency/severity tagging per theme to feed directly into prioritization frameworks (e.g., RICE Reach/Impact inputs).
26
+ - Structured synthesis output: theme, affected segment, evidence, recommended action.
@@ -0,0 +1,26 @@
1
+ # Finance Tracker — Best Practices
2
+
3
+ ## Focus
4
+ Keeps ongoing visibility into money in and out — expenses, budgets, and core financial KPIs — so decisions are made on current, accurate data rather than stale or informal impressions.
5
+
6
+ ## Best practices
7
+ - Record transactions and expenses in real time (or as close to it as possible) rather than batching reconciliation — delayed entry is the single biggest source of inaccurate financial pictures.
8
+ - Separate expense categories clearly (fixed vs. variable, department, project) so spend trends are analyzable, not just a lump total.
9
+ - Track a small set of core KPIs consistently rather than a sprawling dashboard: profitability (margin, burn), liquidity (cash runway, current ratio), and efficiency (cost per unit of output) at minimum.
10
+ - Reconcile budget-to-actual on a fixed cadence (weekly/monthly) and flag variances early rather than discovering drift at quarter-end.
11
+ - Keep an audit trail on every entry — source document, approver, category — so figures can be traced and trusted, not just totals.
12
+ - Flag anomalies (unexpected spend spikes, missing categorization, duplicate entries) proactively rather than waiting for a periodic review to surface them.
13
+ - Present financial status in terms decision-makers act on — runway remaining, budget variance, trend direction — not raw ledger dumps.
14
+ - Keep personal/unrelated spend and business finances strictly separated to avoid muddying every downstream metric.
15
+
16
+ ## Common pitfalls
17
+ - Batching data entry infrequently, which produces a financial picture that's always weeks stale by the time anyone looks at it.
18
+ - Tracking too many KPIs at once, diluting attention from the few that actually predict trouble (cash runway, margin trend).
19
+ - Reporting totals without variance context — a number alone doesn't tell anyone whether it's good, bad, or expected.
20
+ - Letting miscategorized or duplicate entries accumulate uncorrected, silently corrupting trend analysis over time.
21
+
22
+ ## Tools & techniques
23
+ - Budget-vs-actual variance reports on a fixed cadence, with variance thresholds that trigger explicit flags.
24
+ - Core KPI set: gross/net margin, cash runway, burn rate, cost per unit — tracked as a trend line, not a single snapshot.
25
+ - Categorized expense tracking (fixed/variable, by department/project) to support cohort-style analysis of where spend is concentrated.
26
+ - Anomaly checks (spend spikes, duplicate/missing entries) run automatically before data is reported as final.
@@ -0,0 +1,25 @@
1
+ # Frontend Developer — Best Practices
2
+
3
+ ## Focus
4
+ Builds responsive, accessible, and performant web UIs with modern frameworks (React/Vue/Angular/Svelte) — turning designs into production-quality, maintainable interfaces.
5
+
6
+ ## Best practices
7
+ - Build mobile-first, responsive layouts and verify behavior across breakpoints, not just desktop.
8
+ - Bake accessibility in from the start: semantic HTML, ARIA only where semantics fall short, full keyboard navigation, and screen-reader testing — not a post-hoc audit.
9
+ - Optimize for Core Web Vitals (LCP, INP/FID, CLS) as a first-class requirement, not an afterthought — use code splitting, lazy loading, and asset optimization.
10
+ - Keep component architecture composable and typed (TypeScript); avoid prop-drilling and oversized components by extracting reusable pieces early.
11
+ - Manage state deliberately — pick the simplest mechanism that fits (local state, context, or a dedicated store) rather than reaching for global state by default.
12
+ - Write unit/integration tests for components with real user interactions, and cover critical flows end-to-end.
13
+ - Handle loading, empty, and error states explicitly for every data-driven view — don't design only the happy path.
14
+
15
+ ## Common pitfalls
16
+ - Shipping desktop-only layouts and retrofitting responsiveness later.
17
+ - Adding ARIA attributes without verifying actual screen-reader/keyboard behavior.
18
+ - Letting bundle size grow unchecked from unnecessary dependencies or missing code-splitting.
19
+ - Skipping accessibility and cross-browser testing until just before release.
20
+
21
+ ## Tools & techniques
22
+ - Lighthouse / Core Web Vitals audits as part of the review checklist.
23
+ - Virtualization (windowing) for long lists/tables to keep render times low.
24
+ - Automated accessibility testing (axe, etc.) integrated into CI, backed by manual screen-reader spot checks.
25
+ - Component-driven development (isolated component review) to catch visual/interaction regressions before integration.
@@ -0,0 +1,26 @@
1
+ # Game Audio Engineer — Best Practices
2
+
3
+ ## Focus
4
+ Implements adaptive sound and music systems in-engine — building mixer architecture, middleware projects (Wwise/FMOD), and gameplay-driven audio parameters — not just producing sound assets.
5
+
6
+ ## Best practices
7
+ - Build a tree-structured mixer bus architecture: individual sounds route to category buses, category buses to sub-mixes, sub-mixes to master — this enables hierarchical volume control, consistent effects processing, and efficient CPU usage.
8
+ - Drive adaptive audio from gameplay parameters (intensity, wetness, occlusion, combat state) set by game systems via the middleware's parameter API — keep audio logic inside the middleware, not scattered across gameplay scripts.
9
+ - Design music systems that transition smoothly across tension states (exploration → combat → victory) using vertical layering or horizontal re-sequencing rather than hard cuts.
10
+ - Structure the Wwise/FMOD project (Actor-Mixer hierarchy / event structure, Work Units, naming conventions) so it scales with content growth without becoming unmaintainable — decide this early, not after hundreds of events exist.
11
+ - Choose middleware deliberately: Wwise for AAA-scale data-driven complexity with a steeper learning curve; FMOD for a more approachable timeline-based workflow — match the choice to team size and project scope.
12
+ - Keep sound designers empowered to build interactive behaviors (adaptive mixing, transitions) without needing engineering support for every change, via well-designed parameter-driven systems.
13
+ - Profile audio performance (voice count, CPU/memory budget, streaming) the same rigor as any other real-time system — audio bugs (voice stealing, clipping, missing occlusion) are performance bugs too.
14
+
15
+ ## Common pitfalls
16
+ - Hardcoding audio triggers/logic in gameplay code instead of exposing clean parameters for middleware-side authoring — this couples audio changes to engineering time forever.
17
+ - Letting the middleware project grow unstructured (no naming convention, no Work Unit organization) until sound designers can't find or safely edit events.
18
+ - Hard-cutting music between states instead of designing proper adaptive transitions, breaking immersion at exactly the moments that matter most.
19
+ - No mixer bus hierarchy — flat routing that makes global volume/ducking/sidechain adjustments painful or impossible.
20
+ - Ignoring voice budget/CPU cost until late, causing last-minute audio cuts under performance pressure.
21
+
22
+ ## Tools & techniques
23
+ - Wwise (Actor-Mixer hierarchy, Work Units, RTPCs/parameters) or FMOD Studio (timeline events, parameters, snapshots) as the implementation layer between sound design and gameplay code.
24
+ - Tree-structured mixer bus routing for hierarchical control and consistent DSP application.
25
+ - Parameter-driven adaptive mixing (setParameterByName / RTPC) so game systems push state, not explicit sound triggers.
26
+ - Vertical layering and horizontal re-sequencing techniques for state-based adaptive music.
@@ -0,0 +1,26 @@
1
+ # Game Designer — Best Practices
2
+
3
+ ## Focus
4
+ Designs the core gameplay loop, mechanics, and balancing that make a game engaging — the systemic "why is this fun" layer that everything else (levels, narrative, art) builds on.
5
+
6
+ ## Best practices
7
+ - Nail the core loop before anything else — the repeatable cycle of goal → action → reward → risk. If it isn't solid, no amount of content polish will fix it.
8
+ - Design for the "flow channel": balance challenge against player skill continuously — too easy bores, too hard frustrates. Difficulty should ramp with demonstrated player competence, not a fixed curve.
9
+ - Apply the five pillars of player-centric design: Clarity (players know how to interact), Motivation (players know where to go/why), Response (challenges react meaningfully to player action), Satisfaction (effort is rewarded), Viscerality (moment-to-moment feel).
10
+ - Introduce iterative variation on the core loop (new enemy types, shifting hazards, time pressure) to keep a familiar mechanic engaging rather than repetitive.
11
+ - Treat "game feel" as a first-class design concern — responsive controls, feedback timing, screen shake, and impactful audio are part of the mechanic, not polish added later.
12
+ - Playtest early and often with the core loop in isolation before building content on top of it; use observed player behavior, not just verbal feedback, to judge whether a mechanic works.
13
+ - Design systems, not one-off content — a mechanic should generate many interesting situations, not just support one scripted moment.
14
+
15
+ ## Common pitfalls
16
+ - Building content (levels, story) on top of a core loop that hasn't been validated through playtesting first.
17
+ - Confusing complexity with depth — adding more systems instead of making existing systems interact more meaningfully.
18
+ - Tuning difficulty from designer intuition alone instead of observed playtester skill curves.
19
+ - Ignoring game feel until late in production, when it's expensive to retrofit responsiveness into controls and feedback.
20
+ - Over-indexing on what players say they want in feedback sessions versus what their actual play behavior reveals.
21
+
22
+ ## Tools & techniques
23
+ - Core loop diagramming (goal/action/reward/risk cycle) as the first design artifact for any game or feature.
24
+ - Flow-channel difficulty curves mapped against observed player skill progression from playtests.
25
+ - Rapid paper/greybox prototyping to validate a mechanic before committing art or content budget.
26
+ - Structured playtesting with behavioral observation (where players struggle, quit, or repeat) as primary signal, verbal feedback as secondary.
@@ -0,0 +1,26 @@
1
+ # Hierarchical Coordinator — Best Practices
2
+
3
+ ## Focus
4
+ Runs a manager/worker tree: owns authoritative state, decomposes objectives into subtasks with a single accountable owner each, and reconciles reports flowing back up the chain.
5
+
6
+ ## Best practices
7
+ - Decompose before delegating — each subtask needs a named owner, explicit acceptance criteria, and a clear handoff target, not "someone will do it."
8
+ - Route by capability, not convenience: match subtask type to the specialist's declared expertise; prefer the narrowest qualified specialist over overloading one agent.
9
+ - Treat subordinate reports as inputs, not truth — reconcile conflicting status into one authoritative view instead of relaying whichever came in last.
10
+ - Checkpoint every cycle: compare current state against the goal, not just against the last report.
11
+ - Intervene early on drift — a specialist quietly diverging from scope costs more the longer it runs; re-scope immediately with a narrower, corrected task.
12
+ - Keep the tree shallow. Escalate to a real hierarchy only once the flat/parallel option genuinely can't cover the worker count (rule of thumb: 5-8+ concurrent workers).
13
+ - Never let two subordinates silently own overlapping work — ambiguity in ownership is where hierarchical coordination fails first.
14
+
15
+ ## Common pitfalls
16
+ - Static hierarchy under growing load: every new sub-agent still reports through the same chain, so the root becomes the bottleneck as task count or depth grows.
17
+ - Specification ambiguity — subordinates misinterpret their scope or skip verification because the brief assumed shared context they didn't have.
18
+ - Rubber-stamping upward reports instead of reconciling them, which lets a wrong subordinate claim propagate as fact.
19
+ - Adding coordination machinery (extra approval layers, extra reporting) faster than the actual task complexity justifies — each new layer adds dependencies and conflict-resolution overhead of its own.
20
+ - Treating "hierarchical" as inherently safer than flat/mesh — it improves control and efficiency but trades away the resilience a peer topology gets from having no single point of failure.
21
+
22
+ ## Tools & techniques
23
+ - Represent the subtask tree and dependency edges explicitly (a DAG, not prose) so ownership and the critical path are checkable at a glance.
24
+ - Dispatch independent subtasks in one batch so they run concurrently; only serialize what genuinely depends on prior output.
25
+ - Use an explicit approval/acceptance gate before a deliverable is marked done — don't let "reported complete" and "verified complete" collapse into the same event.
26
+ - When a subordinate stalls or diverges, re-scope with a narrower brief rather than escalating vaguely — specificity is the actual fix, not more oversight.
@@ -0,0 +1,26 @@
1
+ # Incident Commander — Best Practices
2
+
3
+ ## Focus
4
+ Turn production chaos into structured, time-boxed resolution — classify severity, assign clear roles, drive communication cadence, and convert every incident into a systemic fix via blameless post-mortem.
5
+
6
+ ## Best practices
7
+ - Classify severity immediately using a fixed framework (SEV1–SEV4) — severity determines escalation, response time, and communication cadence, so never skip it.
8
+ - Assign explicit roles before troubleshooting starts: Incident Commander, Communications Lead, Technical Lead, Scribe — chaos multiplies without clear ownership of decisions.
9
+ - Communicate on a fixed cadence even when there's no new information ("still investigating") — silence is worse than a boring update.
10
+ - Timebox each investigation hypothesis (e.g. 15 minutes); if unconfirmed, pivot or escalate rather than tunneling on one theory.
11
+ - Fix the bleeding first, root-cause later — rollback/restart/scale/failover to restore service, then investigate why it broke.
12
+ - Verify recovery through metrics, not visual impression — confirm SLIs are back inside SLO and hold for a monitoring window before declaring resolved.
13
+ - Run every SEV1/SEV2 through a blameless post-mortem within 48 hours, with owned action items tracked to completion — a post-mortem without follow-through is just a meeting.
14
+
15
+ ## Common pitfalls
16
+ - Diving into fixes before assigning roles or classifying severity, producing uncoordinated, duplicated effort.
17
+ - Framing post-mortem findings around what a person did wrong instead of what the system allowed — this erodes the psychological safety needed for people to escalate early next time.
18
+ - Letting action items from previous post-mortems go undone, so the same incident recurs.
19
+ - Declaring "resolved" based on things looking fine rather than confirmed metric recovery.
20
+ - Undocumented tribal-knowledge fixes that only the one engineer who did it last time remembers.
21
+
22
+ ## Tools & techniques
23
+ - A written severity matrix with explicit escalation triggers (impact doubling, time-without-root-cause) that auto-upgrade severity.
24
+ - Tested runbooks per known failure mode, verified quarterly — an untested runbook is a false sense of security.
25
+ - SLO/error-budget policy that gates feature work vs. reliability work based on budget consumption.
26
+ - On-call rotation design with burnout guardrails (max consecutive weeks, page-volume ceilings, mandatory handoff during business hours).
@@ -0,0 +1,25 @@
1
+ # Infrastructure — Best Practices
2
+
3
+ ## Focus
4
+ Designs and operates the underlying systems (compute, networking, storage, CI/CD) that everything else runs on — reliability and reproducibility over feature velocity.
5
+
6
+ ## Best practices
7
+ - Define infrastructure as code — every resource should be reproducible from a config file, not created by hand through a console.
8
+ - Design for the six well-architected pillars: operational excellence, security, reliability, performance efficiency, cost optimization, sustainability — trade-offs should be explicit, not accidental.
9
+ - Build in redundancy proportional to actual criticality — multi-AZ/multi-region for what truly needs it, not everything by default (cost matters).
10
+ - Automate scaling and load distribution (auto-scaling groups, load balancers) rather than manually provisioning for peak.
11
+ - Version and review infra changes like application code — plan/diff before apply, peer review before merge.
12
+ - Instrument before you need it — monitoring, logging, and alerting must exist before an incident, not get added after one.
13
+ - Keep environments (dev/staging/prod) as close to identical as practical to catch environment-specific failures early.
14
+
15
+ ## Common pitfalls
16
+ - Manual, undocumented changes made directly against production that drift from the IaC source of truth.
17
+ - Over-provisioning "just in case" instead of right-sizing against actual load data.
18
+ - Treating monitoring/alerting as optional polish added after the first incident instead of a prerequisite.
19
+ - Ignoring cost pillar until the bill is a surprise — cost optimization is a design-time concern, not a later cleanup.
20
+
21
+ ## Tools & techniques
22
+ - Infrastructure as Code (Terraform, Pulumi, CloudFormation) with plan/apply review gates.
23
+ - Well-Architected style review across reliability, security, cost, performance, and operations before major changes ship.
24
+ - Auto-scaling + load balancing configured against real traffic patterns, not guessed capacity.
25
+ - Centralized logging/monitoring (e.g., Cloud Monitoring/Logging equivalents) wired to actionable alerts, not noise.
@@ -0,0 +1,27 @@
1
+ # Input Validator — Best Practices
2
+
3
+ ## Focus
4
+ Enforces that every value crossing a trust boundary — user input, API payload, file upload, env var — is checked against an explicit allowlist before it reaches business logic.
5
+
6
+ ## Best practices
7
+ - Use allowlist (positive) validation, not blocklist: define exactly what's acceptable (character set, format, length, range) and reject everything else
8
+ - Validate at every trust boundary, not just the outermost one — a value that passed validation at the API layer can still be dangerous three functions deeper if it's re-used in a different context
9
+ - Separate validation from sanitization — validation rejects bad input, sanitization neutralizes it; know which one a given field needs, and don't silently "fix" input that should be rejected
10
+ - Validate structure and semantics, not just syntax — an email that matches a regex but points to a banned domain is still invalid for the use case
11
+ - Fail closed: on ambiguous or malformed input, reject rather than guess at intent
12
+ - Use the same validation logic on both client and server — client-side validation is UX, server-side validation is the actual security boundary
13
+ - Escape/encode output for its destination context (HTML, SQL, shell, URL) — validation at input time does not substitute for contextual output encoding
14
+
15
+ ## Common pitfalls
16
+ - Relying on blocklists ("reject `<script>`") that attackers trivially bypass with encoding or case variation
17
+ - Validating once at the edge and assuming the value stays "clean" as it flows through the system, including into logs or templates
18
+ - Conflating validation with sanitization, e.g. stripping characters from a username instead of rejecting invalid ones — silently mutating input hides bugs
19
+ - Using overly permissive regexes (`.*`, unescaped metacharacters) that pass almost anything through
20
+ - Trusting client-supplied metadata (Content-Type, file extension, declared length) without independently verifying it
21
+
22
+ ## Tools & techniques
23
+ - OWASP Input Validation Cheat Sheet as the canonical reference for allowlist patterns and pitfalls
24
+ - Schema-based validation libraries (Pydantic, Zod, JSON Schema) so validation is declarative and testable, not ad hoc regex scattered through handlers
25
+ - Parameterized queries / prepared statements for anything that reaches a database — validation reduces risk but does not replace this
26
+ - Contextual output encoding libraries matched to the sink (HTML entity encoding, SQL parameter binding, shell arg escaping)
27
+ - Fuzz testing and boundary-value test cases (empty, max-length, unicode, null bytes) to catch validation gaps automated review misses
@@ -0,0 +1,25 @@
1
+ # iOS Developer — Best Practices
2
+
3
+ ## Focus
4
+ Builds native iOS applications with Swift and SwiftUI — modern, safe, performant apps that follow Apple's current platform conventions and data-safety guarantees.
5
+
6
+ ## Best practices
7
+ - Default to SwiftUI for new UI work; it now covers the vast majority of active devices (iOS 15+) and is no longer optional greenfield tech.
8
+ - Use `@Observable` (iOS 17+) for state management in new code — don't mix it with the legacy `ObservableObject`/`@Published` pattern in the same feature.
9
+ - Embrace Swift's strict concurrency model: use actors to guard mutable state and resolve data-race warnings rather than suppressing them.
10
+ - Use SwiftData for new local persistence needs unless there's a specific reason to stay with Core Data (e.g., deep existing investment).
11
+ - Follow MVVM (or a comparably clear separation) so views stay declarative and business logic stays testable outside the view layer.
12
+ - Apply Apple's secure coding and data-handling guidance for anything touching user data — keychain for secrets, no sensitive data in plain UserDefaults or logs.
13
+ - Build accessibility in from the start: Dynamic Type, VoiceOver labels, and sufficient color contrast, verified with the Accessibility Inspector.
14
+
15
+ ## Common pitfalls
16
+ - Mixing old and new observation/state patterns within the same view hierarchy, causing confusing update behavior.
17
+ - Ignoring Swift 6 data-race warnings instead of fixing the underlying shared-state design.
18
+ - Storing sensitive data insecurely (plain UserDefaults, hardcoded secrets) instead of using Keychain.
19
+ - Treating accessibility as a final QA pass rather than validating it alongside each new screen.
20
+
21
+ ## Tools & techniques
22
+ - Xcode's strict concurrency checking and Instruments (Time Profiler, Allocations) for correctness and performance validation.
23
+ - SwiftData/Core Data migrations tested against real data before shipping schema changes.
24
+ - Accessibility Inspector and VoiceOver walkthroughs for every new screen.
25
+ - TestFlight staged rollouts combined with crash reporting (e.g., Xcode Organizer / Crashlytics) to catch regressions before full release.
@@ -0,0 +1,26 @@
1
+ # Issue Tracker — Best Practices
2
+
3
+ ## Focus
4
+ Keep issues accurate, well-triaged, and actionable — the single source of truth for what work exists, its state, and who owns it.
5
+
6
+ ## Best practices
7
+ - Write issues with a clear problem statement, reproduction steps (for bugs) or acceptance criteria (for features) — not just a title.
8
+ - Label consistently: type (bug/feature/docs), priority, and area, using a fixed taxonomy rather than inventing new labels per issue.
9
+ - Link issues to the PRs that close them so history stays traceable.
10
+ - Keep issue state current — close stale/duplicate issues rather than letting the backlog rot; a tracker nobody trusts stops being used.
11
+ - Post progress updates on long-running issues at natural milestones, not on a timer for its own sake.
12
+ - Break large issues into sub-tasks with explicit dependencies rather than one sprawling checklist.
13
+ - Triage new issues promptly: confirm it's real, assign priority/labels, and either schedule or explicitly defer it.
14
+
15
+ ## Common pitfalls
16
+ - Creating near-duplicate issues instead of searching first and commenting on the existing one.
17
+ - Letting an issue sit "in progress" indefinitely with no update, blocking anyone from knowing its real status.
18
+ - Over-labeling (ten labels on one issue) which makes filtering useless.
19
+ - Writing bug reports without reproduction steps, forcing the assignee to re-discover the bug from scratch.
20
+ - Closing issues without stating why (fixed, wontfix, duplicate) or linking the resolving change.
21
+
22
+ ## Tools & techniques
23
+ - `gh issue create/list/view/edit/comment` for the full CLI workflow; `gh search issues` before filing anything new.
24
+ - Milestones/projects for grouping issues toward a release rather than tracking dates in the issue body.
25
+ - A fixed bug-report and feature-request template so triage doesn't need to ask clarifying questions every time.
26
+ - Cross-repo search when working in a monorepo, so duplicate reports across packages get caught.