glootie-cc 2.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/README.md +55 -0
- package/claude-plugin.json +119 -0
- package/context/cleanup-guidelines.md +3 -0
- package/context/work-guidelines.md +24 -0
- package/package.json +38 -0
package/README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# WFGY Enhanced Claude Code Plugin
|
|
2
|
+
|
|
3
|
+
An advanced Claude Code plugin that provides comprehensive automated workflows, WFGY integration, and bundled MCP tools for enhanced development productivity.
|
|
4
|
+
|
|
5
|
+
## Structure
|
|
6
|
+
|
|
7
|
+
- `claude-plugin.json` - Main plugin configuration with advanced hooks and bundled MCP servers
|
|
8
|
+
- `context/work-guidelines.md` - Work guidelines loaded on user prompts
|
|
9
|
+
- `context/cleanup-guidelines.md` - Cleanup guidelines loaded on session stop
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
1. Copy the plugin files to your desired location
|
|
14
|
+
2. Load the plugin in Claude Code settings
|
|
15
|
+
3. MCP tools are automatically bundled and available
|
|
16
|
+
|
|
17
|
+
## Features
|
|
18
|
+
|
|
19
|
+
### Automated Hooks
|
|
20
|
+
- **UserPromptSubmit**: Automatically loads work guidelines and runs WFGY hook on every user prompt
|
|
21
|
+
- **Stop**: Automatically runs cleanup guidelines and WFGY hook when session stops
|
|
22
|
+
- **SessionStart**: Automatically initializes MCP thorns when session begins
|
|
23
|
+
- **PreToolUse**: Shows notifications before Write/Edit/Bash operations
|
|
24
|
+
- **PostToolUse**: Confirms completion of Write/Edit/Bash operations
|
|
25
|
+
- **SessionEnd**: Automatically saves WFGY context on session end
|
|
26
|
+
|
|
27
|
+
### Bundled MCP Tools
|
|
28
|
+
- **glootie** - Code execution and testing via `mcp-glootie@latest`
|
|
29
|
+
- **vexify** - Code search and AST analysis via `vexify@latest`
|
|
30
|
+
- **playwright** - Browser automation and testing via `@playwright/mcp@latest`
|
|
31
|
+
- **mcp-thorns** - WFGY integration (loaded via hooks)
|
|
32
|
+
|
|
33
|
+
### Comprehensive Permissions
|
|
34
|
+
Full tool access including:
|
|
35
|
+
- **Core Tools**: Read, Write, Edit, Bash, Task, WebFetch, Glob, Grep, TodoWrite
|
|
36
|
+
- **MCP Tools**: glootie (execute, ast_tool, caveat), playwright (browser automation), vexify (search_code)
|
|
37
|
+
|
|
38
|
+
### Plugin Settings
|
|
39
|
+
- **autoSave**: Enabled for automatic saving
|
|
40
|
+
- **compactOnStop**: Disabled to preserve context
|
|
41
|
+
- **notificationTimeout**: 5 seconds
|
|
42
|
+
- **debugMode**: Disabled for production use
|
|
43
|
+
|
|
44
|
+
## Workflow Automation
|
|
45
|
+
|
|
46
|
+
The plugin provides fully automated workflows:
|
|
47
|
+
|
|
48
|
+
1. **Session Start**: Initializes WFGY and MCP tools
|
|
49
|
+
2. **During Work**: Provides guidance and notifications for all operations
|
|
50
|
+
3. **Session End**: Saves context and runs cleanup procedures
|
|
51
|
+
|
|
52
|
+
No manual command invocation needed - everything runs automatically through hooks.
|
|
53
|
+
|
|
54
|
+
## Version
|
|
55
|
+
**v2.0.0** - Enhanced with advanced hooks and comprehensive MCP integration
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": ["Read", "Write", "Edit", "Bash", "Task", "WebFetch", "Glob", "Grep", "TodoWrite", "mcp__glootie__execute", "mcp__glootie__ast_tool", "mcp__glootie__caveat", "mcp__playwright__browser_navigate", "mcp__playwright__browser_click", "mcp__playwright__browser_type", "mcp__playwright__browser_snapshot", "mcp__playwright__browser_close", "mcp__vexify__search_code"]
|
|
4
|
+
},
|
|
5
|
+
"mcpServers": {
|
|
6
|
+
"glootie": {
|
|
7
|
+
"command": "npx",
|
|
8
|
+
"args": ["-y", "mcp-glootie@latest"]
|
|
9
|
+
},
|
|
10
|
+
"vexify": {
|
|
11
|
+
"command": "npx",
|
|
12
|
+
"args": ["-y", "vexify@latest", "mcp"]
|
|
13
|
+
},
|
|
14
|
+
"playwright": {
|
|
15
|
+
"command": "npx",
|
|
16
|
+
"args": ["-y", "@playwright/mcp@latest"]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"hooks": {
|
|
20
|
+
"UserPromptSubmit": [
|
|
21
|
+
{
|
|
22
|
+
"matcher": "*",
|
|
23
|
+
"hooks": [
|
|
24
|
+
{
|
|
25
|
+
"type": "command",
|
|
26
|
+
"command": "npx -y wfgy hook && cat CLAUDE.md && npx -y mcp-thorns@latest && cat ./context/work-guidelines.md"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"Stop": [
|
|
32
|
+
{
|
|
33
|
+
"matcher": "*",
|
|
34
|
+
"hooks": [
|
|
35
|
+
{
|
|
36
|
+
"type": "command",
|
|
37
|
+
"command": "npx -y wfgy@latest hook && cat ./context/cleanup-guidelines.md"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"SessionStart": [
|
|
43
|
+
{
|
|
44
|
+
"matcher": "*",
|
|
45
|
+
"hooks": [
|
|
46
|
+
{
|
|
47
|
+
"type": "command",
|
|
48
|
+
"command": "npx -y mcp-thorns@latest"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"PreToolUse": [
|
|
54
|
+
{
|
|
55
|
+
"matcher": ["Write", "Edit"],
|
|
56
|
+
"hooks": [
|
|
57
|
+
{
|
|
58
|
+
"type": "command",
|
|
59
|
+
"command": "echo \"🔧 Preparing to modify codebase...\""
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"matcher": ["Bash"],
|
|
65
|
+
"hooks": [
|
|
66
|
+
{
|
|
67
|
+
"type": "command",
|
|
68
|
+
"command": "echo \"💻 Executing shell command...\""
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"PostToolUse": [
|
|
74
|
+
{
|
|
75
|
+
"matcher": ["Write", "Edit"],
|
|
76
|
+
"hooks": [
|
|
77
|
+
{
|
|
78
|
+
"type": "command",
|
|
79
|
+
"command": "echo \"✅ Code modification complete\""
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"matcher": ["Bash"],
|
|
85
|
+
"hooks": [
|
|
86
|
+
{
|
|
87
|
+
"type": "command",
|
|
88
|
+
"command": "echo \"✅ Shell command executed\""
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"SessionEnd": [
|
|
94
|
+
{
|
|
95
|
+
"matcher": "*",
|
|
96
|
+
"hooks": [
|
|
97
|
+
{
|
|
98
|
+
"type": "command",
|
|
99
|
+
"command": "echo \"👋 Session ended - WFGY context saved\""
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"alwaysThinkingEnabled": false,
|
|
106
|
+
"settings": {
|
|
107
|
+
"autoSave": true,
|
|
108
|
+
"compactOnStop": false,
|
|
109
|
+
"notificationTimeout": 5000,
|
|
110
|
+
"debugMode": false
|
|
111
|
+
},
|
|
112
|
+
"metadata": {
|
|
113
|
+
"name": "glootie-cc",
|
|
114
|
+
"version": "2.0.0",
|
|
115
|
+
"description": "Advanced Claude Code plugin with WFGY integration, MCP tools, and automated hooks",
|
|
116
|
+
"author": "AnEntrypoint",
|
|
117
|
+
"homepage": "https://github.com/AnEntrypoint/glootie-cc"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
Assign wfgy mutables to any issues that remain, to troubleshoot and fix them then scan the codebase to see if there are any other areas that should also be updated because of these changes, then use WFGY to determine if there's architectural changes that must now happen, and finally if the project is deployable, deploy it, if it's an npm project, publish it, and merge and sync the github intelligently, then clean up any files we've left behind in the codebase, that aren't part of the program's permanent structure, and use WFGY the selection of code if there's any complexity in the github merge to ensure we intelligently merge additions and removals whenever they represent an intentional advancement in the codebase.
|
|
2
|
+
|
|
3
|
+
Mandatory: there must only be one comment in every file, at the top of the file, with a super compact description of the technical caveats, intended exports and imports, relationship to the rest of the program structure and internal function of it, we must ALWAYS update the spec of each file we edited, if we see a code file with no spec at the top, it must immediately be added, we must immediately remove any comments we find that's not that comment, no exceptions. Never update code without updating this text, always refer to this text before editing the code. If our codebase analysis exposes files with more or less than one comment, fix it immediately. Use MCP playwright never use regular playwright.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
Do not create files that aren't a part of the permanent structure of the codebase unless asked for.
|
|
2
|
+
Never add any mocks or simulations anywhere.
|
|
3
|
+
Only write primary implementations and never make fallbacks of any kind.
|
|
4
|
+
Always first check that we're not re-implementing an existing part before making new parts.
|
|
5
|
+
|
|
6
|
+
Memorize everything you learn to make it work to CLAUDE.md. We want to memorize how things work (NO CHANGELOGS JUST TECH INFO) not what's been done (IN THE PROJECT CODEBASE) continuously. It's not a log or a work history, it's for all the technical caveats and notes. Always clean it up while editing it, remove any changelogs from it, it must be as concise as possible without losing any meaning, zero additional tokens. Otherwise if the information applies to all projects edit ~/.claude/CLAUDE.md so you don't make mistakes in the future, update it and remove things that no longer apply.
|
|
7
|
+
|
|
8
|
+
# VERY IMPORTANT YOU MUST **ALWAYS DO THIS USING MCP** **(NO EXCEPTIONS)**:
|
|
9
|
+
- If there's client side code create global to access client side parts in real time for debugging
|
|
10
|
+
- Analyze and handle all issues before implementing in code, be as methodical and deal with all corner cases first, find ground truth by executing code to make sure you measure-twice-cut-once
|
|
11
|
+
- Use the mop-and-bucket approach to check the rest of the codebase and make sure we don't make duplicate implementations, consolidate all duplicates, keep the codebase simple, well frameworked, convention-over-configuration, configuration-over-code at all times
|
|
12
|
+
- Make all outstanding codebase changes immediately, don't stop when there's work left to do
|
|
13
|
+
- Before making changes to client side code, do code executions in playwright mcp to find out if the changes will work
|
|
14
|
+
- Test and change as many times as needed to finish all the work requested, never under any circumstances finish or summarize when there's work left to do. Check what mcp tools are available and use what's useful
|
|
15
|
+
|
|
16
|
+
Be forward thinking about architectural sanity, if something should be done, to improve the architecture, generalize or DRY the code, do it immediately before continuing. Our code style must be at all times concise, DRY, generalized and forward thinking structurally.
|
|
17
|
+
|
|
18
|
+
If a file is more than 200 lines split it immediately before continuing.
|
|
19
|
+
When troubleshooting any issue look back a few versions in the git history to see if it's a regression, use the history to guide to back to a working version if possible, otherwise choose a solution.
|
|
20
|
+
|
|
21
|
+
Always use a persistent background shell to do your tests.
|
|
22
|
+
|
|
23
|
+
When using playwright, always close everything before you start your test, this will sort out the cache.
|
|
24
|
+
Use vexify, glootie, and playwright as much as possible when available. Test server side ideas in glootie execute and client side ideas in playwright code execution before changing code, use them to debug in real time by executing, use vexify for code lookups when you don't know the exact syntax or for searching for multiple things that are similar.
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "glootie-cc",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "Advanced Claude Code plugin with WFGY integration, MCP tools, and automated hooks",
|
|
5
|
+
"main": "claude-plugin.json",
|
|
6
|
+
"files": [
|
|
7
|
+
"claude-plugin.json",
|
|
8
|
+
"context/",
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
11
|
+
"keywords": [
|
|
12
|
+
"claude-code",
|
|
13
|
+
"claude-plugin",
|
|
14
|
+
"wfgy",
|
|
15
|
+
"mcp",
|
|
16
|
+
"automation",
|
|
17
|
+
"glootie"
|
|
18
|
+
],
|
|
19
|
+
"author": "AnEntrypoint",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://github.com/AnEntrypoint/glootie-cc.git"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/AnEntrypoint/glootie-cc#readme",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/AnEntrypoint/glootie-cc/issues"
|
|
28
|
+
},
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=16.0.0"
|
|
31
|
+
},
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"@anthropic-ai/claude-code": "*"
|
|
34
|
+
},
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
}
|
|
38
|
+
}
|