generate
Skill6 starsChanged 14 days agoApache-2.0View on GitHub
Create a new artifact (text, code, plan, data) under specified constraints. Use when producing content, writing code, designing solutions, or synthesizing outputs.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- anombyte93/prd-taskmastertheir own version, first seen Nov 8, 2026
- AntonioCardenas/generate-nanobananatheir own version, first seen Nov 3, 2026
- WeAIClub/resume-skillstheir own version, first seen Oct 25, 2026
- rust-off-rails/rustoffrailstheir own version, first seen Oct 25, 2026
- styrir/skillstheir own version, first seen Oct 17, 2026
- ayrshare/ayrshare-social-media-api-claude-plugintheir own version, first seen Oct 13, 2026
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- brocoders/nestjs-boilerplate★ 4.4ksame name
- anombyte93/prd-taskmaster★ 608same name
- rust-off-rails/rustoffrails★ 49same name
- KingGyuSuh/codex-image-in-cc★ 35same name
- microsoft/Employee-Self-Service-Agent-Developer-Kit★ 29same name
- ayrshare/ayrshare-social-media-api-claude-plugin★ 19same name
- Hassaan146/claude-skills★ 18same name
- lisovet/claude-skills★ 7same name
- AntonioCardenas/generate-nanobanana★ 6same name
- Roentek/Claude_Code_Boilerplate_Framework★ 4same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- attributeSkill
- auditSkill
- gap-analysis-workflowSkill
- checkpointSkill
- classifySkill
- compareSkill
- constrainSkill
- critiqueSkill
- debug-workflowSkill
- decomposeSkill
- delegateSkill
- detectSkill
- digital-twin-bootstrapSkill
- digital-twin-sync-workflowSkill
- discover-capabilitiesSkill
- discoverSkill
- executeSkill
- explainSkill
- groundSkill
- inquireSkill
- integrateSkill
- invokeSkill
- measureSkill
- mutateSkill
- observeSkill
- persistSkill
- perspective-validationSkill
- planSkill
- predictSkill
- recallSkill
- receiveSkill
- retrieveSkill
- rollbackSkill
- searchSkill
- sendSkill
- simulateSkill
- stateSkill
- synchronizeSkill
- transformSkill
- transitionSkill
- verifySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 14 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Clarify artifact requirements: Ensure constraints are understood
- Distinctive: line 38
Must-have: absolute requirements (format, structure, compatibility)
- Distinctive: line 39
Should-have: preferences (style, conventions, optimization)
- Distinctive: line 40
Must-not-have: exclusions (patterns to avoid, security constraints)
- Distinctive: line 43
Read existing code/docs for style consistency
- Distinctive: line 49
Consider multiple approaches if request is complex
- Distinctive: line 50
Document key design decisions
- Distinctive: line 53
Follow identified patterns and conventions
- Distinctive: line 55
Document any constraints that conflict
- Distinctive: line 57
Validate constraints: Verify each constraint is satisfied
- Distinctive: line 216
Evidence pattern: Read existing codebase for patterns, reference library documentation for best practices.
- Distinctive: line 321
Verification tools: Read (for pattern consistency), schema validators, linters
- Distinctive: line 333
Do not generate content that violates constraints - report conflicts instead
- Distinctive: line 350
Never generate without constraints (unbounded generation)
- Very specific: line 351
Avoid generate for retrieval (use search or retrieve)
- Very specific: line 352
Do not use generate for analysis (use estimate, compare, etc.)
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Intent
Produce a new artifact that satisfies specified constraints and serves a defined purpose. Generation is creative synthesis bounded by requirements, not mere retrieval or transformation.
Success criteria:
- Artifact satisfies all stated constraints
- Rationale explains design decisions
- Quality signals demonstrate fitness for purpose
- Safety considerations documented
Compatible schemas:
schemas/output_schema.yaml
Inputs
| Parameter | Required | Type | Description |
specification | Yes | string|object | What to generate |
format | No | string | Output format: markdown, json, yaml, typescript, etc. |
constraints | No | object | Requirements the artifact must satisfy |
Inputs not listed here are outside the capability's contract: a workflow step that binds them gets W604 (STANDARD v1.1 §5.5).
Procedure
- Clarify artifact requirements: Ensure constraints are understood
- Must-have: absolute requirements (format, structure, compatibility)
- Should-have: preferences (style, conventions, optimization)
- Must-not-have: exclusions (patterns to avoid, security constraints)
- Gather context: Collect relevant reference material
- Read existing code/docs for style consistency
- Identify patterns to follow or avoid
- Understand integration points and dependencies
- Design approach: Plan the generation strategy
- Outline structure before detailed generation
- Consider multiple approaches if request is complex
- Document key design decisions
- Generate artifact: Produce the content systematically
- Follow identified patterns and conventions
- Satisfy constraints in priority order
- Document any constraints that conflict
- Validate constraints: Verify each constraint is satisfied
- Mark each constraint as satisfied/unsatisfied
- Note any compromises or partial satisfaction
- Assess quality: Evaluate fitness for purpose
- Correctness: Does it work as intended?
- Completeness: Is anything missing?
- Maintainability: Is it understandable and modifiable?
- Safety: Are there security or reliability concerns?
- Document rationale: Explain why this design
- Key decisions and their reasoning
- Alternatives considered and why rejected
- Known limitations or future considerations
- Ground claims: Reference sources that informed generation
Output Contract
Return a structured object:
content: string | object # The generated artifact
metadata: # Generation metadata
type: string # text, code, plan, config, schema, etc.
format: string # markdown, json, yaml, typescript, etc.
constraints_used:
- constraint: string # Constraint description
satisfied: boolean # Was it met?
notes: string # How it was satisfied or why not
rationale: string # Why this design/approach
alternatives_considered: array[string] # Other approaches evaluated
quality_signals:
- metric: string # Quality dimension
value: number | string # Assessment
confidence: number # 0.0-1.0 in artifact quality
evidence_anchors: array[string] # References to source material
assumptions: array[string] # Conditions affecting the artifact
safety_notes: array[string] # Security/reliability considerations
next_actions: array[string] # Suggested follow-upsField Definitions
| Field | Type | Description |
content | string|object | The generated artifact itself |
metadata | object | Generation metadata: type (category of content) and format |
constraints_used | array | Evaluation of constraint satisfaction |
rationale | string | Design decision explanation |
alternatives_considered | array | Other approaches that were rejected |
quality_signals | array | Quality metrics and assessments |
confidence | number | 0.0-1.0 in artifact fitness |
evidence_anchors | array[string] | Sources that informed generation |
safety_notes | array[string] | Security/reliability concerns |
next_actions | array[string] | Recommended follow-up steps |
Examples
Example 1: Generate API Endpoint
Input:
specification:
artifact_type: "code"
endpoint: "POST /api/users"
schema: "{ name: string, email: string, role: 'admin' | 'user' }"
constraints:
must_have:
- "TypeScript with strict mode"
- "Express.js middleware pattern"
- "Input validation with Zod"
- "Return 200 on success, 400 on validation error, 500 on server error"
format: "typescript"Output:
content: |
import { Request, Response, NextFunction } from 'express';
import { z } from 'zod';
const CreateUserSchema = z.object({
name: z.string().min(1).max(100),
email: z.string().email(),
role: z.enum(['admin', 'user'])
});
type CreateUserInput = z.infer<typeof CreateUserSchema>;
export async function createUser(
req: Request,
res: Response,
next: NextFunction
): Promise<void> {
try {
const parsed = CreateUserSchema.safeParse(req.body);
if (!parsed.success) {
res.status(400).json({
error: 'Validation failed',
details: parsed.error.issues
});
return;
}
const userData: CreateUserInput = parsed.data;
// TODO: Implement actual user creation logic
const user = await userService.create(userData);
res.status(200).json({ user });
} catch (error) {
next(error);
}
}
metadata:
type: "code"
format: "typescript"
constraints_used:
- constraint: "TypeScript with strict mode"
satisfied: true
notes: "All types explicit, strict null checks compatible"
- constraint: "Express.js middleware pattern"
satisfied: true
notes: "Standard (req, res, next) signature with async handler"
- constraint: "Input validation with Zod"
satisfied: true
notes: "Zod schema with safeParse for type-safe validation"
- constraint: "HTTP status codes"
satisfied: true
notes: "200 success, 400 validation error, 500 via error middleware"
rationale: "Used safeParse over parse for explicit error handling without exceptions. Separated schema definition for reuse in tests. Left business logic as TODO for service layer."
alternatives_considered:
- "class-validator with decorators - rejected for runtime overhead"
- "Manual validation - rejected for type safety"
quality_signals:
- metric: "type_safety"
value: "high"
- metric: "error_handling"
value: "comprehensive"
- metric: "testability"
value: "high"
confidence: 0.9
evidence_anchors:
- "zod:docs:safeParse"
- "express:docs:error-handling"
assumptions:
- "userService exists and is imported"
- "Error middleware handles uncaught exceptions"
safety_notes:
- "Email validation does not prevent all injection attacks"
- "Consider rate limiting for user creation endpoint"
next_actions:
- "Implement userService.create method"
- "Add authentication middleware"
- "Write unit tests for validation logic"Evidence pattern: Read existing codebase for patterns, reference library documentation for best practices.
Example 2: Generate Configuration Schema
Input:
specification:
artifact_type: "schema"
description: "Database connection configuration"
constraints:
must_have:
- "JSON Schema draft-07"
- "Required fields: host, port, database"
- "Optional: ssl, poolSize, timeout"
should_have:
- "Sensible defaults where appropriate"
format: "json"Output:
content:
$schema: "http://json-schema.org/draft-07/schema#"
title: "DatabaseConfig"
type: "object"
required: ["host", "port", "database"]
properties:
host:
type: "string"
description: "Database server hostname"
examples: ["localhost", "db.example.com"]
port:
type: "integer"
minimum: 1
maximum: 65535
description: "Database server port"
default: 5432
database:
type: "string"
description: "Database name"
minLength: 1
ssl:
type: "boolean"
description: "Enable SSL/TLS connection"
default: true
poolSize:
type: "integer"
minimum: 1
maximum: 100
description: "Connection pool size"
default: 10
timeout:
type: "integer"
minimum: 0
description: "Connection timeout in milliseconds"
default: 30000
additionalProperties: false
metadata:
type: "schema"
format: "json"
constraints_used:
- constraint: "JSON Schema draft-07"
satisfied: true
notes: "$schema declaration included"
- constraint: "Required fields: host, port, database"
satisfied: true
notes: "Listed in required array"
- constraint: "Optional: ssl, poolSize, timeout"
satisfied: true
notes: "Not in required, have defaults"
- constraint: "Sensible defaults"
satisfied: true
notes: "port=5432 (PostgreSQL), ssl=true, poolSize=10, timeout=30s"
rationale: "Used PostgreSQL port as default assuming most common use case. SSL enabled by default for security. Pool size 10 balances resource usage with concurrency."
alternatives_considered:
- "MySQL port 3306 - rejected, PostgreSQL more common in modern stacks"
quality_signals:
- metric: "completeness"
value: "high"
- metric: "documentation"
value: "descriptions and examples included"
confidence: 0.95
evidence_anchors:
- "json-schema:draft-07:spec"
assumptions:
- "PostgreSQL is the target database"
- "Production deployment expects SSL"
safety_notes:
- "Consider encrypting credentials in actual config files"
- "poolSize limits should match database max_connections"
next_actions:
- "Add validation for connection string format"
- "Consider environment variable substitution"Verification
- All required constraints marked as satisfied
- Artifact format matches requested format
- Quality signals include at least correctness and completeness
- Rationale explains key design decisions
- Safety notes address security considerations
Verification tools: Read (for pattern consistency), schema validators, linters
Safety Constraints
mutation: falserequires_checkpoint: falserequires_approval: falserisk: low
Capability-specific rules:
- Generated code must not contain hardcoded secrets or credentials
- Flag any security-sensitive patterns in generated content
- Do not generate content that violates constraints - report conflicts instead
- Include safety_notes for any security-relevant artifact
Composition Patterns
Commonly follows:
compare- Generate solution based on comparison winnerplan- Generate artifacts specified in planidentify- Generate based on identified requirementsdiscover- Generate to address discovered gaps
Commonly precedes:
verify- Generated artifacts should be verifiedact- Generated content may be written to filescritique- Generated plans should be critiqued
Anti-patterns:
- Never generate without constraints (unbounded generation)
- Avoid generate for retrieval (use
searchorretrieve) - Do not use generate for analysis (use
estimate,compare, etc.)
Workflow references:
- See
reference/composition_patterns.md#capability-gap-analysisfor generate-plan usage - See
reference/composition_patterns.md#debug-code-changefor code generation in fixes
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

