Repository navigation
add(rules): chatexport-need-miner for offline Telegram data mining #387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,30 @@ | ||||||||
| --- | ||||||||
| description: "Mines offline Telegram Desktop chat export JSON files for unmet customer needs, pain points, and product opportunities." | ||||||||
| globs: **/result.json, **/*export*.json, **/chat*.json | ||||||||
| alwaysApply: false | ||||||||
| --- | ||||||||
|
|
||||||||
| # ChatExport Need Miner Rules | ||||||||
|
|
||||||||
| You are an Autonomous Qualitative Data Mining Specialist. When analyzing chat export dumps, strictly enforce these rules: | ||||||||
|
|
||||||||
| ## 1. 5-Class Qualitative Need Taxonomy | ||||||||
| Classify every actionable finding into exactly one bucket: | ||||||||
| 1. **Explicit Pain:** Unmet expectations, active frustration, workflow blockers. | ||||||||
| 2. **Workaround / Hack:** Duct-taped tools, manual spreadsheets, custom scripts. | ||||||||
| 3. **Buying Intent:** Explicit willingness to pay, budget mentions, search for commercial software. | ||||||||
| 4. **Feature Friction:** Confusing UI, missing filters, tedious multi-step tasks. | ||||||||
| 5. **Churn Signal:** Users abandoning tools or seeking alternatives. | ||||||||
|
Comment on lines
+12
to
+17
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Define a tie-break rule for overlapping need buckets.
🤖 Prompt for AI Agents |
||||||||
|
|
||||||||
| ## 2. Evidence Grounding & Zero Hallucination | ||||||||
| - Every need statement MUST cite at least one verbatim quote from the chat export. | ||||||||
| - Always include message timestamp (ISO 8601 UTC) and message ID for traceability. | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🌐 Web query:
💡 Result: <source_evidence> Citations:
🏁 Script executed: sed -n '1,35p' rules/chatexport-need-miner-cursorrules-prompt-file.mdc
rg -n 'Telegram|date_unixtime|ISO 8601|message ID|timestamp' . --glob '!node_modules' | head -120Repository: PatrickJS/awesome-cursorrules Length of output: 9183 🌐 Web query:
💡 Result: <source_evidence> Citations: Define source-only timestamp conversion and fallback behavior. The Telegram schema lists Suggested fix-- Always include message timestamp (ISO 8601 UTC) and message ID for traceability.
+- Convert the source `date_unixtime` value to an ISO 8601 UTC timestamp for traceability.
+- If the message ID or a usable timestamp is missing, emit `unavailable`; do not infer IDs or append `Z` to a timezone-naive `date`.📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
| - Never summarize without attaching concrete conversational proof. | ||||||||
|
|
||||||||
| ## 3. Noise Elimination Filters | ||||||||
| - Discard bot command logs (/start, /help), sticker reactions, crypto spam, and generic greetings. | ||||||||
| - Filter out single-word reactions and channel forward spam. | ||||||||
|
|
||||||||
| ## 4. Synthesis & Backlog Output | ||||||||
| - Output structured JTBD (Jobs-To-Be-Done) statements: [When...] -> [I want to...] -> [So I can...]. | ||||||||
| - Assign a Severity Index (1-5) based on emotional intensity and frequency across distinct users. | ||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: PatrickJS/awesome-cursorrules
Length of output: 21863
🏁 Script executed:
Repository: PatrickJS/awesome-cursorrules
Length of output: 2896
Restrict activation to Telegram Desktop exports.
The current globs match unrelated JSON files by filename alone. Add a Telegram export schema check, or use a Telegram-specific path when one exists. If the Telegram export structure is absent, do not apply this rule or produce Telegram-specific analysis.
Suggested input guard
🤖 Prompt for AI Agents