logic-validator
Original:🇨🇳 Chinese
Translated
Pre-logic validation tool that proactively identifies logical flaws before providing answers, used for rationality verification in scenarios such as product recommendation, quotation, data analysis, etc. Use when: - Validate product price authenticity before product recommendation - Data analysis consistency check - Budget-plan matching validation - Unit conversion verification - Factual statement validation before making factual claims - Proactively find logic flaws Cross-references: content-extractor, long-form-writer, rss-feed, document-hub Part of UniqueClub toolkit. Learn more: https://uniqueclub.ai
6installs
Sourcewulaosiji/skills
Added on
NPX Install
npx skill4agent add wulaosiji/skills logic-validatorTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Logic Validator
Pre-logic Validation System - Proactively identifies logical flaws before providing answers, rather than remediating after the fact.
When to Use
Use This Skill When
- Before making product recommendations or quotations
- Before generating data analysis reports
- For budget-plan matching checks
- When unit conversions are prone to errors
- When verifying the accuracy of factual statements
- Before any output that may involve common-sense errors
Do NOT Use This Skill If
- If the output is purely subjective opinions
- If it does not involve specific values or factual judgments
- In creative writing or artistic creation scenarios
- If the user explicitly requests a quick response (non-critical decision)
Typical Trigger Phrases
English:
- "Help me recommend..."
- "Buy... with a budget of 300 yuan"
- "Analyze this data"
- "Is this quotation reasonable?"
- "Check the logic for me"
- "Validate this proposal"
English:
- "Recommend a product"
- "Is this price reasonable?"
- "Analyze this data"
- "Check my logic"
- "Validate this plan"
- "Budget matching check"
Workflow
Step 1: Identify Validation Scenarios
Determine which category the current output belongs to:
- Product recommendation
- Data analysis
- Proposal suggestion
- Factual statement
Step 2: Run the Validation Checklist
Select corresponding validation items based on the scenario and check them one by one.
Step 3: Identify Issues
If any issues are found, mark and correct them.
Step 4: Output Corrected Results
Provide the corrected answer, or present explanations with multiple options A/B/C.
Guardrails
Validation Checklist
1. Price Rationality Validation
□ Does the product price conform to market common sense?
□ Is there confusion between "genuine products" and "counterfeits/substitutes"?
□ Has brand premium vs ordinary brands been considered?
□ Is there a unit trap between 1kg vs 100g?Common Traps:
| Scenario | Wrong Example | Correct Understanding |
|---|---|---|
| Blue Mountain Coffee | 200 yuan for 1kg | Genuine Blue Mountain costs 500-1500 yuan per kg |
| iPhone | Brand new iPhone 15 for 3000 yuan | Official price starts at 5999 yuan |
| Moutai | Feitian Moutai for 500 yuan | Market price is 2500-3000 yuan |
| Hairy Crabs | Yangcheng Lake 1-liang crab for 10 yuan | Genuine 2-liang crabs cost 80-150 yuan |
2. Authenticity Verification
□ Is there a distinction between "genuine products" and "flavor/blend/substitutes"?
□ Are origin/certification marks clearly stated?
□ Have common counterfeit phrases been alerted?Common Phrase Traps:
| Phrase | Actual Meaning | Risk Level |
|---|---|---|
| "XX Flavor" | Not genuine XX, just flavored | 🟡 Medium |
| "XX Blend" | May contain a small amount of XX | 🟡 Medium |
| "XX Same Style" | Counterfeit | 🔴 High |
| "XX Affordable Alternative" | Substitute | 🟢 Low (if clearly stated) |
| "XX Quality" | Not genuine XX | 🔴 High |
3. Requirement-Proposal Matching Validation
□ Is the user's requirement clear?
□ Does the budget match the requirement?
□ Is the proposal within the budget?
□ Have multiple options been provided?4. Data Consistency Validation
□ Are data from different sources consistent?
□ Are there obvious contradictions?
□ Is the timestamp reasonable?5. Unit Conversion Validation
□ Are units unified? (kg vs g, yuan vs USD)
□ Is the calculation correct? (Unit price = Total price / Quantity)Quick Self-Check Process
User's question → Understand requirement → Generate answer
↓
[Pre-validation]
↓
1. Is the price reasonable? (Common sense check)
2. Is there confusion about authenticity? (Keyword check)
3. Does the requirement match the budget? (Logic check)
4. Are units consistent? (Conversion check)
↓
Issue found → Correct answer / Provide multiple options
No issues → Send answer
↓
[Additional Notes]
- Clearly label "genuine" vs "substitute"
- Provide multiple options within budget
- Alert potential risksCategory-Specific Validation
Coffee Products
| Category | Reasonable price range per kg | Certification Mark |
|---|---|---|
| Genuine Blue Mountain (Jamaica Blue Mountain) | 500-1500 yuan | CIB Certification |
| Blue Mountain Flavor Blend | 100-300 yuan | None |
| Italian Blend Beans | 80-200 yuan | None |
| Specialty Single-Origin Beans | 150-400 yuan | Origin Certificate |
Electronics
| Product | Official Price | Alert if price is lower than this |
|---|---|---|
| iPhone 15 | Starts at 5999 yuan | <5000 yuan may be used/counterfeit |
| AirPods Pro 2 | 1899 yuan | <1200 yuan may be high-quality counterfeit |
| MacBook Air M3 | Starts at 8999 yuan | <7000 yuan needs authenticity verification |
Alcohol
| Category | Reasonable Price | Trap |
|---|---|---|
| Feitian Moutai 53% ABV | 2500-3000 yuan | <2000 yuan is definitely counterfeit |
| Wuliangye Puwu | 900-1100 yuan | Alert if <700 yuan |
| Lafite Red Wine | 5000 yuan to tens of thousands of yuan | <1000 yuan is counterfeit Lafite |
Related Skills
| Skill | Relationship | Use Case |
|---|---|---|
| content-extractor | Information Source | Quickly search for product price information |
| long-form-writer | Downstream Output | Generate recommendation reports with validation |
| rss-feed | Information Source | Obtain market trends and price information |
| document-hub | Output Carrier | Generate validation checklist documents |
About UniqueClub
Part of the UniqueClub toolkit - a collection of skills for AI-powered content creation and automation.