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
Added on

NPX Install

npx skill4agent add wulaosiji/skills logic-validator

SKILL.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:
ScenarioWrong ExampleCorrect Understanding
Blue Mountain Coffee200 yuan for 1kgGenuine Blue Mountain costs 500-1500 yuan per kg
iPhoneBrand new iPhone 15 for 3000 yuanOfficial price starts at 5999 yuan
MoutaiFeitian Moutai for 500 yuanMarket price is 2500-3000 yuan
Hairy CrabsYangcheng Lake 1-liang crab for 10 yuanGenuine 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:
PhraseActual MeaningRisk 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 risks

Category-Specific Validation

Coffee Products

CategoryReasonable price range per kgCertification Mark
Genuine Blue Mountain (Jamaica Blue Mountain)500-1500 yuanCIB Certification
Blue Mountain Flavor Blend100-300 yuanNone
Italian Blend Beans80-200 yuanNone
Specialty Single-Origin Beans150-400 yuanOrigin Certificate

Electronics

ProductOfficial PriceAlert if price is lower than this
iPhone 15Starts at 5999 yuan<5000 yuan may be used/counterfeit
AirPods Pro 21899 yuan<1200 yuan may be high-quality counterfeit
MacBook Air M3Starts at 8999 yuan<7000 yuan needs authenticity verification

Alcohol

CategoryReasonable PriceTrap
Feitian Moutai 53% ABV2500-3000 yuan<2000 yuan is definitely counterfeit
Wuliangye Puwu900-1100 yuanAlert if <700 yuan
Lafite Red Wine5000 yuan to tens of thousands of yuan<1000 yuan is counterfeit Lafite

Related Skills

SkillRelationshipUse Case
content-extractorInformation SourceQuickly search for product price information
long-form-writerDownstream OutputGenerate recommendation reports with validation
rss-feedInformation SourceObtain market trends and price information
document-hubOutput CarrierGenerate validation checklist documents

About UniqueClub

Part of the UniqueClub toolkit - a collection of skills for AI-powered content creation and automation.