problem-framing
Skill2 starsChanged 12 days agoMITView on GitHub
Problem Framing. Turn a business brief, PRD, dataset description or stakeholder question into a one-page ANALYSIS_MANIFEST.md before any modeling. Use when someone asks what to predict, how to measure success, which metric or baseline to use, the cost of errors, or how to scope a machine learning, data science, data mining, predictive modeling, forecasting, segmentation, churn, fraud, risk scoring or A/B testing project. CRISP-DM Business Understanding.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- taichuy/1flowbasetheir own version, first seen Oct 23, 2026
- hollandkevint/thinkhaven-method-kittheir own version, first seen Oct 20, 2026
- mariomile/builder-ostheir own version, first seen Oct 9, 2026
- Mozurok/fhorja.devtheir own version, first seen Oct 8, 2026
- jtsang4/efficient-codingtheir own version, first seen Sep 12, 2026
- Dyfree/problem-navigatortheir own version, first seen Sep 8, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- taichuy/1flowbase★ 292same name
- Mozurok/fhorja.dev★ 10same name
- CN-WenYu/skills★ 3same name
- gmanch94/claude-code-aidlc-template★ 2same name
- jtsang4/efficient-coding★ 2same name
- mariomile/builder-os★ 2same name
- tommy-ngn/skills★ 2same name
- Dyfree/problem-navigator★ 1same name
- hollandkevint/thinkhaven-method-kit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- ai-prediction-explainerSkill
- data-mining-machine-learningSkill
- data-miningSkill
- data-preparationSkill
- data-profilingSkill
- data-storytellingSkill
- feature-engineeringSkill
- hyperparameter-tuningSkill
- ml-quality-guardSkill
- ml-web-applicationSkill
- model-deploymentSkill
- model-evaluationSkill
- model-explainabilitySkill
- model-trainingSkill
- notebook-auditSkill
- statistical-analysisSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Ask the user only if the answer changes the architecture and cannot be assumed.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Problem Framing
Goal: one page that makes every later choice defensible. No data is touched until the manifest exists.
Steps
- Extract from the brief, in the stakeholder's words:
- Decision the output informs, who makes it, how often, and what happens today (the baseline process).
- Unit of prediction (customer per month, transaction, store per week) and prediction time (when the score must exist).
- Success metric tied to the decision, plus a guardrail metric.
- Cost of each error type. Fill a cost matrix even if rough: cost of a false positive, cost of a false negative, value of a true positive.
- Constraints: latency, interpretability, regulation, fairness, data residency, budget.
- Stakeholders and the audience for explanations.
- Data touchpoints: sources, grain, history length, label definition and label delay.
- Expected prevalence of the target if known.
- Classify the archetype (see
references/archetypes.md): churn, demand forecasting, fraud or anomaly detection, A/B analysis, segmentation, recommender, NLP classification, risk scoring. The archetype sets default split strategy, headline metric and traps. - Choose the baseline that the model must beat: current rule, majority class, last value, seasonal naive, or a logistic or linear regression.
- Pick the headline metric by cost (
model-evaluation/references/imbalance-and-metrics.md). Never accuracy alone on imbalanced targets. - Write
ANALYSIS_MANIFEST.mdfromreferences/manifest-template.md. Keep it to one page. Mark each assumption withAssumption:. - Plan phases with CRISP-ML(Q) rows: for each phase one risk, its assumption and a mitigation.
Questions that change the design
Ask the user only if the answer changes the architecture and cannot be assumed. Otherwise state the assumption in one line and continue.
- Is the decision made per entity in batch, or per request in real time?
- Is the label available at prediction time for past periods only (label delay)?
- Will a person act on each prediction (review queue capacity sets precision at k)?
- Are people affected by the decision (fairness analysis becomes mandatory)?
Exit criteria
- Decision, metric, cost matrix, baseline and prevalence written.
- Leakage-relevant timing written: prediction time and feature availability.
- Deliverables listed: notebooks, model bundle, API, web app, explainer, report.
- RIGOR gates that will be hard to meet are named now, not at the end.
Anti-patterns
- Starting with "which algorithm" before "which decision".
- A metric the business cannot act on (ROC-AUC for a review queue of 50 cases a day).
- A target defined with information from after the prediction time.
- Prevalence ignored, so the threshold defaults to 0.5.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

