/outputai:output-dev-code-stylefrom outputai
Discovers project linting/formatting rules and applies them to generated TypeScript/JavaScript code, falling back to Output SDK conventions when no linter is configured.
Ships in outputai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generated code must match the style of the project it lives in. Many projects use their own linter or formatter (ESLint, Prettier, Biome, etc.) with rule sets that differ from Output's defaults. Always discover and follow the project's rules first. Only fall back to the Output SDK conventions below when the project has no linter or formatter configured.
Before writing or reviewing code, determine the project's style rules:
eslint.config.js, .eslintrc.*, biome.json, deno.json, or similar in the project root..prettierrc*, .editorconfig, or formatter settings in package.json.package.json for lint, lint:fix, format, or similar scripts.These rules reflect the Output SDK's own ESLint config. Apply them only when the project has no linter configured and no conflicting conventions are evident in existing code.
Never use trailing commas in objects, arrays, function parameters, or type definitions.
// CORRECT
const config = {
name: 'workflow',
timeout: 30000
};
const items = [ 'a', 'b', 'c' ];
export const myStep = step( {
name: 'myStep',
inputSchema: MyInputSchema,
outputSchema: MyOutputSchema,
fn: async input => {
return { result: input.value };
}
} );
// WRONG - trailing commas
const config = {
name: 'workflow',
timeout: 30000, // <-- not allowed
}
const items = [ 'a', 'b', 'c', ] // <-- not allowed
let Declarationslet is banned. Use const exclusively. When a value needs conditional assignment, use a ternary, an IIFE, or restructure the logic.
// CORRECT - ternary
const label = count > 1 ? 'items' : 'item';
// CORRECT - named helper for complex cases
const fetchWithFallback = async url => {
try {
return await fetchContent( url );
} catch {
return '[Content unavailable]';
}
};
const content = await fetchWithFallback( url );
// CORRECT - early return in a function
function resolve( input ) {
if ( input.mode === 'fast' ) {
return fastPath( input );
}
return standardPath( input );
}
// WRONG
let content; // <-- banned
try {
content = await fetchContent( url );
} catch {
content = '[Content unavailable]';
}
let label; // <-- banned
if ( count > 1 ) {
label = 'items';
} else {
label = 'item';
}
Single-parameter arrow functions must not have parentheses. Use parens only for zero, multiple, destructured parameters, or when a TypeScript return type annotation is present.
// CORRECT
items.map( item => item.id )
items.filter( s => s.url )
items.forEach( x => console.log( x ) )
fn: async input => { ... }
// Parens required for these cases:
items.reduce( ( acc, item ) => acc + item, 0 )
const run = ( { name, id } ) => `${name}-${id}`;
const noop = () => {};
fn: async ( input ): Promise<WorkflowOutput> => { ... } // return type annotation
// WRONG - unnecessary parens on single param
items.map( ( item ) => item.id )
items.filter( ( s ) => s.url )
fn: async ( input ) => { ... }
prefer-constAlways use const. If a binding is never reassigned, it must be const.
When an expression spans multiple lines, the operator stays on the first line.
// CORRECT
const result = longExpression +
anotherExpression;
const isValid = conditionA &&
conditionB &&
conditionC;
const value = condition ?
trueResult :
falseResult;
// WRONG - operator on next line
const result = longExpression
+ anotherExpression;
fn( x ) not fn(x), except empty parens fn()[ 'a', 'b' ] not ['a', 'b']{ key: value } not {key: value}snake_case (e.g., fetch_data.ts, html_renderer.ts)snake_case (e.g., ai_hn_digest, shared_utils)vitest.config.js, eslint.config.js)| Rule | Correct | Wrong |
|---|---|---|
| Trailing comma | { a: 1 } | { a: 1, } |
| Variable declaration | const x = 1 | let x = 1 |
| Single-param arrow | x => x.id | ( x ) => x.id |
| Operator linebreak | a +\n b | a\n + b |
| Parens spacing | fn( x ) | fn(x) |
npm run lint, npx eslint, etc.), run it and fix any violations.npm run format, npx prettier --write, etc.), run it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
51 skills in this plugin
/output-build-workflowImplement an Output SDK workflow from a plan document. Use when the user asks to build, implement, or code a workflow from an existing plan, or after output-plan-workflow has produced a plan and the user is ready to build./output-credentials-editView, edit, and set encrypted credentials in an Output.ai project. Use when adding secrets, updating API keys, verifying credential values, or retrieving a specific credential./output-credentials-env-varsWire encrypted credentials to environment variables using the credential: convention. Use when setting up LLM provider keys (ANTHROPIC_API_KEY, OPENAI_API_KEY) or any env var that should come from encrypted credentials.npx claudepluginhub growthxai/output --plugin outputaiOther plugins' skills for the same job