claudeck 1.0.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/LICENSE +21 -0
- package/README.md +233 -0
- package/cli.js +2 -0
- package/config/agent-chains.json +16 -0
- package/config/agent-dags.json +16 -0
- package/config/agents.json +46 -0
- package/config/bot-prompt.json +3 -0
- package/config/folders.json +66 -0
- package/config/prompts.json +92 -0
- package/config/repos.json +86 -0
- package/config/telegram-config.json +17 -0
- package/config/workflows.json +90 -0
- package/db.js +1198 -0
- package/package.json +55 -0
- package/plugins/claude-editor/client.css +171 -0
- package/plugins/claude-editor/client.js +183 -0
- package/plugins/event-stream/client.css +207 -0
- package/plugins/event-stream/client.js +271 -0
- package/plugins/linear/client.css +345 -0
- package/plugins/linear/client.js +380 -0
- package/plugins/linear/config.json +5 -0
- package/plugins/linear/server.js +312 -0
- package/plugins/repos/client.css +549 -0
- package/plugins/repos/client.js +663 -0
- package/plugins/repos/server.js +232 -0
- package/plugins/sudoku/client.css +196 -0
- package/plugins/sudoku/client.js +329 -0
- package/plugins/tasks/client.css +414 -0
- package/plugins/tasks/client.js +394 -0
- package/plugins/tasks/server.js +116 -0
- package/plugins/tic-tac-toe/client.css +167 -0
- package/plugins/tic-tac-toe/client.js +241 -0
- package/public/css/core/components.css +232 -0
- package/public/css/core/layout.css +330 -0
- package/public/css/core/print.css +18 -0
- package/public/css/core/reset.css +36 -0
- package/public/css/core/responsive.css +378 -0
- package/public/css/core/theme.css +116 -0
- package/public/css/core/variables.css +93 -0
- package/public/css/features/agent-monitor.css +297 -0
- package/public/css/features/agent-sidebar.css +525 -0
- package/public/css/features/agents.css +996 -0
- package/public/css/features/analytics.css +181 -0
- package/public/css/features/background-sessions.css +321 -0
- package/public/css/features/cost-dashboard.css +168 -0
- package/public/css/features/home.css +313 -0
- package/public/css/features/retro-terminal.css +88 -0
- package/public/css/features/telegram.css +127 -0
- package/public/css/features/tour.css +148 -0
- package/public/css/features/voice-input.css +60 -0
- package/public/css/features/welcome.css +241 -0
- package/public/css/panels/assistant-bot.css +442 -0
- package/public/css/panels/dev-docs.css +292 -0
- package/public/css/panels/file-explorer.css +322 -0
- package/public/css/panels/git-panel.css +221 -0
- package/public/css/panels/mcp-manager.css +199 -0
- package/public/css/panels/tips-feed.css +353 -0
- package/public/css/ui/commands.css +273 -0
- package/public/css/ui/context-gauge.css +76 -0
- package/public/css/ui/file-picker.css +69 -0
- package/public/css/ui/image-attachments.css +106 -0
- package/public/css/ui/messages.css +884 -0
- package/public/css/ui/modals.css +122 -0
- package/public/css/ui/parallel.css +217 -0
- package/public/css/ui/permissions.css +110 -0
- package/public/css/ui/right-panel.css +481 -0
- package/public/css/ui/sessions.css +689 -0
- package/public/css/ui/status-bar.css +425 -0
- package/public/css/ui/toolbox.css +206 -0
- package/public/data/tips.json +218 -0
- package/public/icons/favicon.png +0 -0
- package/public/icons/icon-192.png +0 -0
- package/public/icons/icon-512.png +0 -0
- package/public/icons/whaly.png +0 -0
- package/public/index.html +1140 -0
- package/public/js/core/api.js +591 -0
- package/public/js/core/constants.js +3 -0
- package/public/js/core/dom.js +270 -0
- package/public/js/core/events.js +10 -0
- package/public/js/core/plugin-loader.js +153 -0
- package/public/js/core/store.js +39 -0
- package/public/js/core/utils.js +25 -0
- package/public/js/core/ws.js +64 -0
- package/public/js/features/agent-monitor.js +222 -0
- package/public/js/features/agents.js +1209 -0
- package/public/js/features/analytics.js +397 -0
- package/public/js/features/attachments.js +251 -0
- package/public/js/features/background-sessions.js +475 -0
- package/public/js/features/chat.js +589 -0
- package/public/js/features/cost-dashboard.js +152 -0
- package/public/js/features/dag-editor.js +399 -0
- package/public/js/features/easter-egg.js +46 -0
- package/public/js/features/home.js +270 -0
- package/public/js/features/projects.js +372 -0
- package/public/js/features/prompts.js +228 -0
- package/public/js/features/sessions.js +332 -0
- package/public/js/features/telegram.js +131 -0
- package/public/js/features/tour.js +210 -0
- package/public/js/features/voice-input.js +185 -0
- package/public/js/features/welcome.js +43 -0
- package/public/js/features/workflows.js +277 -0
- package/public/js/main.js +51 -0
- package/public/js/panels/assistant-bot.js +445 -0
- package/public/js/panels/dev-docs.js +380 -0
- package/public/js/panels/file-explorer.js +486 -0
- package/public/js/panels/git-panel.js +285 -0
- package/public/js/panels/mcp-manager.js +311 -0
- package/public/js/panels/tips-feed.js +303 -0
- package/public/js/ui/commands.js +114 -0
- package/public/js/ui/context-gauge.js +100 -0
- package/public/js/ui/diff.js +124 -0
- package/public/js/ui/disabled-tools.js +36 -0
- package/public/js/ui/export.js +74 -0
- package/public/js/ui/formatting.js +206 -0
- package/public/js/ui/header-dropdowns.js +72 -0
- package/public/js/ui/input-meta.js +71 -0
- package/public/js/ui/max-turns.js +21 -0
- package/public/js/ui/messages.js +387 -0
- package/public/js/ui/model-selector.js +20 -0
- package/public/js/ui/notifications.js +232 -0
- package/public/js/ui/parallel.js +176 -0
- package/public/js/ui/permissions.js +168 -0
- package/public/js/ui/right-panel.js +173 -0
- package/public/js/ui/shortcuts.js +143 -0
- package/public/js/ui/sidebar-toggle.js +29 -0
- package/public/js/ui/status-bar.js +172 -0
- package/public/js/ui/tab-sdk.js +623 -0
- package/public/js/ui/theme.js +38 -0
- package/public/manifest.json +13 -0
- package/public/offline.html +190 -0
- package/public/style.css +42 -0
- package/public/sw.js +91 -0
- package/server/agent-loop.js +385 -0
- package/server/dag-executor.js +265 -0
- package/server/orchestrator.js +514 -0
- package/server/paths.js +61 -0
- package/server/plugin-mount.js +56 -0
- package/server/push-sender.js +31 -0
- package/server/routes/agents.js +294 -0
- package/server/routes/bot.js +45 -0
- package/server/routes/exec.js +35 -0
- package/server/routes/files.js +218 -0
- package/server/routes/mcp.js +82 -0
- package/server/routes/messages.js +36 -0
- package/server/routes/notifications.js +37 -0
- package/server/routes/projects.js +207 -0
- package/server/routes/prompts.js +53 -0
- package/server/routes/sessions.js +103 -0
- package/server/routes/stats.js +143 -0
- package/server/routes/telegram.js +71 -0
- package/server/routes/tips.js +135 -0
- package/server/routes/workflows.js +81 -0
- package/server/summarizer.js +55 -0
- package/server/telegram-poller.js +205 -0
- package/server/telegram-sender.js +304 -0
- package/server/ws-handler.js +926 -0
- package/server.js +179 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tips": [
|
|
3
|
+
{
|
|
4
|
+
"id": "prompt-01",
|
|
5
|
+
"category": "prompting",
|
|
6
|
+
"title": "Be specific with context",
|
|
7
|
+
"body": "Instead of 'fix this bug', say 'fix the null pointer in auth.js line 42 — the user object is undefined when session expires'. More context = better results.",
|
|
8
|
+
"tags": ["basics", "context"],
|
|
9
|
+
"source": "https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/overview"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "prompt-02",
|
|
13
|
+
"category": "prompting",
|
|
14
|
+
"title": "Use role prompting",
|
|
15
|
+
"body": "Start with 'You are a senior TypeScript engineer reviewing this PR for security issues.' Role framing activates domain-specific knowledge patterns.",
|
|
16
|
+
"tags": ["advanced", "roles"],
|
|
17
|
+
"source": "https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/system-prompts"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "prompt-03",
|
|
21
|
+
"category": "prompting",
|
|
22
|
+
"title": "Chain of thought",
|
|
23
|
+
"body": "Add 'Think step by step' or 'First analyze, then implement' to get more thorough reasoning before code generation.",
|
|
24
|
+
"tags": ["reasoning", "quality"],
|
|
25
|
+
"source": "https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/chain-of-thought"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "prompt-04",
|
|
29
|
+
"category": "prompting",
|
|
30
|
+
"title": "Constrain the output",
|
|
31
|
+
"body": "Specify format: 'Return only the function, no explanation' or 'Give me a bullet list of 5 options'. Constraints reduce noise.",
|
|
32
|
+
"tags": ["format", "efficiency"],
|
|
33
|
+
"source": "https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/overview"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "mcp-01",
|
|
37
|
+
"category": "mcp",
|
|
38
|
+
"title": "What is MCP?",
|
|
39
|
+
"body": "Model Context Protocol lets Claude use external tools — file systems, databases, APIs. Think of it as plugins for AI. Each server exposes tools Claude can call.",
|
|
40
|
+
"tags": ["basics", "intro"],
|
|
41
|
+
"source": "https://modelcontextprotocol.io/introduction"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "mcp-02",
|
|
45
|
+
"category": "mcp",
|
|
46
|
+
"title": "Popular MCP servers",
|
|
47
|
+
"body": "filesystem (read/write files), github (PRs/issues), postgres (query DB), brave-search (web search), memory (persistent notes). Install via npx.",
|
|
48
|
+
"tags": ["tools", "setup"],
|
|
49
|
+
"source": "https://github.com/modelcontextprotocol/servers"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "mcp-03",
|
|
53
|
+
"category": "mcp",
|
|
54
|
+
"title": "Building custom MCP servers",
|
|
55
|
+
"body": "Use @modelcontextprotocol/sdk to build your own. Define tools with schemas, connect via stdio or SSE. Great for internal APIs and custom workflows.",
|
|
56
|
+
"tags": ["advanced", "development"],
|
|
57
|
+
"source": "https://modelcontextprotocol.io/quickstart/server"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "mcp-04",
|
|
61
|
+
"category": "mcp",
|
|
62
|
+
"title": "MCP security tips",
|
|
63
|
+
"body": "Always review tool permissions before approving. Use 'confirm writes' mode for MCP tools that modify data. Scope server access to specific directories.",
|
|
64
|
+
"tags": ["security", "best-practices"],
|
|
65
|
+
"source": "https://modelcontextprotocol.io/specification/2025-03-26/basic/security"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": "workflow-01",
|
|
69
|
+
"category": "workflows",
|
|
70
|
+
"title": "Plan before coding",
|
|
71
|
+
"body": "Use plan mode to have Claude analyze the codebase and propose an approach before writing code. Catches architectural issues early and saves iteration cycles.",
|
|
72
|
+
"tags": ["planning", "efficiency"],
|
|
73
|
+
"source": "https://docs.anthropic.com/en/docs/claude-code/overview"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "workflow-02",
|
|
77
|
+
"category": "workflows",
|
|
78
|
+
"title": "Iterative refinement",
|
|
79
|
+
"body": "Don't try to get everything in one prompt. Start broad, then refine: 'Now add error handling' → 'Add input validation' → 'Add tests'. Each step builds on the last.",
|
|
80
|
+
"tags": ["iteration", "quality"],
|
|
81
|
+
"source": "https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/overview"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "workflow-03",
|
|
85
|
+
"category": "workflows",
|
|
86
|
+
"title": "Use parallel mode for comparisons",
|
|
87
|
+
"body": "Open parallel mode to try different approaches side by side. Compare implementations, test strategies, or architectural patterns simultaneously.",
|
|
88
|
+
"tags": ["parallel", "comparison"]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "workflow-04",
|
|
92
|
+
"category": "workflows",
|
|
93
|
+
"title": "Session management",
|
|
94
|
+
"body": "Keep sessions focused on one task. Start a new session for unrelated work. Pin important sessions for quick access. Use search to find past conversations.",
|
|
95
|
+
"tags": ["organization", "sessions"]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "commands-01",
|
|
99
|
+
"category": "commands",
|
|
100
|
+
"title": "Essential slash commands",
|
|
101
|
+
"body": "/clear resets context, /compact summarizes the conversation, /cost shows token usage. Use /help to see all available commands.",
|
|
102
|
+
"tags": ["basics", "reference"],
|
|
103
|
+
"source": "https://docs.anthropic.com/en/docs/claude-code/cli-usage"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "commands-02",
|
|
107
|
+
"category": "commands",
|
|
108
|
+
"title": "Quick actions",
|
|
109
|
+
"body": "/review — get a code review. /fix — auto-fix issues. /test — generate tests. /explain — get an explanation. Most commands work with file context.",
|
|
110
|
+
"tags": ["actions", "productivity"],
|
|
111
|
+
"source": "https://docs.anthropic.com/en/docs/claude-code/cli-usage"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "commands-03",
|
|
115
|
+
"category": "commands",
|
|
116
|
+
"title": "Custom workflows",
|
|
117
|
+
"body": "Create reusable prompt templates in the toolbox. Combine with slash commands for one-click complex operations like 'refactor + test + review'.",
|
|
118
|
+
"tags": ["automation", "templates"]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "commands-04",
|
|
122
|
+
"category": "commands",
|
|
123
|
+
"title": "File attachments",
|
|
124
|
+
"body": "Attach files for context without pasting code. Claude sees the full file and can reference line numbers. Great for code reviews and debugging.",
|
|
125
|
+
"tags": ["files", "context"],
|
|
126
|
+
"source": "https://docs.anthropic.com/en/docs/claude-code/cli-usage"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "claude-md-01",
|
|
130
|
+
"category": "claude-md",
|
|
131
|
+
"title": "What is CLAUDE.md?",
|
|
132
|
+
"body": "A markdown file at your project root that gives Claude persistent context — coding standards, architecture decisions, common patterns. Loaded automatically every session.",
|
|
133
|
+
"tags": ["basics", "setup"],
|
|
134
|
+
"source": "https://docs.anthropic.com/en/docs/claude-code/memory"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": "claude-md-02",
|
|
138
|
+
"category": "claude-md",
|
|
139
|
+
"title": "What to include",
|
|
140
|
+
"body": "Tech stack, file structure, naming conventions, testing approach, deployment process. Include things you'd tell a new team member on day one.",
|
|
141
|
+
"tags": ["content", "best-practices"],
|
|
142
|
+
"source": "https://docs.anthropic.com/en/docs/claude-code/memory"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"id": "claude-md-03",
|
|
146
|
+
"category": "claude-md",
|
|
147
|
+
"title": "Keep it concise",
|
|
148
|
+
"body": "CLAUDE.md is included in every prompt — long files waste tokens. Aim for 200-500 lines. Use bullet points, not paragraphs. Link to docs instead of duplicating them.",
|
|
149
|
+
"tags": ["optimization", "tokens"],
|
|
150
|
+
"source": "https://docs.anthropic.com/en/docs/claude-code/memory"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "claude-md-04",
|
|
154
|
+
"category": "claude-md",
|
|
155
|
+
"title": "Example structure",
|
|
156
|
+
"body": "# Project\\n## Stack: Next.js 14, TypeScript, Prisma\\n## Conventions: kebab-case files, Zod validation\\n## Testing: Vitest + Testing Library\\n## Key dirs: src/app, src/lib, prisma/",
|
|
157
|
+
"tags": ["template", "example"],
|
|
158
|
+
"source": "https://docs.anthropic.com/en/docs/claude-code/memory"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"categories": {
|
|
162
|
+
"prompting": { "label": "Prompting", "icon": ">", "color": "var(--accent)" },
|
|
163
|
+
"mcp": { "label": "MCP", "icon": "#", "color": "var(--purple)" },
|
|
164
|
+
"workflows": { "label": "Workflows", "icon": "~", "color": "var(--success)" },
|
|
165
|
+
"commands": { "label": "Commands", "icon": "/", "color": "var(--warning, #e8a317)" },
|
|
166
|
+
"claude-md": { "label": "CLAUDE.md", "icon": "@", "color": "var(--error)" }
|
|
167
|
+
},
|
|
168
|
+
"feeds": [
|
|
169
|
+
{
|
|
170
|
+
"id": "devto-mcp",
|
|
171
|
+
"name": "DEV.to MCP",
|
|
172
|
+
"url": "https://dev.to/feed/tag/mcp",
|
|
173
|
+
"category": "mcp"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"id": "devto-aiagents",
|
|
177
|
+
"name": "DEV.to AI Agents",
|
|
178
|
+
"url": "https://dev.to/feed/tag/aiagents",
|
|
179
|
+
"category": "workflows"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"id": "devto-promptengineering",
|
|
183
|
+
"name": "DEV.to Prompting",
|
|
184
|
+
"url": "https://dev.to/feed/tag/promptengineering",
|
|
185
|
+
"category": "prompting"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"id": "devto-claude",
|
|
189
|
+
"name": "DEV.to Claude",
|
|
190
|
+
"url": "https://dev.to/feed/tag/claude",
|
|
191
|
+
"category": "prompting"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"id": "devto-llm",
|
|
195
|
+
"name": "DEV.to LLM",
|
|
196
|
+
"url": "https://dev.to/feed/tag/llm",
|
|
197
|
+
"category": "workflows"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"id": "build-to-launch",
|
|
201
|
+
"name": "Build to Launch",
|
|
202
|
+
"url": "https://buildtolaunch.substack.com/feed",
|
|
203
|
+
"category": "workflows"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": "devto-ai",
|
|
207
|
+
"name": "DEV.to AI",
|
|
208
|
+
"url": "https://dev.to/feed/tag/ai",
|
|
209
|
+
"category": "workflows"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"id": "simonwillison",
|
|
213
|
+
"name": "Simon Willison",
|
|
214
|
+
"url": "https://simonwillison.net/atom/everything/",
|
|
215
|
+
"category": "workflows"
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|