create-lang-plugin
CREATE LANG PLUGIN
A lang plugin is a single CommonJS file at <projectDir>/lang/<id>.js. gm-cc's hooks auto-discover it — no hook editing, no settings changes. The plugin gets three integration points: exec dispatch, LSP diagnostics, and context injection.
PLUGIN SHAPE
'use strict';
module.exports = {
id: 'mytool', // must match filename: lang/mytool.js
exec: {
match: /^exec:mytool/, // regex tested against full "exec:mytool\n<code>" string
run(code, cwd) { // returns string or Promise<string>
// ...
}
},
lsp: { // optional — synchronous only
check(fileContent, cwd) { // returns Diagnostic[] synchronously
// ...
More from anentrypoint/plugforge
planning
Mutable discovery and PRD construction. Invoke at session start and any time new unknowns surface during execution. Loop until no new mutables are discovered.
100agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
97gm
Immutable programming state machine. Root orchestrator. Invoke for all work coordination via the Skill tool.
86gm-execute
EXECUTE phase. Resolve all mutables via witnessed execution. Any new unknown triggers immediate snake back to planning — restart chain from PLAN.
70gm-emit
EMIT phase. Pre-emit debug, write files, post-emit verify from disk. Any new unknown triggers immediate snake back to planning — restart chain.
69gm-complete
VERIFY and COMPLETE phase. End-to-end system verification and git enforcement. Any new unknown triggers immediate snake back to planning — restart chain.
69