PowerPacks for your dev workflow
A modular VS Code extension with specialized tools for WordPress, Elementor, and WooCommerce development. Stop wasting time on repetitive setupโinstall the tools you need and get back to building.
Foundational tools for project sanity, context, and health
- Generate Context Map - Scans your file tree and creates an
Agent.mdfor AI agents - Context-Aware File Audit - Detects framework and applies appropriate best practice rules
- Context-Aware Workspace Audit - Audits entire workspace with dynamic rule loading
- Set Project Guardrails - Interactive setup of coding standards (.pcw-guardrails.json)
- Update Guardrails - View and manage project coding rules
- Secret Scanner - Finds 20+ types of hardcoded secrets (API keys, passwords, tokens)
- Dependency Health Check - Audits npm/composer packages for vulnerabilities and updates
- Scaffold Blueprint - Rapid project scaffolding from JSON templates
- Audit Plugin Redundancy - Detects conflicting WordPress plugins (20 categories)
- Reload Rules - Hot-reload audit rules without restarting VS Code
Standards, PHP compliance, and Theme structure
- Child Theme Scaffolder - One-click generation of theme files
- WPCS Compliance Runner - Runs PHP Code Sniffer against WordPress standards
- (More features coming soon)
The "Anti-Error" tools to stop "Files can't be used" errors
- Widget Pre-Flight Audit โญ - Validates PHP against Elementor's
Widget_Baserequirements- Checks class extension
- Validates required methods (
get_name(),render()) - Detects inline CSS issues
- Flags deprecated methods
- Widget Boilerplate Generator - Creates perfect widget class structure
- (More features coming soon)
Security, template overrides, and data integrity
- Template Override Checker - Finds outdated theme files
- Custom Tab Generator - Scaffolds My Account/Product tabs
- (More features coming soon)
| Pack | Level | Icon | Tool Name | Description |
|---|---|---|---|---|
| Agency | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Agency | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Agency | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| AI | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| AI | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| AI | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| All Systems Go | Core | ๐ง | Generate Context Map | Maps file structure for AI Context. |
| All Systems Go | Core | ๐ก๏ธ | Set Guardrails | Defines rules for AI generation. |
| All Systems Go | Core | ๐ | Update Guardrails | Auto-updates rules based on code drift. |
| All Systems Go | Core | ๐ | Secret Scanner | Finds API keys before you commit. |
| All Systems Go | Core | ๐ต๏ธ | Code Drift Detector | Warns of naming convention violations. |
| All Systems Go | Core | ๐งน | Find Placeholders | Locates TODO and dummy text. |
| All Systems Go | Core | ๐ | JSON Validator | Strict syntax check for config files. |
| All Systems Go | Core | โ๏ธ | Snippets-to-File | Saves code blocks to snippets instantly. |
| All Systems Go | Core | ๐ | Global Search/Replace | Regex-powered multi-file edit. |
| All Systems Go | Core | ๐ฆ | Dep. Health Check | Scans package.json for deprecated libs. |
| All Systems Go | Power | โ๏ธ | Config Generator | Creates config files from templates. |
| All Systems Go | Power | ๐ | Code Metrics | Analyzes complexity, duplication, and maintainability. |
| All Systems Go | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Astra | Core | ๐งฉ | Header Injector | Safely inject code into Astra Header. |
| Astra | Core | ๐จ | Color Palette Sync | PHP snippet to sync customizer colors. |
| Astra | Core | โก | Performance Audit | Disables unused Astra modules. |
| Astra | Core | ๐ฃ | Hook Visualizer | Maps all Astra-specific hooks. |
| Astra | Core | ๐ฆถ | Footer Builder | Scaffolds footer widget areas. |
| Astra | Core | ๐ | Child Theme Gen | Astra-specific child theme setup. |
| Astra | Core | ๐ซ | White Labeler | Hides Astra branding in admin. |
| Astra | Core | ๐ฑ | Breakpoint Manager | Adjusts mobile/tablet breakpoints. |
| Astra | Core | ๐๏ธ | Font Self-Host | Downloads Google Fonts locally. |
| Astra | Core | ๐ง | Custom Layouts | Registers 'Custom Layout' post types. |
| Astra | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Astra | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Cloudflare | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Cloudflare | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Cloudflare | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Elementor | Core | Widget Pre-Flight | Audits code against Elementor API. | |
| Elementor | Core | ๐ | Widget Boilerplate | Generates valid Widget classes. |
| Elementor | Core | ๐ | Control Repeater Gen | Scaffolds complex repeater arrays. |
| Elementor | Core | โ | Site Kit Validator | Checks JSON schema before import. |
| Elementor | Core | ๐ | Dynamic Tag Skeleton | Boilerplate for Custom Tags. |
| Elementor | Core | ๐จ | Inline CSS Extractor | Moves styles to controls. |
| Elementor | Core | ๐ผ๏ธ | Widget Icon Register | Enqueues custom editor icons. |
| Elementor | Core | Deprecation Scanner | Finds old methods like _content_template. | |
| Elementor | Core | ๐ | Editor Script Enqueue | Loads JS only in Editor. |
| Elementor | Core | ๐๏ธ | Custom Cat Register | Adds custom category to panel. |
| Elementor | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Elementor | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| GitHub | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| GitHub | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| GitHub | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Google Workspace | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Google Workspace | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Google Workspace | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Jetpack | Core | ๐ | Boost Config | Optimizes Critical CSS generation. |
| Jetpack | Core | ๐ | Search Config | Customize Jetpack Search filters. |
| Jetpack | Core | ๐ก๏ธ | Security Audit | Checks Brute Force protection status. |
| Jetpack | Core | ๐ผ๏ธ | CDN Enabler | Ensures Image CDN is active. |
| Jetpack | Core | ๐ | Stats Widget | View site stats in VS Code. |
| Jetpack | Core | ๐ฑ | Social Auto-Share | Configures Publicize settings. |
| Jetpack | Core | ๐พ | Backup Status | Verifies VaultPress backups. |
| Jetpack | Core | ๐ | CRM Contact Sync | Syncs forms to CRM. |
| Jetpack | Core | โก | Module Manager | Disables unused Jetpack modules. |
| Jetpack | Core | ๐ง | Dev Mode Toggle | Safely enable Dev Mode for local. |
| Jetpack | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Jetpack | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Mac Automations | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Mac Automations | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Mac Automations | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Shopify | Core | ๐จ | Theme Check | Runs Shopify Theme Linter. |
| Shopify | Core | ๐๏ธ | Liquid Scaffold | Generates common Liquid sections. |
| Shopify | Core | ๐ | Sync Theme | Watches for changes & pushes to store. |
| Shopify | Core | ๐ฆ | Metafield Manager | Defines metafield definitions. |
| Shopify | Core | ๐ | Cart Script Gen | Scaffolds Shopify Scripts (Plus). |
| Shopify | Core | ๐ฑ | Responsive Test | Previews section on mobile view. |
| Shopify | Core | โก | App Embed Block | Creates app block structure. |
| Shopify | Core | ๐ | SEO Audit | Checks product/collection SEO tags. |
| Shopify | Core | ๐ | Schema Validator | Validates settings_schema.json. |
| Shopify | Core | ๐ | Deploy to Live | Safe deployment |
| Shopify | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Shopify | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Tailwind | Core | ๐จ | Config Generator | Creates optimized tailwind.config.js. |
| Tailwind | Core | ๐ฆ | Class Sorter | Sorts classes automatically. |
| Tailwind | Core | ๐ฑ | Responsive Preview | Test breakpoints in sidebar. |
| Tailwind | Core | ๐ง | Conflict Killer | Prefixes classes to avoid WP clashes. |
| Tailwind | Core | ๐ | Custom Base Styles | Scaffolds @layer base css. |
| Tailwind | Core | ๐งฉ | Component Extractor | Converts HTML to @apply components. |
| Tailwind | Core | ๐ | Palette Sync | Syncs Tailwind colors to WP Theme.json. |
| Tailwind | Core | โก | JIT Mode Check | Ensures Just-In-Time compiler is on. |
| Tailwind | Core | ๐ | Unused CSS Purge | Audit content paths for purging. |
| Tailwind | Core | ๐ก | Prose Config | Sets up @tailwindcss/typography. |
| Tailwind | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Tailwind | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| TD SYNNEX | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| TD SYNNEX | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| TD SYNNEX | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| WooCommerce | Core | โก | Template Override Check | Finds outdated theme files. |
| WooCommerce | Core | ๐ | Custom Tab Gen | Adds tabs to My Account/Product. |
| WooCommerce | Core | ๐ | Checkout Field Editor | Generates field removal logic. |
| WooCommerce | Core | ๐ณ | Gateway Skeleton | Class structure for payments. |
| WooCommerce | Core | ๐ท๏ธ | Order Meta Debugger | Reveals hidden order meta. |
| WooCommerce | Core | ๐๏ธ | Hook Visualizer | Shows visual hook locations. |
| WooCommerce | Core | ๐ฒ | Price Format Helper | Strict currency formatting. |
| WooCommerce | Core | ๐ | Endpoint Generator | Creates custom URL endpoints. |
| WooCommerce | Core | ๐ฅ | Product Data Import | Validates CSV headers. |
| WooCommerce | Core | ๐ง | Email Previewer | Renders transactional emails. |
| WooCommerce | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| WooCommerce | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Ingram Micro | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Ingram Micro | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Ingram Micro | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Pressable | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Pressable | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Pressable | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| QuickBooks Online | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| QuickBooks Online | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| QuickBooks Online | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Salesforce CRM | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Salesforce CRM | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Salesforce CRM | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Jetpack CRM | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Jetpack CRM | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Jetpack CRM | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| MailPoet | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| MailPoet | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| MailPoet | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| WordPress | Core | ๐๏ธ | Child Theme Scaffold | Generates functions.php & style.css. |
| WordPress | Core | โ๏ธ | WPCS Compliance | Runs PHPCS against WP Standards. |
| WordPress | Core | ๐ท๏ธ | Plugin Header Gen | Creates standard plugin comments. |
| WordPress | Core | ๐ฃ | Hook Mapper | Maps all custom hooks in theme. |
| WordPress | Core | ๐ | Debug Log Viewer | Live tail of debug.log in VS Code. |
| WordPress | Core | ๐ | Salt Generator | Generates secure wp-config keys. |
| WordPress | Core | ๐๏ธ | DB Prefix Changer | SQL queries to rename tables. |
| WordPress | Core | ๐ฎ | Capability Checker | Audits current_user_can() usage. |
| WordPress | Core | ๐ | Local Env Switcher | Toggles URLs for local/staging. |
| WordPress | Core | ๐งผ | Sanitize Audit | Flags unsanitized inputs. |
| WordPress | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| WordPress | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Unifi Network | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Unifi Network | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Unifi Network | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Unifi Site Manager | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Unifi Site Manager | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Unifi Site Manager | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Unifi Identity Enterprise | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Unifi Identity Enterprise | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Unifi Identity Enterprise | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Unifi Protect | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Unifi Protect | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Unifi Protect | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
| Google Cloud | Core | ๐ฃ๏ธ | Coming Soon | New Features |
| Google Cloud | Power | ๐ฃ๏ธ | Coming Soon | New Features |
| Google Cloud | SuperPower | ๐ฃ๏ธ | Coming Soon | New Features |
- VS Code version 1.80.0 or higher
- Node.js 18.x or higher (for development)
- TypeScript 5.2+ (for development)
-
Clone the repository:
git clone https://github.com/PCWProps/pcw-toolbelt.git cd pcw-toolbelt -
Install dependencies:
npm install
-
Compile the extension:
npm run compile
-
Run in VS Code:
- Press
F5to open a new VS Code window with the extension loaded - Or run
npm run watchto auto-compile on changes
- Press
- Open the Command Palette (
Cmd+Shift+Pon macOS,Ctrl+Shift+Pon Windows/Linux) - Type
PCW:to see all available commands - Select the tool you need
- Open a PHP file containing an Elementor widget
- Run:
PCW: Audit Elementor Widget (Pre-Flight) - Review the output for any structural issues
Sample Output:
โ Class Structure Validated
โ Namespaces Checked
โ ๏ธ Missing method: public function get_icon()
โ No Inline CSS Detected
- Open your project workspace
- Run:
PCW: Generate Context Map - An
Agent.mdfile will be created with your project structure
The extension uses a modular PowerPack system:
src/
โโโ extension.ts # Main entry point
โโโ packs/
โโโ all-systems-go/ # "All Systems Go" Pack (always loaded)
โ โโโ index.ts # Command registration
โ โโโ contextMap.ts # Context Map logic
โโโ wordpress/ # WordPress Pack
โ โโโ index.ts
โโโ elementor/ # Elementor Pack
โ โโโ index.ts
โ โโโ auditor.ts # Pre-Flight Audit logic
โโโ woocommerce/ # WooCommerce Pack
โโโ index.ts
Each PowerPack is self-contained and registers its own commands during activation.
/src- TypeScript source files/out- Compiled JavaScript (generated)package.json- Extension manifest and dependenciestsconfig.json- TypeScript configuration
npm run compile # Compile TypeScript to JavaScript
npm run watch # Watch mode for development
npm run lint # Run ESLint
npm run test # Run tests (coming soon)-
Define the command in
package.json:{ "command": "pcw.yourpack.yourCommand", "title": "PCW: Your Command Title", "category": "YourPack" } -
Register in the PowerPack's
index.ts:const yourCmd = vscode.commands.registerCommand( "pcw.yourpack.yourCommand", () => { vscode.window.showInformationMessage("Hello!"); } ); context.subscriptions.push(yourCmd);
Contributions are welcome! Please follow these guidelines:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with VS Code Extension API
- Inspired by the WordPress, Elementor, and WooCommerce communities
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Website: PCW Props
Load up your ToolBelt. Ship faster. โก