bobo-ai-cli 3.0.3 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +259 -259
- package/bundled-skills/CORE_SKILLS.txt +18 -18
- package/bundled-skills/backend-expert/SKILL.md +97 -97
- package/bundled-skills/code-review/SKILL.md +280 -280
- package/bundled-skills/code-review-expert/SKILL.md +85 -85
- package/bundled-skills/context-budget-analyzer/SKILL.md +76 -76
- package/bundled-skills/context-compressor/SKILL.md +75 -75
- package/bundled-skills/context-optimization-suite/SKILL.md +162 -162
- package/bundled-skills/frontend-expert/SKILL.md +93 -93
- package/bundled-skills/github/SKILL.md +12 -12
- package/bundled-skills/high-agency/SKILL.md +473 -473
- package/bundled-skills/high-agency/references/builder-patterns.md +126 -126
- package/bundled-skills/high-agency/references/recovery-playbook.md +298 -298
- package/bundled-skills/memory-manager/SKILL.md +214 -214
- package/bundled-skills/memory-manager/references/advanced-config.md +65 -65
- package/bundled-skills/orchestrator/SKILL.md +681 -681
- package/bundled-skills/planning-with-files/SKILL.md +193 -193
- package/bundled-skills/skill-creator/SKILL.md +220 -220
- package/bundled-skills/testing-expert/SKILL.md +99 -99
- package/bundled-skills/verify/SKILL.md +15 -15
- package/dist/agent.d.ts +5 -0
- package/dist/agent.js +11 -1
- package/dist/agent.js.map +1 -1
- package/dist/agents/catalog.d.ts +47 -0
- package/dist/agents/catalog.js +63 -5
- package/dist/agents/catalog.js.map +1 -1
- package/dist/agents/router.d.ts +12 -1
- package/dist/agents/router.js +43 -3
- package/dist/agents/router.js.map +1 -1
- package/dist/agents/spawn.js +36 -18
- package/dist/agents/spawn.js.map +1 -1
- package/dist/autonomous.js +5 -5
- package/dist/cli.js +23 -21
- package/dist/cli.js.map +1 -1
- package/dist/compactor.js +39 -39
- package/dist/dream.js +29 -29
- package/dist/image-input.d.ts +44 -0
- package/dist/image-input.js +161 -0
- package/dist/image-input.js.map +1 -0
- package/dist/memory.js +13 -13
- package/dist/project.js +15 -15
- package/dist/repl.js +88 -0
- package/dist/repl.js.map +1 -1
- package/dist/skills.js +54 -54
- package/dist/sub-agents.js +65 -65
- package/dist/tools/browser.js +21 -21
- package/dist/tools/claude-code.js +10 -10
- package/dist/web.js +7 -7
- package/dist/wiki-commands.d.ts +2 -0
- package/dist/wiki-commands.js +249 -0
- package/dist/wiki-commands.js.map +1 -0
- package/dist/wiki.d.ts +90 -0
- package/dist/wiki.js +614 -0
- package/dist/wiki.js.map +1 -0
- package/knowledge/advanced-patterns.md +70 -70
- package/knowledge/agent-directives.md +74 -74
- package/knowledge/api-integration-patterns.md +102 -0
- package/knowledge/code-review-protocol.md +69 -0
- package/knowledge/dream.md +36 -36
- package/knowledge/engineering.md +52 -46
- package/knowledge/error-catalog.md +38 -33
- package/knowledge/event-driven-architecture.md +43 -0
- package/knowledge/external-alignment.md +47 -0
- package/knowledge/high-agency.md +73 -0
- package/knowledge/image-generation.md +48 -0
- package/knowledge/index.json +194 -169
- package/knowledge/llm-wiki-pattern.md +71 -0
- package/knowledge/long-task-management.md +79 -0
- package/knowledge/memory/cache-optimization-and-skill-integration.md +102 -102
- package/knowledge/memory/engineering-patterns.md +134 -134
- package/knowledge/memory/feedback_root_structure.md +15 -15
- package/knowledge/memory/project-contexts.md +69 -69
- package/knowledge/memory/tools-and-services.md +85 -85
- package/knowledge/memory-management.md +72 -0
- package/knowledge/rules/advisor-strategy.md +204 -0
- package/knowledge/rules/agents.md +62 -62
- package/knowledge/rules/blocking-rules.md +323 -323
- package/knowledge/rules/cache-management.md +379 -379
- package/knowledge/rules/capability-evolution.md +132 -132
- package/knowledge/rules/coding.md +126 -126
- package/knowledge/rules/engineering-workflows.md +225 -225
- package/knowledge/rules/evomap-content-guidelines.md +354 -354
- package/knowledge/rules/evomap-guide.md +224 -224
- package/knowledge/rules/external-alignment.md +22 -0
- package/knowledge/rules/git.md +31 -31
- package/knowledge/rules/hooks.md +106 -106
- package/knowledge/rules/performance.md +101 -101
- package/knowledge/rules/remotion-auto-production.md +1120 -1120
- package/knowledge/rules/security.md +46 -46
- package/knowledge/rules/testing.md +32 -32
- package/knowledge/rules/work-mode.md +208 -208
- package/knowledge/rules.md +62 -62
- package/knowledge/self-evolution.md +78 -0
- package/knowledge/self-rationalization-guard.md +52 -0
- package/knowledge/skills/Skill_Seekers.md +1722 -1722
- package/knowledge/skills/ab-test-setup.md +557 -557
- package/knowledge/skills/agent-sdk-dev.md +238 -238
- package/knowledge/skills/agent-tools.md +136 -136
- package/knowledge/skills/analytics-tracking.md +597 -597
- package/knowledge/skills/artifacts-builder.md +89 -89
- package/knowledge/skills/asana.md +12 -12
- package/knowledge/skills/backend-expert.md +97 -97
- package/knowledge/skills/brand-voice.md +481 -481
- package/knowledge/skills/browser-use.md +419 -419
- package/knowledge/skills/cache-optimization-skill.md +179 -179
- package/knowledge/skills/canvas-design.md +147 -147
- package/knowledge/skills/citation-validator.md +203 -203
- package/knowledge/skills/clangd-lsp.md +52 -52
- package/knowledge/skills/code-review-expert.md +85 -85
- package/knowledge/skills/code-review.md +280 -280
- package/knowledge/skills/code-simplifier.md +12 -12
- package/knowledge/skills/commit-commands.md +258 -258
- package/knowledge/skills/competitor-alternatives.md +795 -795
- package/knowledge/skills/content-atomizer.md +910 -910
- package/knowledge/skills/content-research-writer.md +605 -605
- package/knowledge/skills/context-optimization-suite.md +162 -162
- package/knowledge/skills/context7.md +12 -12
- package/knowledge/skills/copy-editing.md +494 -494
- package/knowledge/skills/copywriting.md +510 -510
- package/knowledge/skills/csharp-lsp.md +40 -40
- package/knowledge/skills/decision-making-framework.md +154 -154
- package/knowledge/skills/developer-growth-analysis.md +335 -335
- package/knowledge/skills/direct-response-copy.md +2336 -2336
- package/knowledge/skills/docker-expert.md +229 -229
- package/knowledge/skills/document-skills.md +12 -12
- package/knowledge/skills/documentation-expert.md +126 -126
- package/knowledge/skills/email-sequence.md +1061 -1061
- package/knowledge/skills/email-sequences.md +910 -910
- package/knowledge/skills/example-plugin.md +72 -72
- package/knowledge/skills/explanatory-output-style.md +82 -82
- package/knowledge/skills/feature-dev.md +458 -458
- package/knowledge/skills/file-organizer.md +466 -466
- package/knowledge/skills/firebase.disabled.md +12 -12
- package/knowledge/skills/form-cro.md +488 -488
- package/knowledge/skills/free-tool-strategy.md +636 -636
- package/knowledge/skills/frontend-design-offical.md +55 -55
- package/knowledge/skills/frontend-design.md +41 -41
- package/knowledge/skills/frontend-expert.md +93 -93
- package/knowledge/skills/github.md +12 -12
- package/knowledge/skills/gitlab.md +12 -12
- package/knowledge/skills/gopls-lsp.md +32 -32
- package/knowledge/skills/got-controller.md +218 -218
- package/knowledge/skills/greptile.md +72 -72
- package/knowledge/skills/hookify.md +376 -376
- package/knowledge/skills/image-editor.md +189 -189
- package/knowledge/skills/image-enhancer.md +109 -109
- package/knowledge/skills/jdtls-lsp.md +49 -49
- package/knowledge/skills/json-canvas.md +654 -654
- package/knowledge/skills/keyword-research.md +559 -559
- package/knowledge/skills/kotlin-lsp.md +28 -28
- package/knowledge/skills/laravel-boost.md +12 -12
- package/knowledge/skills/launch-strategy.md +394 -394
- package/knowledge/skills/lead-magnet.md +393 -393
- package/knowledge/skills/learning-output-style.md +106 -106
- package/knowledge/skills/linear.md +12 -12
- package/knowledge/skills/lua-lsp.md +47 -47
- package/knowledge/skills/marketing-ideas.md +720 -720
- package/knowledge/skills/marketing-psychology.md +534 -534
- package/knowledge/skills/mcp-builder.md +369 -369
- package/knowledge/skills/meeting-insights-analyzer.md +347 -347
- package/knowledge/skills/memory-evolution-system.md +172 -172
- package/knowledge/skills/multi-lens-thinking.md +407 -407
- package/knowledge/skills/nano-banana-pro.md +116 -116
- package/knowledge/skills/newsletter.md +736 -736
- package/knowledge/skills/notebooklm.md +296 -296
- package/knowledge/skills/obsidian-bases.md +634 -634
- package/knowledge/skills/obsidian-markdown.md +651 -651
- package/knowledge/skills/onboarding-cro.md +494 -494
- package/knowledge/skills/orchestrator.md +681 -681
- package/knowledge/skills/page-cro.md +379 -379
- package/knowledge/skills/paid-ads.md +624 -624
- package/knowledge/skills/paywall-upgrade-cro.md +651 -651
- package/knowledge/skills/php-lsp.md +36 -36
- package/knowledge/skills/planning-with-files.md +193 -193
- package/knowledge/skills/playwright.md +12 -12
- package/knowledge/skills/plugin-dev.md +434 -434
- package/knowledge/skills/popup-cro.md +520 -520
- package/knowledge/skills/positioning-angles.md +330 -330
- package/knowledge/skills/pr-review-toolkit.md +359 -359
- package/knowledge/skills/pricing-strategy.md +777 -777
- package/knowledge/skills/programmatic-seo.md +714 -714
- package/knowledge/skills/pyright-lsp.md +43 -43
- package/knowledge/skills/quality-assurance-framework.md +168 -168
- package/knowledge/skills/question-refiner.md +160 -160
- package/knowledge/skills/ralph-loop.md +205 -205
- package/knowledge/skills/refactoring-expert.md +103 -103
- package/knowledge/skills/referral-program.md +668 -668
- package/knowledge/skills/research-executor.md +164 -164
- package/knowledge/skills/review-with-security.md +12 -12
- package/knowledge/skills/rust-analyzer-lsp.md +50 -50
- package/knowledge/skills/schema-markup.md +647 -647
- package/knowledge/skills/security-audit-expert.md +124 -124
- package/knowledge/skills/security-expert.md +140 -140
- package/knowledge/skills/security-guidance.md +12 -12
- package/knowledge/skills/seedance-prompt.md +139 -139
- package/knowledge/skills/self-evolution.md +1160 -1160
- package/knowledge/skills/seo-audit.md +432 -432
- package/knowledge/skills/seo-content.md +787 -787
- package/knowledge/skills/serena.md +12 -12
- package/knowledge/skills/signup-flow-cro.md +409 -409
- package/knowledge/skills/skill-creator.md +220 -220
- package/knowledge/skills/skill-manager.md +226 -226
- package/knowledge/skills/skill-share.md +98 -98
- package/knowledge/skills/slack.md +12 -12
- package/knowledge/skills/social-content.md +878 -878
- package/knowledge/skills/spec-flow-skill.md +124 -124
- package/knowledge/skills/stripe.md +12 -12
- package/knowledge/skills/supabase.md +12 -12
- package/knowledge/skills/swift-lsp.md +40 -40
- package/knowledge/skills/synthesizer.md +236 -236
- package/knowledge/skills/template-skill.md +16 -16
- package/knowledge/skills/testing-expert.md +99 -99
- package/knowledge/skills/theme-factory.md +72 -72
- package/knowledge/skills/tiktok-research.md +208 -208
- package/knowledge/skills/typescript-lsp.md +36 -36
- package/knowledge/skills/ui-ux-pro-max.md +247 -247
- package/knowledge/skills/verify.md +15 -15
- package/knowledge/skills/visual-prompt-engineer.md +102 -102
- package/knowledge/skills/webapp-testing.md +111 -111
- package/knowledge/skills/wide-research.md +191 -191
- package/knowledge/system.md +93 -93
- package/knowledge/task-router.md +46 -37
- package/knowledge/verification.md +38 -38
- package/knowledge/worker-prompt-craft.md +66 -0
- package/knowledge/workflows/3d-viz.md +47 -47
- package/knowledge/workflows/data-pipeline.md +47 -47
- package/knowledge/workflows/db-migration.md +51 -51
- package/knowledge/workflows/feature-dev.md +41 -41
- package/knowledge/workflows/tdd-flow.md +52 -52
- package/knowledge/workflows/ui-verify.md +51 -51
- package/package.json +74 -74
- package/dist/claude-bridge.d.ts +0 -18
- package/dist/claude-bridge.js +0 -91
- package/dist/claude-bridge.js.map +0 -1
- package/dist/tools/claude-bridge-tool.d.ts +0 -4
- package/dist/tools/claude-bridge-tool.js +0 -44
- package/dist/tools/claude-bridge-tool.js.map +0 -1
|
@@ -1,203 +1,203 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: "citation-validator"
|
|
3
|
-
title: "Citation Validator"
|
|
4
|
-
category: "research"
|
|
5
|
-
tags: ["citation validator", "role", "core responsibilities", "source quality rating system", "validation process", "output format", "citation validation report", "executive summary", "detailed findings", "recommendations"]
|
|
6
|
-
triggers: []
|
|
7
|
-
dependencies: []
|
|
8
|
-
source: "E:/Bobo's Coding cache/.claude/skills/citation-validator"
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
name: citation-validator
|
|
13
|
-
description: 验证研究报告中所有声明的引用准确性、来源质量和格式规范性。确保每个事实性声明都有可验证的来源,并提供来源质量评级。当最终确定研究报告、审查他人研究、发布或分享研究之前使用此技能。
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
# Citation Validator
|
|
17
|
-
|
|
18
|
-
## Role
|
|
19
|
-
|
|
20
|
-
You are a **Citation Validator** responsible for ensuring research integrity by verifying that every factual claim in a research report has accurate, complete, and high-quality citations.
|
|
21
|
-
|
|
22
|
-
## Core Responsibilities
|
|
23
|
-
|
|
24
|
-
1. **Verify Citation Presence**: Every factual claim must have a citation
|
|
25
|
-
2. **Validate Citation Completeness**: Each citation must have all required elements
|
|
26
|
-
3. **Assess Source Quality**: Rate each source using the A-E quality scale
|
|
27
|
-
4. **Check Citation Accuracy**: Verify citations actually support the claims
|
|
28
|
-
5. **Detect Hallucinations**: Identify claims with no supporting sources
|
|
29
|
-
6. **Format Consistency**: Ensure uniform citation format throughout
|
|
30
|
-
|
|
31
|
-
## Citation Completeness Requirements
|
|
32
|
-
|
|
33
|
-
### Every Citation Must Include:
|
|
34
|
-
|
|
35
|
-
1. **Author/Organization** - Who created the content
|
|
36
|
-
2. **Publication Date** - When it was published (YYYY format)
|
|
37
|
-
3. **Source Title** - Name of the work
|
|
38
|
-
4. **URL/DOI** - Direct link to verify
|
|
39
|
-
5. **Page Numbers** (if applicable) - For PDFs and long documents
|
|
40
|
-
|
|
41
|
-
### Acceptable Citation Formats:
|
|
42
|
-
|
|
43
|
-
**Academic Papers**:
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
(Smith et al., 2023, p. 145)
|
|
47
|
-
Full: Smith, J., Johnson, K., & Lee, M. (2023). "Title of Paper." Journal Name, 45(3), 140-156. https://doi.org/10.xxxx/xxxxx
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
**Industry Reports**:
|
|
51
|
-
|
|
52
|
-
```
|
|
53
|
-
(Gartner, 2024, "Cloud Computing Forecast")
|
|
54
|
-
Full: Gartner. (2024). "Cloud Computing Market Forecast, 2024." Retrieved [date] from https://www.gartner.com/en/research/xxxxx
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## Source Quality Rating System
|
|
58
|
-
|
|
59
|
-
- **A - Excellent**: Peer-reviewed journals with impact factor, meta-analyses, RCTs, government regulatory bodies
|
|
60
|
-
- **B - Good**: Cohort studies, clinical guidelines, reputable analysts (Gartner, Forrester), government websites
|
|
61
|
-
- **C - Acceptable**: Expert opinion pieces, case reports, company white papers, reputable news outlets
|
|
62
|
-
- **D - Weak**: Preprints, conference abstracts, blog posts without editorial oversight, crowdsourced content
|
|
63
|
-
- **E - Very Poor**: Anonymous content, clear bias/conflict of interest, outdated sources, broken/suspicious links
|
|
64
|
-
|
|
65
|
-
## Validation Process
|
|
66
|
-
|
|
67
|
-
### Step 1: Claim Detection
|
|
68
|
-
|
|
69
|
-
Scan the research content and identify all factual claims:
|
|
70
|
-
|
|
71
|
-
- Statistics and numbers
|
|
72
|
-
- Dates and timelines
|
|
73
|
-
- Technical specifications
|
|
74
|
-
- Market data (sizes, growth rates)
|
|
75
|
-
- Performance claims
|
|
76
|
-
- Quotes and paraphrases
|
|
77
|
-
- Cause-effect statements
|
|
78
|
-
|
|
79
|
-
### Step 2: Citation Presence Check
|
|
80
|
-
|
|
81
|
-
For each factual claim, verify a citation exists.
|
|
82
|
-
|
|
83
|
-
### Step 3: Citation Completeness Check
|
|
84
|
-
|
|
85
|
-
Verify all required elements (author, date, title, URL/DOI, pages) are present.
|
|
86
|
-
|
|
87
|
-
### Step 4: Source Quality Assessment
|
|
88
|
-
|
|
89
|
-
Assign quality rating (A-E) to each complete citation.
|
|
90
|
-
|
|
91
|
-
### Step 5: Citation Accuracy Verification
|
|
92
|
-
|
|
93
|
-
Use WebSearch or WebFetch to find and verify the original source.
|
|
94
|
-
|
|
95
|
-
### Step 6: Hallucination Detection
|
|
96
|
-
|
|
97
|
-
**Red Flags**:
|
|
98
|
-
|
|
99
|
-
1. No citation provided for factual claim
|
|
100
|
-
2. Citation doesn't exist (URL leads nowhere)
|
|
101
|
-
3. Citation exists but doesn't support claim
|
|
102
|
-
4. Numbers suspiciously precise without source
|
|
103
|
-
5. Generic source ("Industry reports") without specifics
|
|
104
|
-
|
|
105
|
-
### Step 7: Chain-of-Verification for Critical Claims
|
|
106
|
-
|
|
107
|
-
For high-stakes claims (medical, legal, financial):
|
|
108
|
-
|
|
109
|
-
1. Find 2-3 independent sources supporting the claim
|
|
110
|
-
2. Check for consensus among sources
|
|
111
|
-
3. Identify any contradictions
|
|
112
|
-
4. Assess source quality (prefer A-B ratings)
|
|
113
|
-
5. Note uncertainty if sources disagree
|
|
114
|
-
|
|
115
|
-
## Output Format
|
|
116
|
-
|
|
117
|
-
```markdown
|
|
118
|
-
# Citation Validation Report
|
|
119
|
-
|
|
120
|
-
## Executive Summary
|
|
121
|
-
|
|
122
|
-
- **Total Claims Analyzed**: [number]
|
|
123
|
-
- **Claims with Citations**: [number] ([percentage]%)
|
|
124
|
-
- **Complete Citations**: [number] ([percentage]%)
|
|
125
|
-
- **Accurate Citations**: [number] ([percentage]%)
|
|
126
|
-
- **Potential Hallucinations**: [number]
|
|
127
|
-
- **Overall Quality Score**: [score]/10
|
|
128
|
-
|
|
129
|
-
## Critical Issues (Immediate Action Required)
|
|
130
|
-
|
|
131
|
-
[List any hallucinations or serious accuracy issues]
|
|
132
|
-
|
|
133
|
-
## Detailed Findings
|
|
134
|
-
|
|
135
|
-
[Line-by-line or claim-by-claim analysis]
|
|
136
|
-
|
|
137
|
-
## Recommendations
|
|
138
|
-
|
|
139
|
-
[Prioritized list of fixes]
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
## Tool Usage
|
|
143
|
-
|
|
144
|
-
### WebSearch (for verification)
|
|
145
|
-
|
|
146
|
-
Search for claims to verify: exact claim in quotes, keywords, author names, source titles
|
|
147
|
-
|
|
148
|
-
### WebFetch (for source access)
|
|
149
|
-
|
|
150
|
-
Access sources to confirm figures, dates, context, and find DOI/URL
|
|
151
|
-
|
|
152
|
-
### Read/Write (for documentation)
|
|
153
|
-
|
|
154
|
-
Save validation reports to `sources/citation_validation_report.md`
|
|
155
|
-
|
|
156
|
-
## Special Considerations
|
|
157
|
-
|
|
158
|
-
### Medical/Health Information
|
|
159
|
-
|
|
160
|
-
- Require peer-reviewed sources (A-B ratings)
|
|
161
|
-
- Verify PubMed IDs (PMID)
|
|
162
|
-
- Distinguish between "proven" vs "preliminary"
|
|
163
|
-
|
|
164
|
-
### Legal/Regulatory Information
|
|
165
|
-
|
|
166
|
-
- Cite primary legal documents
|
|
167
|
-
- Include docket numbers for regulations
|
|
168
|
-
- Note jurisdictional scope
|
|
169
|
-
|
|
170
|
-
### Market/Financial Data
|
|
171
|
-
|
|
172
|
-
- Use primary sources (SEC filings, company reports)
|
|
173
|
-
- Note reporting periods
|
|
174
|
-
- Distinguish GAAP vs non-GAAP
|
|
175
|
-
|
|
176
|
-
## Quality Score Calculation
|
|
177
|
-
|
|
178
|
-
**Score Interpretation**:
|
|
179
|
-
|
|
180
|
-
- **9-10**: Excellent - Professional research quality
|
|
181
|
-
- **7-8**: Good - Acceptable for most purposes
|
|
182
|
-
- **5-6**: Fair - Needs improvement
|
|
183
|
-
- **3-4**: Poor - Significant issues
|
|
184
|
-
- **0-2**: Very Poor - Not credible
|
|
185
|
-
|
|
186
|
-
## Success Criteria
|
|
187
|
-
|
|
188
|
-
- [ ] 100% of factual claims have citations
|
|
189
|
-
- [ ] 100% of citations are complete
|
|
190
|
-
- [ ] 95%+ of citations are accurate
|
|
191
|
-
- [ ] No unexplained hallucinations
|
|
192
|
-
- [ ] Average source quality ≥ B
|
|
193
|
-
- [ ] Overall quality score ≥ 8/10
|
|
194
|
-
|
|
195
|
-
## Examples
|
|
196
|
-
|
|
197
|
-
See [examples.md](examples.md) for detailed usage examples.
|
|
198
|
-
|
|
199
|
-
## Remember
|
|
200
|
-
|
|
201
|
-
You are the **Citation Validator** - the last line of defense against misinformation and hallucinations. Your vigilance ensures research integrity and credibility.
|
|
202
|
-
|
|
203
|
-
**Never compromise on citation quality. A well-sourced claim is worth infinitely more than an unsupported assertion.**
|
|
1
|
+
---
|
|
2
|
+
id: "citation-validator"
|
|
3
|
+
title: "Citation Validator"
|
|
4
|
+
category: "research"
|
|
5
|
+
tags: ["citation validator", "role", "core responsibilities", "source quality rating system", "validation process", "output format", "citation validation report", "executive summary", "detailed findings", "recommendations"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/citation-validator"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
name: citation-validator
|
|
13
|
+
description: 验证研究报告中所有声明的引用准确性、来源质量和格式规范性。确保每个事实性声明都有可验证的来源,并提供来源质量评级。当最终确定研究报告、审查他人研究、发布或分享研究之前使用此技能。
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Citation Validator
|
|
17
|
+
|
|
18
|
+
## Role
|
|
19
|
+
|
|
20
|
+
You are a **Citation Validator** responsible for ensuring research integrity by verifying that every factual claim in a research report has accurate, complete, and high-quality citations.
|
|
21
|
+
|
|
22
|
+
## Core Responsibilities
|
|
23
|
+
|
|
24
|
+
1. **Verify Citation Presence**: Every factual claim must have a citation
|
|
25
|
+
2. **Validate Citation Completeness**: Each citation must have all required elements
|
|
26
|
+
3. **Assess Source Quality**: Rate each source using the A-E quality scale
|
|
27
|
+
4. **Check Citation Accuracy**: Verify citations actually support the claims
|
|
28
|
+
5. **Detect Hallucinations**: Identify claims with no supporting sources
|
|
29
|
+
6. **Format Consistency**: Ensure uniform citation format throughout
|
|
30
|
+
|
|
31
|
+
## Citation Completeness Requirements
|
|
32
|
+
|
|
33
|
+
### Every Citation Must Include:
|
|
34
|
+
|
|
35
|
+
1. **Author/Organization** - Who created the content
|
|
36
|
+
2. **Publication Date** - When it was published (YYYY format)
|
|
37
|
+
3. **Source Title** - Name of the work
|
|
38
|
+
4. **URL/DOI** - Direct link to verify
|
|
39
|
+
5. **Page Numbers** (if applicable) - For PDFs and long documents
|
|
40
|
+
|
|
41
|
+
### Acceptable Citation Formats:
|
|
42
|
+
|
|
43
|
+
**Academic Papers**:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
(Smith et al., 2023, p. 145)
|
|
47
|
+
Full: Smith, J., Johnson, K., & Lee, M. (2023). "Title of Paper." Journal Name, 45(3), 140-156. https://doi.org/10.xxxx/xxxxx
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Industry Reports**:
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
(Gartner, 2024, "Cloud Computing Forecast")
|
|
54
|
+
Full: Gartner. (2024). "Cloud Computing Market Forecast, 2024." Retrieved [date] from https://www.gartner.com/en/research/xxxxx
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Source Quality Rating System
|
|
58
|
+
|
|
59
|
+
- **A - Excellent**: Peer-reviewed journals with impact factor, meta-analyses, RCTs, government regulatory bodies
|
|
60
|
+
- **B - Good**: Cohort studies, clinical guidelines, reputable analysts (Gartner, Forrester), government websites
|
|
61
|
+
- **C - Acceptable**: Expert opinion pieces, case reports, company white papers, reputable news outlets
|
|
62
|
+
- **D - Weak**: Preprints, conference abstracts, blog posts without editorial oversight, crowdsourced content
|
|
63
|
+
- **E - Very Poor**: Anonymous content, clear bias/conflict of interest, outdated sources, broken/suspicious links
|
|
64
|
+
|
|
65
|
+
## Validation Process
|
|
66
|
+
|
|
67
|
+
### Step 1: Claim Detection
|
|
68
|
+
|
|
69
|
+
Scan the research content and identify all factual claims:
|
|
70
|
+
|
|
71
|
+
- Statistics and numbers
|
|
72
|
+
- Dates and timelines
|
|
73
|
+
- Technical specifications
|
|
74
|
+
- Market data (sizes, growth rates)
|
|
75
|
+
- Performance claims
|
|
76
|
+
- Quotes and paraphrases
|
|
77
|
+
- Cause-effect statements
|
|
78
|
+
|
|
79
|
+
### Step 2: Citation Presence Check
|
|
80
|
+
|
|
81
|
+
For each factual claim, verify a citation exists.
|
|
82
|
+
|
|
83
|
+
### Step 3: Citation Completeness Check
|
|
84
|
+
|
|
85
|
+
Verify all required elements (author, date, title, URL/DOI, pages) are present.
|
|
86
|
+
|
|
87
|
+
### Step 4: Source Quality Assessment
|
|
88
|
+
|
|
89
|
+
Assign quality rating (A-E) to each complete citation.
|
|
90
|
+
|
|
91
|
+
### Step 5: Citation Accuracy Verification
|
|
92
|
+
|
|
93
|
+
Use WebSearch or WebFetch to find and verify the original source.
|
|
94
|
+
|
|
95
|
+
### Step 6: Hallucination Detection
|
|
96
|
+
|
|
97
|
+
**Red Flags**:
|
|
98
|
+
|
|
99
|
+
1. No citation provided for factual claim
|
|
100
|
+
2. Citation doesn't exist (URL leads nowhere)
|
|
101
|
+
3. Citation exists but doesn't support claim
|
|
102
|
+
4. Numbers suspiciously precise without source
|
|
103
|
+
5. Generic source ("Industry reports") without specifics
|
|
104
|
+
|
|
105
|
+
### Step 7: Chain-of-Verification for Critical Claims
|
|
106
|
+
|
|
107
|
+
For high-stakes claims (medical, legal, financial):
|
|
108
|
+
|
|
109
|
+
1. Find 2-3 independent sources supporting the claim
|
|
110
|
+
2. Check for consensus among sources
|
|
111
|
+
3. Identify any contradictions
|
|
112
|
+
4. Assess source quality (prefer A-B ratings)
|
|
113
|
+
5. Note uncertainty if sources disagree
|
|
114
|
+
|
|
115
|
+
## Output Format
|
|
116
|
+
|
|
117
|
+
```markdown
|
|
118
|
+
# Citation Validation Report
|
|
119
|
+
|
|
120
|
+
## Executive Summary
|
|
121
|
+
|
|
122
|
+
- **Total Claims Analyzed**: [number]
|
|
123
|
+
- **Claims with Citations**: [number] ([percentage]%)
|
|
124
|
+
- **Complete Citations**: [number] ([percentage]%)
|
|
125
|
+
- **Accurate Citations**: [number] ([percentage]%)
|
|
126
|
+
- **Potential Hallucinations**: [number]
|
|
127
|
+
- **Overall Quality Score**: [score]/10
|
|
128
|
+
|
|
129
|
+
## Critical Issues (Immediate Action Required)
|
|
130
|
+
|
|
131
|
+
[List any hallucinations or serious accuracy issues]
|
|
132
|
+
|
|
133
|
+
## Detailed Findings
|
|
134
|
+
|
|
135
|
+
[Line-by-line or claim-by-claim analysis]
|
|
136
|
+
|
|
137
|
+
## Recommendations
|
|
138
|
+
|
|
139
|
+
[Prioritized list of fixes]
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Tool Usage
|
|
143
|
+
|
|
144
|
+
### WebSearch (for verification)
|
|
145
|
+
|
|
146
|
+
Search for claims to verify: exact claim in quotes, keywords, author names, source titles
|
|
147
|
+
|
|
148
|
+
### WebFetch (for source access)
|
|
149
|
+
|
|
150
|
+
Access sources to confirm figures, dates, context, and find DOI/URL
|
|
151
|
+
|
|
152
|
+
### Read/Write (for documentation)
|
|
153
|
+
|
|
154
|
+
Save validation reports to `sources/citation_validation_report.md`
|
|
155
|
+
|
|
156
|
+
## Special Considerations
|
|
157
|
+
|
|
158
|
+
### Medical/Health Information
|
|
159
|
+
|
|
160
|
+
- Require peer-reviewed sources (A-B ratings)
|
|
161
|
+
- Verify PubMed IDs (PMID)
|
|
162
|
+
- Distinguish between "proven" vs "preliminary"
|
|
163
|
+
|
|
164
|
+
### Legal/Regulatory Information
|
|
165
|
+
|
|
166
|
+
- Cite primary legal documents
|
|
167
|
+
- Include docket numbers for regulations
|
|
168
|
+
- Note jurisdictional scope
|
|
169
|
+
|
|
170
|
+
### Market/Financial Data
|
|
171
|
+
|
|
172
|
+
- Use primary sources (SEC filings, company reports)
|
|
173
|
+
- Note reporting periods
|
|
174
|
+
- Distinguish GAAP vs non-GAAP
|
|
175
|
+
|
|
176
|
+
## Quality Score Calculation
|
|
177
|
+
|
|
178
|
+
**Score Interpretation**:
|
|
179
|
+
|
|
180
|
+
- **9-10**: Excellent - Professional research quality
|
|
181
|
+
- **7-8**: Good - Acceptable for most purposes
|
|
182
|
+
- **5-6**: Fair - Needs improvement
|
|
183
|
+
- **3-4**: Poor - Significant issues
|
|
184
|
+
- **0-2**: Very Poor - Not credible
|
|
185
|
+
|
|
186
|
+
## Success Criteria
|
|
187
|
+
|
|
188
|
+
- [ ] 100% of factual claims have citations
|
|
189
|
+
- [ ] 100% of citations are complete
|
|
190
|
+
- [ ] 95%+ of citations are accurate
|
|
191
|
+
- [ ] No unexplained hallucinations
|
|
192
|
+
- [ ] Average source quality ≥ B
|
|
193
|
+
- [ ] Overall quality score ≥ 8/10
|
|
194
|
+
|
|
195
|
+
## Examples
|
|
196
|
+
|
|
197
|
+
See [examples.md](examples.md) for detailed usage examples.
|
|
198
|
+
|
|
199
|
+
## Remember
|
|
200
|
+
|
|
201
|
+
You are the **Citation Validator** - the last line of defense against misinformation and hallucinations. Your vigilance ensures research integrity and credibility.
|
|
202
|
+
|
|
203
|
+
**Never compromise on citation quality. A well-sourced claim is worth infinitely more than an unsupported assertion.**
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: "clangd-lsp"
|
|
3
|
-
title: "clangd-lsp"
|
|
4
|
-
category: "other"
|
|
5
|
-
tags: ["clangd-lsp", "supported extensions", "installation", "ubuntu/debian", "fedora", "arch linux", "more information"]
|
|
6
|
-
triggers: []
|
|
7
|
-
dependencies: []
|
|
8
|
-
source: "E:/Bobo's Coding cache/.claude/skills/clangd-lsp"
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# clangd-lsp
|
|
12
|
-
|
|
13
|
-
C/C++ language server (clangd) for Claude Code, providing code intelligence, diagnostics, and formatting.
|
|
14
|
-
|
|
15
|
-
## Supported Extensions
|
|
16
|
-
|
|
17
|
-
`.c`, `.h`, `.cpp`, `.cc`, `.cxx`, `.hpp`, `.hxx`, `.C`, `.H`
|
|
18
|
-
|
|
19
|
-
## Installation
|
|
20
|
-
|
|
21
|
-
### Via Homebrew (macOS)
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
brew install llvm
|
|
25
|
-
# Add to PATH: export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
### Via package manager (Linux)
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
# Ubuntu/Debian
|
|
32
|
-
sudo apt install clangd
|
|
33
|
-
|
|
34
|
-
# Fedora
|
|
35
|
-
sudo dnf install clang-tools-extra
|
|
36
|
-
|
|
37
|
-
# Arch Linux
|
|
38
|
-
sudo pacman -S clang
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Windows
|
|
42
|
-
|
|
43
|
-
Download from [LLVM releases](https://github.com/llvm/llvm-project/releases) or install via:
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
winget install LLVM.LLVM
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
## More Information
|
|
50
|
-
|
|
51
|
-
- [clangd Website](https://clangd.llvm.org/)
|
|
52
|
-
- [Getting Started Guide](https://clangd.llvm.org/installation)
|
|
1
|
+
---
|
|
2
|
+
id: "clangd-lsp"
|
|
3
|
+
title: "clangd-lsp"
|
|
4
|
+
category: "other"
|
|
5
|
+
tags: ["clangd-lsp", "supported extensions", "installation", "ubuntu/debian", "fedora", "arch linux", "more information"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/clangd-lsp"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# clangd-lsp
|
|
12
|
+
|
|
13
|
+
C/C++ language server (clangd) for Claude Code, providing code intelligence, diagnostics, and formatting.
|
|
14
|
+
|
|
15
|
+
## Supported Extensions
|
|
16
|
+
|
|
17
|
+
`.c`, `.h`, `.cpp`, `.cc`, `.cxx`, `.hpp`, `.hxx`, `.C`, `.H`
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
### Via Homebrew (macOS)
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
brew install llvm
|
|
25
|
+
# Add to PATH: export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Via package manager (Linux)
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# Ubuntu/Debian
|
|
32
|
+
sudo apt install clangd
|
|
33
|
+
|
|
34
|
+
# Fedora
|
|
35
|
+
sudo dnf install clang-tools-extra
|
|
36
|
+
|
|
37
|
+
# Arch Linux
|
|
38
|
+
sudo pacman -S clang
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Windows
|
|
42
|
+
|
|
43
|
+
Download from [LLVM releases](https://github.com/llvm/llvm-project/releases) or install via:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
winget install LLVM.LLVM
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## More Information
|
|
50
|
+
|
|
51
|
+
- [clangd Website](https://clangd.llvm.org/)
|
|
52
|
+
- [Getting Started Guide](https://clangd.llvm.org/installation)
|
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: "code-review-expert"
|
|
3
|
-
title: "Code Review Expert"
|
|
4
|
-
category: "dev-tools"
|
|
5
|
-
tags: ["code review expert", "review focus areas", "review output format", "summary", "critical issues 🔴", "warnings ⚠️", "suggestions 💡", "positive aspects ✅", "guidelines"]
|
|
6
|
-
triggers: []
|
|
7
|
-
dependencies: []
|
|
8
|
-
source: "E:/Bobo's Coding cache/.claude/skills/code-review-expert"
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
name: code-review-expert
|
|
13
|
-
description: Comprehensive code review skill that analyzes code quality, identifies issues, and suggests improvements
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
# Code Review Expert
|
|
17
|
-
|
|
18
|
-
You are an expert code reviewer with deep knowledge of software engineering best practices, design patterns, and clean code principles.
|
|
19
|
-
|
|
20
|
-
## Review Focus Areas
|
|
21
|
-
|
|
22
|
-
When reviewing code, analyze the following aspects:
|
|
23
|
-
|
|
24
|
-
### 1. Code Quality
|
|
25
|
-
|
|
26
|
-
- Readability and clarity
|
|
27
|
-
- Naming conventions (variables, functions, classes)
|
|
28
|
-
- Code organization and structure
|
|
29
|
-
- Comments and documentation
|
|
30
|
-
|
|
31
|
-
### 2. Logic and Correctness
|
|
32
|
-
|
|
33
|
-
- Algorithm correctness
|
|
34
|
-
- Edge case handling
|
|
35
|
-
- Error handling and validation
|
|
36
|
-
- Null/undefined safety
|
|
37
|
-
|
|
38
|
-
### 3. Performance
|
|
39
|
-
|
|
40
|
-
- Time complexity
|
|
41
|
-
- Space complexity
|
|
42
|
-
- Unnecessary computations
|
|
43
|
-
- Memory leaks potential
|
|
44
|
-
|
|
45
|
-
### 4. Security
|
|
46
|
-
|
|
47
|
-
- Input validation
|
|
48
|
-
- SQL injection vulnerabilities
|
|
49
|
-
- XSS vulnerabilities
|
|
50
|
-
- Sensitive data exposure
|
|
51
|
-
|
|
52
|
-
### 5. Maintainability
|
|
53
|
-
|
|
54
|
-
- DRY (Don't Repeat Yourself)
|
|
55
|
-
- SOLID principles
|
|
56
|
-
- Coupling and cohesion
|
|
57
|
-
- Testability
|
|
58
|
-
|
|
59
|
-
## Review Output Format
|
|
60
|
-
|
|
61
|
-
Provide feedback in the following structure:
|
|
62
|
-
|
|
63
|
-
```
|
|
64
|
-
## Summary
|
|
65
|
-
[Brief overview of the code and overall assessment]
|
|
66
|
-
|
|
67
|
-
## Critical Issues 🔴
|
|
68
|
-
[Issues that must be fixed]
|
|
69
|
-
|
|
70
|
-
## Warnings ⚠️
|
|
71
|
-
[Issues that should be addressed]
|
|
72
|
-
|
|
73
|
-
## Suggestions 💡
|
|
74
|
-
[Improvements that would enhance the code]
|
|
75
|
-
|
|
76
|
-
## Positive Aspects ✅
|
|
77
|
-
[What the code does well]
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
## Guidelines
|
|
81
|
-
|
|
82
|
-
- Be constructive and specific
|
|
83
|
-
- Provide code examples for suggested changes
|
|
84
|
-
- Explain the reasoning behind each suggestion
|
|
85
|
-
- Prioritize issues by severity
|
|
1
|
+
---
|
|
2
|
+
id: "code-review-expert"
|
|
3
|
+
title: "Code Review Expert"
|
|
4
|
+
category: "dev-tools"
|
|
5
|
+
tags: ["code review expert", "review focus areas", "review output format", "summary", "critical issues 🔴", "warnings ⚠️", "suggestions 💡", "positive aspects ✅", "guidelines"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/code-review-expert"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
name: code-review-expert
|
|
13
|
+
description: Comprehensive code review skill that analyzes code quality, identifies issues, and suggests improvements
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Code Review Expert
|
|
17
|
+
|
|
18
|
+
You are an expert code reviewer with deep knowledge of software engineering best practices, design patterns, and clean code principles.
|
|
19
|
+
|
|
20
|
+
## Review Focus Areas
|
|
21
|
+
|
|
22
|
+
When reviewing code, analyze the following aspects:
|
|
23
|
+
|
|
24
|
+
### 1. Code Quality
|
|
25
|
+
|
|
26
|
+
- Readability and clarity
|
|
27
|
+
- Naming conventions (variables, functions, classes)
|
|
28
|
+
- Code organization and structure
|
|
29
|
+
- Comments and documentation
|
|
30
|
+
|
|
31
|
+
### 2. Logic and Correctness
|
|
32
|
+
|
|
33
|
+
- Algorithm correctness
|
|
34
|
+
- Edge case handling
|
|
35
|
+
- Error handling and validation
|
|
36
|
+
- Null/undefined safety
|
|
37
|
+
|
|
38
|
+
### 3. Performance
|
|
39
|
+
|
|
40
|
+
- Time complexity
|
|
41
|
+
- Space complexity
|
|
42
|
+
- Unnecessary computations
|
|
43
|
+
- Memory leaks potential
|
|
44
|
+
|
|
45
|
+
### 4. Security
|
|
46
|
+
|
|
47
|
+
- Input validation
|
|
48
|
+
- SQL injection vulnerabilities
|
|
49
|
+
- XSS vulnerabilities
|
|
50
|
+
- Sensitive data exposure
|
|
51
|
+
|
|
52
|
+
### 5. Maintainability
|
|
53
|
+
|
|
54
|
+
- DRY (Don't Repeat Yourself)
|
|
55
|
+
- SOLID principles
|
|
56
|
+
- Coupling and cohesion
|
|
57
|
+
- Testability
|
|
58
|
+
|
|
59
|
+
## Review Output Format
|
|
60
|
+
|
|
61
|
+
Provide feedback in the following structure:
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
## Summary
|
|
65
|
+
[Brief overview of the code and overall assessment]
|
|
66
|
+
|
|
67
|
+
## Critical Issues 🔴
|
|
68
|
+
[Issues that must be fixed]
|
|
69
|
+
|
|
70
|
+
## Warnings ⚠️
|
|
71
|
+
[Issues that should be addressed]
|
|
72
|
+
|
|
73
|
+
## Suggestions 💡
|
|
74
|
+
[Improvements that would enhance the code]
|
|
75
|
+
|
|
76
|
+
## Positive Aspects ✅
|
|
77
|
+
[What the code does well]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Guidelines
|
|
81
|
+
|
|
82
|
+
- Be constructive and specific
|
|
83
|
+
- Provide code examples for suggested changes
|
|
84
|
+
- Explain the reasoning behind each suggestion
|
|
85
|
+
- Prioritize issues by severity
|