product-investment
Evaluate product investment options across build, buy, partner, defer, and do-nothing paths, setting incremental accounting boundaries and cash-versus-capacity rules without fabricated ROI. Use for product investment analysis / product ROI scenario. (triggers: `product investment analysis`, `product
- 01GitHub stars
- 577
- 02Installs
- New
- 03Files scanned
- 8
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 42c9ade6704a1ce8… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Product Investment Analysis
Priority: P0 (CRITICAL)
Evaluate feature and product investment options with rigorous incremental accounting, cash versus capacity boundaries, and deterministic financial calculations without fabricating speculative returns.
1. Capability Preflight
Before numeric evaluation:
- Confirm Node >=20, the installed package's
scripts/evaluate-investment.mjs, andassets/investment.schema.jsonseparately. Invoke withnode <installed-root>/scripts/evaluate-investment.mjs <absolute-input.json>; resolve companion assets from the package, never the monorepo root or current directory. Do not install missing resources. - Resolve ledger capability from
<agent-skill-root>/product-management/product-evidence/SKILL.md(ordinary install),<agent-skill-root>/product-management-product-evidence/SKILL.md(flattened Kiro install), or MCPget_skill("product-management", "product-evidence"). Distinguish explicit exclusion from missing pack; if configuration cannot establish status, say unknown. - Missing script/schema/runtime is a resource/runtime gap; missing accounting data means unknown or qualitative-only analysis; missing budget authority permits proposal only, never commitment. If ledger capability is absent, continue standalone only when supplied inputs do not require ledger validation.
- Never simulate ledger validation, infer financial completeness, or call an analysis approved without required human authority.
2. Core Protocol
- Strategic Alternatives Evaluation:
- Explicitly evaluate five investment paths: build, buy, partner, defer, and do-nothing.
- Model the "do nothing / defer" counterfactual as the baseline against which incremental costs and benefits are measured.
- Trade-offs & Opportunity Cost:
- Assess displaced work and opportunity costs qualitatively in the decision rationale.
- Do NOT record opportunity costs as cash expenses unless approved by finance.
- Cash vs Capacity Distinction:
- Treat developer and operational hours saved as operational capacity (
basis: "capacity_hours"). - Capacity hours are informational. Never convert saved hours into cash benefits ($B$) unless an explicit finance-verified cash reduction mechanism exists.
- Treat developer and operational hours saved as operational capacity (
- Finance-Owned Incremental Accounting Boundary:
- Restrict analysis to incremental cash flows within the declared
accounting_boundary. - Exclude genuinely sunk costs and non-incremental historical overhead allocations.
- Finance determines and documents whether specific step-fixed costs or incremental shared contracts are included relative to do-nothing. The calculator cannot infer cost completeness or causality.
- Restrict analysis to incremental cash flows within the declared
- Scenario Rigor (Base, Downside, Upside):
- Formulate separate, independent assumptions for
base,downside, andupsidescenarios. - Do NOT average scenarios or assign arbitrary probabilities to compute an expected return.
- An invalid scenario rejects the entire analysis; do not drop downside risks silently.
- Formulate separate, independent assumptions for
- Qualitative Investment Validity:
- Qualitative investments (compliance, platform stability, strategic enablement) are valid without fabricated numerical ROI.
- If benefits are non-monetary, declare
nonmonetary: string[]and leave monetary benefits unknown.
- Budget-Holder Authority & Revisit Triggers:
- Economic evaluation models potential value; it does NOT authorize capital expenditure or team allocation.
- All investments require formal budget-holder authority binding before commitment.
- Define unambiguous revisit triggers (cost overruns, missed milestones, macro shifts).
3. Anti-Patterns & Red Flags
- No Fabricated ROI: Never invent dollar figures for unquantifiable strategic or user-satisfaction benefits.
- No Capacity as Cash: Never treat saved internal labor hours as immediate cash revenue or cash savings.
- No Sunk Cost Inclusion: Never justify continuing an investment based on money already spent.
- No Probability-Weighted Blending: Never average downside and upside to mask capital loss scenarios.
- No Double-Counting: Never net COGS in contribution margin and simultaneously claim them as explicit costs.
4. References
- Financial Contract — Exact arithmetic, rounding, payback, and NPV specification.
- Examples & Reference Oracles — Baseline, zero-cost, durable payback, and rejection fixtures.
- Manual Semantic Rubric — Case-specific financial decision/artifact criteria; lexical assertions are not semantic verdicts.
- Citations and Sources — Authorship statement, conceptual citations, and exclusions.
Files
8- SKILL.md
c589fe41b15.2 KB - assets/investment.schema.json
13a5dbcaa813.0 KB - evals/evals.json
a819cdca9b6.6 KB - references/citations-and-sources.md
de194e5f521.6 KB - references/examples.md
13476292445.7 KB - references/financial-contract.md
a96387a8c69.8 KB - references/semantic-rubrics.md
1cd894bd832.4 KB - scripts/evaluate-investment.mjs
e8e62ed52542.4 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from HoangNguyen0403/agent-skills-standard8
Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns; defer Compose state and ViewModel/StateFlow implementation to their spec
Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM and notification delivery to android-notifications.
Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation routing to android-navigation.
Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.
Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData architecture, Fragment lifecycle recipes, persistence/notifications, and unit-test reci
Configure release signing, R8 obfuscation, and App Bundle publishing for Android. Use when setting up signing configs, enabling minification, adding ProGuard keep rules, or preparing for Play Store submission.
Enforce Material Design 3 theming and design token usage in Jetpack Compose. Use when implementing M3 components, color schemes, typography, or design tokens.