@fenixforce/edition-pro 0.1.0
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/dist/api/approval-routes.d.ts +15 -0
- package/dist/api/fleet-routes.d.ts +23 -0
- package/dist/api/integration-routes.d.ts +17 -0
- package/dist/api/middleware.d.ts +37 -0
- package/dist/boot.d.ts +37 -0
- package/dist/business/approval-queue.d.ts +94 -0
- package/dist/business/arena.d.ts +71 -0
- package/dist/business/best-of-n.d.ts +68 -0
- package/dist/business/brainstorm.d.ts +42 -0
- package/dist/business/compile-checker.d.ts +50 -0
- package/dist/business/debate.d.ts +38 -0
- package/dist/business/fleet-budget.d.ts +69 -0
- package/dist/business/fleet-config.d.ts +125 -0
- package/dist/business/fleet.d.ts +85 -0
- package/dist/business/handoff.d.ts +56 -0
- package/dist/business/hat-system.d.ts +57 -0
- package/dist/business/index.d.ts +44 -0
- package/dist/business/integration-registry.d.ts +66 -0
- package/dist/business/node-pipeline.d.ts +62 -0
- package/dist/business/oracle.d.ts +64 -0
- package/dist/business/roles/index.d.ts +7 -0
- package/dist/business/roles/judge.d.ts +24 -0
- package/dist/business/roles/planner.d.ts +30 -0
- package/dist/business/roles/types.d.ts +37 -0
- package/dist/business/roles/worker.d.ts +25 -0
- package/dist/business/router.d.ts +75 -0
- package/dist/business/shared-memory.d.ts +85 -0
- package/dist/business/status-detector.d.ts +52 -0
- package/dist/business/swarm-registry.d.ts +63 -0
- package/dist/business/templates.d.ts +55 -0
- package/dist/business/workspace-manager.d.ts +105 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +638 -0
- package/dist/infrastructure/pty-agent.d.ts +74 -0
- package/dist/migrations/migrate.d.ts +7 -0
- package/dist/migrations/runner.d.ts +49 -0
- package/dist/workspace/worktree.d.ts +69 -0
- package/package.json +37 -0
- package/skills/builtin/academic-researcher/SKILL.md +51 -0
- package/skills/builtin/advanced-recon/SKILL.md +75 -0
- package/skills/builtin/agent-governance/SKILL.md +122 -0
- package/skills/builtin/algorithmic-art/SKILL.md +55 -0
- package/skills/builtin/api-attack-surface-mapper/SKILL.md +88 -0
- package/skills/builtin/api-development/SKILL.md +147 -0
- package/skills/builtin/api-exploit-prover/SKILL.md +74 -0
- package/skills/builtin/api-integration/SKILL.md +73 -0
- package/skills/builtin/api-security-tester/SKILL.md +82 -0
- package/skills/builtin/api-test-executor/SKILL.md +62 -0
- package/skills/builtin/app-store-optimization/SKILL.md +46 -0
- package/skills/builtin/audio-tour-guide/SKILL.md +18 -0
- package/skills/builtin/auth-flow-operator/SKILL.md +70 -0
- package/skills/builtin/autonomous-rag/SKILL.md +21 -0
- package/skills/builtin/backend-development/SKILL.md +265 -0
- package/skills/builtin/binary-analysis-analyst/SKILL.md +61 -0
- package/skills/builtin/binary-analysis-core/SKILL.md +65 -0
- package/skills/builtin/binary-recon/SKILL.md +64 -0
- package/skills/builtin/blackboard-coordination/SKILL.md +56 -0
- package/skills/builtin/blog-to-podcast/SKILL.md +18 -0
- package/skills/builtin/blog-writing/SKILL.md +36 -0
- package/skills/builtin/brainstorming/SKILL.md +69 -0
- package/skills/builtin/brand-design/SKILL.md +42 -0
- package/skills/builtin/ci-cd-pipelines/SKILL.md +210 -0
- package/skills/builtin/cloud-infrastructure/SKILL.md +140 -0
- package/skills/builtin/code-review/SKILL.md +88 -0
- package/skills/builtin/code-review-analyst/SKILL.md +96 -0
- package/skills/builtin/code-review-recon/SKILL.md +64 -0
- package/skills/builtin/code-review-verifier/SKILL.md +55 -0
- package/skills/builtin/coding-agent-team/SKILL.md +13 -0
- package/skills/builtin/competitor-intelligence/SKILL.md +39 -0
- package/skills/builtin/content-engine/SKILL.md +82 -0
- package/skills/builtin/context7-docs/SKILL.md +145 -0
- package/skills/builtin/copywriting/SKILL.md +38 -0
- package/skills/builtin/corrective-rag/SKILL.md +19 -0
- package/skills/builtin/cost-optimization/SKILL.md +131 -0
- package/skills/builtin/crypto-vulnerability-analyst/SKILL.md +64 -0
- package/skills/builtin/customer-support/SKILL.md +48 -0
- package/skills/builtin/customer-voice-support/SKILL.md +43 -0
- package/skills/builtin/data-analysis/SKILL.md +57 -0
- package/skills/builtin/data-visualization/SKILL.md +33 -0
- package/skills/builtin/database-design/SKILL.md +119 -0
- package/skills/builtin/decision-helper/SKILL.md +84 -0
- package/skills/builtin/deep-research/SKILL.md +68 -0
- package/skills/builtin/deepwiki-research/SKILL.md +115 -0
- package/skills/builtin/dependency-audit/SKILL.md +46 -0
- package/skills/builtin/doc-coauthoring/SKILL.md +48 -0
- package/skills/builtin/docker-deployment/SKILL.md +243 -0
- package/skills/builtin/docx-generation/SKILL.md +135 -0
- package/skills/builtin/dry-run-harness/SKILL.md +61 -0
- package/skills/builtin/editor/SKILL.md +44 -0
- package/skills/builtin/email-drafter/SKILL.md +42 -0
- package/skills/builtin/error-handling/SKILL.md +82 -0
- package/skills/builtin/eval-harness/SKILL.md +197 -0
- package/skills/builtin/evaluation-framework/SKILL.md +51 -0
- package/skills/builtin/exploit-writer/SKILL.md +63 -0
- package/skills/builtin/fact-checker/SKILL.md +51 -0
- package/skills/builtin/filesystem-context/SKILL.md +47 -0
- package/skills/builtin/financial-coach/SKILL.md +18 -0
- package/skills/builtin/finding-chain-correlator/SKILL.md +70 -0
- package/skills/builtin/finding-verifier/SKILL.md +65 -0
- package/skills/builtin/frontend-design/SKILL.md +104 -0
- package/skills/builtin/frontend-development/SKILL.md +227 -0
- package/skills/builtin/frontend-slides/SKILL.md +155 -0
- package/skills/builtin/fullstack-project/SKILL.md +286 -0
- package/skills/builtin/game-development/SKILL.md +60 -0
- package/skills/builtin/git-workflow/SKILL.md +44 -0
- package/skills/builtin/i18n-localization/SKILL.md +38 -0
- package/skills/builtin/image-prompt-engineering/SKILL.md +37 -0
- package/skills/builtin/investment-research/SKILL.md +33 -0
- package/skills/builtin/investor-materials/SKILL.md +90 -0
- package/skills/builtin/javascript-surface-analyzer/SKILL.md +66 -0
- package/skills/builtin/markdown-reports/SKILL.md +68 -0
- package/skills/builtin/market-research/SKILL.md +69 -0
- package/skills/builtin/mcp-builder/SKILL.md +86 -0
- package/skills/builtin/meeting-notes/SKILL.md +47 -0
- package/skills/builtin/memory-safety-analyst/SKILL.md +61 -0
- package/skills/builtin/meta-controller/SKILL.md +44 -0
- package/skills/builtin/mixture-of-agents/SKILL.md +53 -0
- package/skills/builtin/monitoring-observability/SKILL.md +169 -0
- package/skills/builtin/negotiation-simulator/SKILL.md +24 -0
- package/skills/builtin/nestjs-development/SKILL.md +56 -0
- package/skills/builtin/nextjs-development/SKILL.md +55 -0
- package/skills/builtin/parallel-dispatch/SKILL.md +83 -0
- package/skills/builtin/pdf-generation/SKILL.md +169 -0
- package/skills/builtin/personal-finance/SKILL.md +17 -0
- package/skills/builtin/pev-workflow/SKILL.md +62 -0
- package/skills/builtin/planning-with-files/SKILL.md +59 -0
- package/skills/builtin/pptx-generation/SKILL.md +117 -0
- package/skills/builtin/prisma-orm/SKILL.md +48 -0
- package/skills/builtin/rag-database-routing/SKILL.md +38 -0
- package/skills/builtin/rapid-prototyping/SKILL.md +152 -0
- package/skills/builtin/react-development/SKILL.md +244 -0
- package/skills/builtin/react-native-mobile/SKILL.md +113 -0
- package/skills/builtin/refactoring/SKILL.md +39 -0
- package/skills/builtin/reflexive-metacognition/SKILL.md +29 -0
- package/skills/builtin/riper-workflow/SKILL.md +214 -0
- package/skills/builtin/security-audit/SKILL.md +113 -0
- package/skills/builtin/security-self-audit/SKILL.md +311 -0
- package/skills/builtin/self-evolving-agent/SKILL.md +28 -0
- package/skills/builtin/self-improvement-loop/SKILL.md +58 -0
- package/skills/builtin/semantic-search/SKILL.md +93 -0
- package/skills/builtin/seo-audit-team/SKILL.md +27 -0
- package/skills/builtin/seo-optimization/SKILL.md +49 -0
- package/skills/builtin/server-management/SKILL.md +190 -0
- package/skills/builtin/social-media-content/SKILL.md +50 -0
- package/skills/builtin/sprint-planner/SKILL.md +49 -0
- package/skills/builtin/strategic-compact/SKILL.md +61 -0
- package/skills/builtin/strategy-advisor/SKILL.md +51 -0
- package/skills/builtin/structured-thinking/SKILL.md +70 -0
- package/skills/builtin/subagent-development/SKILL.md +105 -0
- package/skills/builtin/system-design/SKILL.md +66 -0
- package/skills/builtin/systematic-debugging/SKILL.md +87 -0
- package/skills/builtin/tailwind-css/SKILL.md +55 -0
- package/skills/builtin/taint-flow-tracer/SKILL.md +89 -0
- package/skills/builtin/teaching-agent-team/SKILL.md +32 -0
- package/skills/builtin/tech-debt-manager/SKILL.md +67 -0
- package/skills/builtin/technical-documentation/SKILL.md +47 -0
- package/skills/builtin/test-driven-development/SKILL.md +70 -0
- package/skills/builtin/theme-factory/SKILL.md +244 -0
- package/skills/builtin/threat-model-generator/SKILL.md +105 -0
- package/skills/builtin/trust-layer/SKILL.md +43 -0
- package/skills/builtin/typescript-patterns/SKILL.md +61 -0
- package/skills/builtin/ui-ux-design/SKILL.md +75 -0
- package/skills/builtin/verification-before-completion/SKILL.md +41 -0
- package/skills/builtin/verification-loop/SKILL.md +120 -0
- package/skills/builtin/waf-bypass-agent/SKILL.md +97 -0
- package/skills/builtin/web-artifacts-builder/SKILL.md +117 -0
- package/skills/builtin/web-assessment-executor/SKILL.md +66 -0
- package/skills/builtin/web-exploit-prover/SKILL.md +58 -0
- package/skills/builtin/web-scraping/SKILL.md +63 -0
- package/skills/builtin/webapp-testing/SKILL.md +86 -0
- package/skills/builtin/webhook-development/SKILL.md +62 -0
- package/skills/builtin/writing-skills/SKILL.md +67 -0
- package/skills/builtin/xlsx-generation/SKILL.md +116 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Data Visualization
|
|
2
|
+
## Chart Selection
|
|
3
|
+
| Data Relationship | Chart Type |
|
|
4
|
+
|-------------------|------------|
|
|
5
|
+
| Trend over time | Line chart |
|
|
6
|
+
| Comparison | Bar chart (vertical or horizontal) |
|
|
7
|
+
| Part of whole | Donut chart (max 6 slices) |
|
|
8
|
+
| Distribution | Histogram or box plot |
|
|
9
|
+
| Correlation | Scatter plot |
|
|
10
|
+
| Composition over time | Stacked area or stacked bar |
|
|
11
|
+
| Geographic | Choropleth map |
|
|
12
|
+
| Flow/process | Sankey diagram |
|
|
13
|
+
| Hierarchy | Treemap |
|
|
14
|
+
|
|
15
|
+
## Design Rules
|
|
16
|
+
- Title describes the insight, not the data ("Sales grew 23% in Q3" not "Q3 Sales Data")
|
|
17
|
+
- Label all axes with units
|
|
18
|
+
- Start Y-axis at zero for bar charts (misleading otherwise)
|
|
19
|
+
- Use colorblind-friendly palettes (avoid red-green only)
|
|
20
|
+
- Remove chartjunk (unnecessary gridlines, decorations, 3D effects)
|
|
21
|
+
- Highlight the key finding (bold the most important data point)
|
|
22
|
+
|
|
23
|
+
## Code Generation
|
|
24
|
+
Produce Plotly or Recharts code depending on context:
|
|
25
|
+
- Web apps: Recharts (React) or Chart.js
|
|
26
|
+
- Data analysis: Plotly (interactive) or matplotlib (static)
|
|
27
|
+
- Dashboards: Plotly with dash layout
|
|
28
|
+
|
|
29
|
+
## Rules
|
|
30
|
+
- Every chart must have a clear purpose (what question does it answer?)
|
|
31
|
+
- Interactive charts need tooltips with actual values
|
|
32
|
+
- Responsive sizing for web charts
|
|
33
|
+
- Export options (PNG, SVG) for reports
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: database-design
|
|
3
|
+
description: "Use this skill when the user asks to design a database schema, write migrations, optimize queries, set up PostgreSQL, or work with any ORM. Triggers: 'database', 'schema', 'migration', 'SQL', 'PostgreSQL', 'MySQL', 'SQLite', 'Prisma', 'Drizzle', 'query optimization', 'indexing', 'table design', 'relations', 'foreign key', or any request involving data modeling and storage."
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Database Design
|
|
8
|
+
|
|
9
|
+
## What This Skill Does
|
|
10
|
+
|
|
11
|
+
Design schemas, write migrations, optimize queries, and manage database infrastructure. PostgreSQL as the primary target (Fenix's default), with patterns that apply to MySQL, SQLite, and others.
|
|
12
|
+
|
|
13
|
+
## Before You Start
|
|
14
|
+
|
|
15
|
+
1. **Context7:** Fetch docs for the chosen ORM (Prisma, Drizzle, Kysely) before generating schema code
|
|
16
|
+
2. **Clarify:** What data needs to be stored? What queries will be most common? What scale?
|
|
17
|
+
3. Default to **PostgreSQL + Drizzle ORM** for new Fenix projects
|
|
18
|
+
|
|
19
|
+
## Schema Design Principles
|
|
20
|
+
|
|
21
|
+
### Naming Conventions
|
|
22
|
+
- Tables: plural, snake_case (`user_profiles`, `order_items`)
|
|
23
|
+
- Columns: singular, snake_case (`created_at`, `email_address`)
|
|
24
|
+
- Primary keys: `id` (UUID or auto-increment)
|
|
25
|
+
- Foreign keys: `{referenced_table_singular}_id` (`user_id`)
|
|
26
|
+
- Indexes: `idx_{table}_{columns}`
|
|
27
|
+
|
|
28
|
+
### Essential Columns (every table)
|
|
29
|
+
```sql
|
|
30
|
+
CREATE TABLE resources (
|
|
31
|
+
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
32
|
+
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
|
|
33
|
+
updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
|
34
|
+
);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Relations
|
|
38
|
+
```sql
|
|
39
|
+
-- One-to-many
|
|
40
|
+
CREATE TABLE posts (
|
|
41
|
+
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
42
|
+
user_id UUID NOT NULL REFERENCES users(id) ON DELETE CASCADE,
|
|
43
|
+
title TEXT NOT NULL,
|
|
44
|
+
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
-- Many-to-many
|
|
48
|
+
CREATE TABLE post_tags (
|
|
49
|
+
post_id UUID NOT NULL REFERENCES posts(id) ON DELETE CASCADE,
|
|
50
|
+
tag_id UUID NOT NULL REFERENCES tags(id) ON DELETE CASCADE,
|
|
51
|
+
PRIMARY KEY (post_id, tag_id)
|
|
52
|
+
);
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Indexing Strategy
|
|
56
|
+
```sql
|
|
57
|
+
CREATE INDEX idx_posts_user_id ON posts(user_id);
|
|
58
|
+
CREATE INDEX idx_posts_created_at ON posts(created_at DESC);
|
|
59
|
+
CREATE INDEX idx_posts_user_status ON posts(user_id, status);
|
|
60
|
+
-- Partial index
|
|
61
|
+
CREATE INDEX idx_posts_published ON posts(created_at DESC) WHERE status = 'published';
|
|
62
|
+
-- Full-text search
|
|
63
|
+
CREATE INDEX idx_posts_search ON posts USING GIN(to_tsvector('english', title || ' ' || body));
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Index: foreign keys (always), frequent WHERE columns, ORDER BY on large tables, JOIN conditions.
|
|
67
|
+
Don't index: small tables, low-cardinality columns on small tables, heavy-write/rare-read tables.
|
|
68
|
+
|
|
69
|
+
## Migration Patterns
|
|
70
|
+
|
|
71
|
+
```sql
|
|
72
|
+
-- 0003_add_posts_status.sql
|
|
73
|
+
BEGIN;
|
|
74
|
+
ALTER TABLE posts
|
|
75
|
+
ADD COLUMN status TEXT NOT NULL DEFAULT 'draft'
|
|
76
|
+
CHECK (status IN ('draft', 'published', 'archived'));
|
|
77
|
+
CREATE INDEX idx_posts_status ON posts(status);
|
|
78
|
+
COMMIT;
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Rules: every migration idempotent or transactional, never modify applied migrations, write UP and DOWN.
|
|
82
|
+
|
|
83
|
+
## Query Optimization
|
|
84
|
+
|
|
85
|
+
```sql
|
|
86
|
+
EXPLAIN ANALYZE SELECT ...;
|
|
87
|
+
-- Cursor pagination (fast)
|
|
88
|
+
SELECT * FROM posts WHERE created_at < $cursor ORDER BY created_at DESC LIMIT 20;
|
|
89
|
+
-- Approximate count (fast)
|
|
90
|
+
SELECT reltuples::bigint FROM pg_class WHERE relname = 'posts';
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## PostgreSQL Features
|
|
94
|
+
|
|
95
|
+
- JSONB: `ALTER TABLE users ADD COLUMN preferences JSONB DEFAULT '{}';`
|
|
96
|
+
- CHECK constraints over enums: `CHECK (status IN ('draft', 'published'))`
|
|
97
|
+
- Row-Level Security for multi-tenant
|
|
98
|
+
|
|
99
|
+
## Rules
|
|
100
|
+
|
|
101
|
+
- Always use parameterized queries. Never concatenate user input into SQL.
|
|
102
|
+
- Always add `created_at` and `updated_at` to every table
|
|
103
|
+
- Always index foreign key columns
|
|
104
|
+
- Always use transactions for multi-statement operations
|
|
105
|
+
- Normalize to 3NF, then denormalize selectively for read performance
|
|
106
|
+
|
|
107
|
+
## Verification
|
|
108
|
+
|
|
109
|
+
1. Migrations run on clean database
|
|
110
|
+
2. All foreign keys have indexes
|
|
111
|
+
3. No SQL injection vectors
|
|
112
|
+
4. Common queries under 100ms on expected volume
|
|
113
|
+
5. Rollback migration works
|
|
114
|
+
|
|
115
|
+
## Integration with Other Skills
|
|
116
|
+
|
|
117
|
+
- **context7-docs:** Fetch ORM docs before generating schema code
|
|
118
|
+
- **backend-development:** Routes depend on schema
|
|
119
|
+
- **fullstack-project:** Schema design comes first
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Decision Helper
|
|
2
|
+
|
|
3
|
+
## Frameworks
|
|
4
|
+
|
|
5
|
+
### Decision Matrix (Default)
|
|
6
|
+
Weighted criteria scoring:
|
|
7
|
+
1. List options
|
|
8
|
+
2. Define criteria (importance, feasibility, cost, risk, alignment)
|
|
9
|
+
3. Weight criteria (must sum to 100%)
|
|
10
|
+
4. Score each option per criterion (1-5)
|
|
11
|
+
5. Calculate weighted totals
|
|
12
|
+
6. Recommend highest scorer with sensitivity analysis
|
|
13
|
+
|
|
14
|
+
### ICE Scoring
|
|
15
|
+
Impact (1-10) x Confidence (1-10) x Ease (1-10) = ICE Score
|
|
16
|
+
Best for prioritizing a backlog of options quickly.
|
|
17
|
+
|
|
18
|
+
### SWOT Analysis
|
|
19
|
+
Strengths, Weaknesses, Opportunities, Threats per option.
|
|
20
|
+
Best for strategic decisions with external factors.
|
|
21
|
+
|
|
22
|
+
### Cost-Benefit Analysis
|
|
23
|
+
Quantify costs and benefits over time horizon.
|
|
24
|
+
Best when options have measurable financial impact.
|
|
25
|
+
|
|
26
|
+
## Output Format
|
|
27
|
+
|
|
28
|
+
```markdown
|
|
29
|
+
## Decision
|
|
30
|
+
[What needs to be decided]
|
|
31
|
+
|
|
32
|
+
## Options
|
|
33
|
+
1. [Option A]: [brief description]
|
|
34
|
+
2. [Option B]: [brief description]
|
|
35
|
+
3. [Option C]: [brief description]
|
|
36
|
+
|
|
37
|
+
## Analysis
|
|
38
|
+
[Framework applied with scoring]
|
|
39
|
+
|
|
40
|
+
## Recommendation
|
|
41
|
+
**[Recommended option]** because [clear rationale].
|
|
42
|
+
|
|
43
|
+
## Key Trade-off
|
|
44
|
+
[The main thing you give up by choosing this option]
|
|
45
|
+
|
|
46
|
+
## Reversibility
|
|
47
|
+
[How easy to change course if this doesn't work]
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Advocate/Critic Debate (Multi-Agent for High-Stakes Decisions)
|
|
51
|
+
|
|
52
|
+
For decisions with significant consequences, run an adversarial debate:
|
|
53
|
+
|
|
54
|
+
### Flow
|
|
55
|
+
1. **Advocate Agent**: makes the strongest possible case FOR the proposed option
|
|
56
|
+
2. **Critic Agent**: makes the strongest possible case AGAINST
|
|
57
|
+
3. **Judge Agent**: evaluates both arguments, identifies which points are strongest, renders verdict
|
|
58
|
+
|
|
59
|
+
### Rules for Debate
|
|
60
|
+
- Advocate and Critic must argue sincerely (no strawman arguments)
|
|
61
|
+
- Each gets 2 rounds: opening argument + rebuttal
|
|
62
|
+
- Judge must cite specific points from each side in the verdict
|
|
63
|
+
- Judge scores argument quality, not just conclusion
|
|
64
|
+
|
|
65
|
+
### When to Use
|
|
66
|
+
- Irreversible decisions (hiring, architecture migrations, vendor lock-in)
|
|
67
|
+
- Decisions where confirmation bias is likely (the team already wants option A)
|
|
68
|
+
- Decisions with incomplete information (forces both sides to surface unknowns)
|
|
69
|
+
|
|
70
|
+
### Output
|
|
71
|
+
```markdown
|
|
72
|
+
## Debate: [Decision]
|
|
73
|
+
### Advocate (FOR): [summary of strongest arguments]
|
|
74
|
+
### Critic (AGAINST): [summary of strongest arguments]
|
|
75
|
+
### Judge Verdict: [recommendation with reasoning from both sides]
|
|
76
|
+
### Unresolved Questions: [what neither side could answer]
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Rules
|
|
80
|
+
|
|
81
|
+
- Always present at least 2 options (including "do nothing" when relevant)
|
|
82
|
+
- Name the key trade-off explicitly
|
|
83
|
+
- Note what information would change the recommendation
|
|
84
|
+
- Distinguish reversible from irreversible decisions
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Deep Research
|
|
2
|
+
|
|
3
|
+
## When to Activate
|
|
4
|
+
|
|
5
|
+
- User asks to research a topic in depth
|
|
6
|
+
- Multiple sources needed to answer accurately
|
|
7
|
+
- User needs citations and source evaluation
|
|
8
|
+
- Comparing perspectives on a contested topic
|
|
9
|
+
|
|
10
|
+
## Research Process
|
|
11
|
+
|
|
12
|
+
### 1. Clarify the Research Question
|
|
13
|
+
What exactly needs answering? What level of detail? Specific angles to prioritize?
|
|
14
|
+
|
|
15
|
+
### 2. Identify Key Aspects
|
|
16
|
+
Break into subtopics. List main questions. Note required background context.
|
|
17
|
+
|
|
18
|
+
### 3. Gather Information
|
|
19
|
+
Use web search, DeepWiki (for codebases), Context7 (for library docs). Consider multiple perspectives. Check publication dates. Evaluate source credibility.
|
|
20
|
+
|
|
21
|
+
### 4. Synthesize Findings
|
|
22
|
+
Identify patterns and themes. Note consensus and disagreement. Highlight key insights. Connect related information.
|
|
23
|
+
|
|
24
|
+
### 5. Document Sources
|
|
25
|
+
Numbered citations [1], [2]. Full sources listed at end. Note confidence levels.
|
|
26
|
+
|
|
27
|
+
## Source Evaluation Hierarchy
|
|
28
|
+
|
|
29
|
+
1. **Peer-reviewed journals**: highest credibility
|
|
30
|
+
2. **Official reports/statistics**: authoritative data
|
|
31
|
+
3. **Reputable news outlets**: fact-checked, timely
|
|
32
|
+
4. **Expert commentary**: qualified opinions
|
|
33
|
+
5. **General websites**: verify independently
|
|
34
|
+
|
|
35
|
+
## Output Format
|
|
36
|
+
|
|
37
|
+
```markdown
|
|
38
|
+
## Executive Summary
|
|
39
|
+
[2-3 sentence overview of key findings]
|
|
40
|
+
|
|
41
|
+
## Key Findings
|
|
42
|
+
- **[Finding 1]**: [Explanation] [1]
|
|
43
|
+
- **[Finding 2]**: [Explanation] [2]
|
|
44
|
+
|
|
45
|
+
## Detailed Analysis
|
|
46
|
+
### [Subtopic 1]
|
|
47
|
+
[Analysis with citations]
|
|
48
|
+
|
|
49
|
+
## Areas of Consensus
|
|
50
|
+
[What sources agree on]
|
|
51
|
+
|
|
52
|
+
## Areas of Debate
|
|
53
|
+
[Where sources disagree]
|
|
54
|
+
|
|
55
|
+
## Sources
|
|
56
|
+
[1] [Full citation with credibility note]
|
|
57
|
+
|
|
58
|
+
## Gaps and Further Research
|
|
59
|
+
[What's still unknown]
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Rules
|
|
63
|
+
|
|
64
|
+
- Always cite sources with numbered references
|
|
65
|
+
- Distinguish fact from opinion explicitly
|
|
66
|
+
- Note confidence level for uncertain findings
|
|
67
|
+
- Include Areas of Debate even when a consensus exists
|
|
68
|
+
- Never present a single source's view as settled fact
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deepwiki-research
|
|
3
|
+
description: "Use this skill when the agent needs to understand an unfamiliar GitHub repository, explore a library's architecture, or answer questions about how open-source code works. Triggers: 'how does X work', 'explore this repo', 'understand this codebase', 'what's the architecture of', any GitHub URL the agent hasn't seen before, or when the agent needs to learn a new library before building with it. Provides instant codebase comprehension via DeepWiki's AI-generated documentation."
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# DeepWiki Research: Codebase Comprehension Tool
|
|
8
|
+
|
|
9
|
+
## What This Skill Does
|
|
10
|
+
|
|
11
|
+
DeepWiki transforms any public GitHub repository into structured, searchable documentation with architecture diagrams and AI-powered Q&A. When the agent encounters an unfamiliar codebase, library, or framework, this skill provides instant comprehension without cloning repos or reading thousands of lines manually.
|
|
12
|
+
|
|
13
|
+
## When to Activate
|
|
14
|
+
|
|
15
|
+
- User shares a GitHub URL and asks "how does this work?"
|
|
16
|
+
- Agent needs to understand a library's internals before building with it
|
|
17
|
+
- User asks about the architecture of any open-source project
|
|
18
|
+
- Agent needs code examples from a specific repo
|
|
19
|
+
- User asks "what patterns does X use?" about a GitHub project
|
|
20
|
+
- Before writing integration code for an unfamiliar dependency
|
|
21
|
+
|
|
22
|
+
## MCP Connection
|
|
23
|
+
|
|
24
|
+
DeepWiki runs as a remote MCP server. No local installation required.
|
|
25
|
+
|
|
26
|
+
**Server URL:** `https://mcp.deepwiki.com/mcp`
|
|
27
|
+
**Auth:** None required for public repositories
|
|
28
|
+
**Protocol:** Streamable HTTP (also supports SSE at `/sse`, deprecated)
|
|
29
|
+
|
|
30
|
+
### Fenix MCP Registry Entry
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"name": "deepwiki",
|
|
35
|
+
"url": "https://mcp.deepwiki.com/mcp",
|
|
36
|
+
"auth": "none",
|
|
37
|
+
"description": "AI-generated documentation for any public GitHub repository",
|
|
38
|
+
"tools": ["read_wiki_structure", "read_wiki_contents", "ask_question"]
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Available Tools
|
|
43
|
+
|
|
44
|
+
### 1. `read_wiki_structure`
|
|
45
|
+
|
|
46
|
+
Get the table of contents for a repository's documentation. Use this first to understand what topics are covered before diving into specifics.
|
|
47
|
+
|
|
48
|
+
**Input:** `{ "repoName": "facebook/react" }`
|
|
49
|
+
**Returns:** List of documentation sections and topics
|
|
50
|
+
|
|
51
|
+
**When to use:** Always call this first when exploring a new repo. Review the structure, then fetch only the sections relevant to the current task.
|
|
52
|
+
|
|
53
|
+
### 2. `read_wiki_contents`
|
|
54
|
+
|
|
55
|
+
Fetch the full documentation content for a specific topic within a repository.
|
|
56
|
+
|
|
57
|
+
**Input:** `{ "repoName": "facebook/react", "topic": "hooks-implementation" }`
|
|
58
|
+
**Returns:** Detailed documentation with code references, file paths, and line numbers
|
|
59
|
+
|
|
60
|
+
**When to use:** After identifying the relevant section from `read_wiki_structure`. Fetch specific topics, not the entire wiki. Token-efficient retrieval matters.
|
|
61
|
+
|
|
62
|
+
### 3. `ask_question`
|
|
63
|
+
|
|
64
|
+
Ask a natural language question about any repository and get an AI-powered answer grounded in the actual codebase.
|
|
65
|
+
|
|
66
|
+
**Input:** `{ "repoName": "vercel/next.js", "question": "How does the app router handle server components?" }`
|
|
67
|
+
**Returns:** Detailed answer with code references, file paths, and explanations
|
|
68
|
+
|
|
69
|
+
**When to use:** When you have a specific question. More efficient than browsing structure + contents for targeted queries. The response includes exact code snippets with file paths and line numbers.
|
|
70
|
+
|
|
71
|
+
## Workflow
|
|
72
|
+
|
|
73
|
+
### Quick Answer (single question about a repo)
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
1. ask_question({ repoName: "org/repo", question: "user's question" })
|
|
77
|
+
2. Return the answer with code references
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Deep Exploration (understanding a codebase for integration work)
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
1. read_wiki_structure({ repoName: "org/repo" })
|
|
84
|
+
→ Review sections, identify relevant areas
|
|
85
|
+
2. read_wiki_contents({ repoName: "org/repo", topic: "relevant-section" })
|
|
86
|
+
→ Read architecture, patterns, key interfaces
|
|
87
|
+
3. read_wiki_contents({ repoName: "org/repo", topic: "another-section" })
|
|
88
|
+
→ Read implementation details for the specific area
|
|
89
|
+
4. Synthesize findings into actionable guidance
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Pre-Build Research (before implementing an integration)
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
1. read_wiki_structure → understand the library's shape
|
|
96
|
+
2. ask_question → "What's the public API surface?"
|
|
97
|
+
3. ask_question → "How do I extend/integrate with this?"
|
|
98
|
+
4. Begin implementation with accurate knowledge
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Rules
|
|
102
|
+
|
|
103
|
+
- Always use DeepWiki before claiming "I don't know how X works" for any public GitHub project
|
|
104
|
+
- Call `read_wiki_structure` before `read_wiki_contents` unless you already know the exact topic
|
|
105
|
+
- Prefer `ask_question` for targeted queries over browsing the full wiki
|
|
106
|
+
- Cache insights in memory (via `memory.save`) if the user is likely to ask follow-up questions about the same repo
|
|
107
|
+
- Only works with public GitHub repositories. For private repos, inform the user they need a Devin account
|
|
108
|
+
- Do not use DeepWiki when you already have sufficient knowledge of a well-known library. Use Context7 for up-to-date API docs instead
|
|
109
|
+
- DeepWiki excels at architecture and "how does it work" questions. Context7 excels at "what's the current API" questions. Use the right tool for the question type
|
|
110
|
+
|
|
111
|
+
## Integration with Other Skills
|
|
112
|
+
|
|
113
|
+
- **context7-docs:** Use Context7 for current API docs. Use DeepWiki for architecture comprehension. They complement each other.
|
|
114
|
+
- **fullstack-project:** Research libraries via DeepWiki before scaffolding a project that depends on them
|
|
115
|
+
- **api-development:** Understand third-party API libraries before writing integration code
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: dependency-audit
|
|
3
|
+
description: "Use this skill when checking dependencies for vulnerabilities, license compliance, or supply chain security. Triggers: 'dependency audit', 'npm audit', 'bun audit', 'vulnerable packages', 'license check', 'supply chain', or requests to verify dependency safety."
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Dependency Audit
|
|
8
|
+
|
|
9
|
+
## What This Skill Does
|
|
10
|
+
|
|
11
|
+
Audit project dependencies for security vulnerabilities, license compliance, and supply chain risks.
|
|
12
|
+
|
|
13
|
+
## Audit Commands
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# Vulnerability scan
|
|
17
|
+
bun audit # or npm audit
|
|
18
|
+
bun audit --fix # Auto-fix where possible
|
|
19
|
+
|
|
20
|
+
# License check
|
|
21
|
+
npx license-checker --summary
|
|
22
|
+
npx license-checker --failOn "GPL-3.0;AGPL-3.0" # Fail on copyleft
|
|
23
|
+
|
|
24
|
+
# Outdated packages
|
|
25
|
+
bun outdated # or npm outdated
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Checklist
|
|
29
|
+
|
|
30
|
+
- [ ] Zero critical vulnerabilities
|
|
31
|
+
- [ ] Zero high vulnerabilities (or documented exceptions with mitigations)
|
|
32
|
+
- [ ] All licenses compatible with project license
|
|
33
|
+
- [ ] No copyleft licenses in proprietary projects (GPL, AGPL)
|
|
34
|
+
- [ ] Package versions pinned (exact versions, not ranges)
|
|
35
|
+
- [ ] Lock file committed and up to date
|
|
36
|
+
- [ ] No unnecessary dependencies (audit bundle size)
|
|
37
|
+
- [ ] No packages with zero maintenance (last publish > 2 years, no activity)
|
|
38
|
+
|
|
39
|
+
## Rules
|
|
40
|
+
|
|
41
|
+
- Run dependency audit in CI on every PR
|
|
42
|
+
- Block merge on critical/high vulnerabilities
|
|
43
|
+
- Document any accepted risks with rationale
|
|
44
|
+
- Review new dependencies before adding (check: maintenance, download count, license, bundle size)
|
|
45
|
+
- Prefer well-maintained packages with active communities
|
|
46
|
+
- Fenix principle: zero proprietary dependencies
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: doc-coauthoring
|
|
3
|
+
description: "Use this skill for collaborative document editing workflows, version tracking, comment management, or structured document review processes. Triggers: 'collaborative editing', 'document review', 'track changes', 'comments', 'version control for documents', or requests for structured document collaboration workflows."
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Document Co-Authoring
|
|
8
|
+
|
|
9
|
+
## What This Skill Does
|
|
10
|
+
|
|
11
|
+
Manage collaborative document workflows. Structured review processes, change tracking, comment resolution, and version management.
|
|
12
|
+
|
|
13
|
+
## Review Workflow
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
1. DRAFT: Author writes initial version
|
|
17
|
+
2. REVIEW: Reviewers add comments and suggested changes
|
|
18
|
+
3. REVISE: Author addresses all comments (accept, reject with reason, discuss)
|
|
19
|
+
4. APPROVE: Final review confirms all issues resolved
|
|
20
|
+
5. PUBLISH: Document is finalized and distributed
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Comment Format
|
|
24
|
+
|
|
25
|
+
```markdown
|
|
26
|
+
<!-- COMMENT by [Name] on [Date]:
|
|
27
|
+
[Specific feedback with suggested alternative]
|
|
28
|
+
Status: OPEN | RESOLVED | WONTFIX
|
|
29
|
+
-->
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Version Naming
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
document-v1.0-draft.md
|
|
36
|
+
document-v1.0-review.md
|
|
37
|
+
document-v1.0-final.md
|
|
38
|
+
document-v1.1-draft.md (minor revision)
|
|
39
|
+
document-v2.0-draft.md (major revision)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Rules
|
|
43
|
+
|
|
44
|
+
- Every comment must include a suggested alternative (not just "this is wrong")
|
|
45
|
+
- All comments must be explicitly resolved before advancing to next stage
|
|
46
|
+
- Keep a changelog at the top of the document
|
|
47
|
+
- Archive previous versions, don't delete them
|
|
48
|
+
- One author owns the final decision on any disputed change
|