Automated summary
Provides expert guidance on installing, configuring, and troubleshooting Factory Code, Anthropic's agentic coding tool that runs in the terminal.
Strengths
- Comprehensive coverage of features from basic setup to enterprise deployment
- detailed references for slash commands, MCP servers, hooks, and plugins
- includes troubleshooting and advanced usage tips.
Limitations
- Assumes familiarity with terminal and developer tools
- may not cover very specific or niche use cases
- documentation references are listed but not included inline.
Use when users need help with any aspect of Factory Code, from installation and slash commands to MCP integration and enterprise configuration.
Do not use if the user is asking about a different coding tool or if the question is about general programming concepts unrelated to Factory Code.
Security analysis
SafeThe skill provides purely informational guidance about Factory Code features and workflows. It does not contain any instructions for executing dangerous commands, exfiltrating data, or disabling safety measures.
No concerns found
How this analysis is madeExamples
How do I install Factory Code and set it up with my GitHub and Anthropic accounts?What slash commands are available in Factory Code and how do I use /plan and /debug?How do I deploy Factory Code in an enterprise environment with SSO and audit logging?name: factory-code description: Use when users ask about Factory Code features, setup, configuration, troubleshooting, slash commands, MCP servers, Agent Skills, hooks, plugins, CI/CD integration, or enterprise deployment. Activate for questions like 'How do I use Factory Code?', 'What slash commands are available?', 'How to set up MCP?', 'Create a skill', 'Fix Factory Code issues', or 'Deploy Factory Code in enterprise'. | Dùng khi hỏi về Factory Code, lệnh slash, hook, plugin, skill, cấu hình, cài đặt.
Factory Code Expert
Factory Code is Anthropic's agentic coding tool that lives in the terminal and helps turn ideas into code faster. It combines autonomous planning, execution, and validation with extensibility through skills, plugins, MCP servers, and hooks.
When to Use This Skill
Use when users need help with:
- Understanding Factory Code features and capabilities
- Installation, setup, and authentication
- Using slash commands for development workflows
- Creating or managing Agent Skills
- Configuring MCP servers for external tool integration
- Setting up hooks and plugins
- Troubleshooting Factory Code issues
- Enterprise deployment (SSO, sandboxing, monitoring)
- IDE integration (VS Code, JetBrains)
- CI/CD integration (GitHub Actions, GitLab)
- Advanced features (extended thinking, caching, checkpointing)
- Cost tracking and optimization
Activation examples:
- "How do I use Factory Code?"
- "What slash commands are available?"
- "How to set up MCP servers?"
- "Create a new skill for X"
- "Fix Factory Code authentication issues"
- "Deploy Factory Code in enterprise environment"
Core Architecture
Subagents: Specialized AI agents (planner, code-reviewer, tester, debugger, docs-manager, ui-ux-designer, database-admin, etc.)
Agent Skills: Modular capabilities with instructions, metadata, and resources that Factory uses automatically
Slash Commands: User-defined operations in .factory/commands/ that expand to prompts
Hooks: Shell commands executing in response to events (pre/post-tool, user-prompt-submit)
MCP Servers: Model Context Protocol integrations connecting external tools and services
Plugins: Packaged collections of commands, skills, hooks, and MCP servers
Quick Reference
Load these references when needed for detailed guidance:
Getting Started
- Installation & Setup:
references/getting-started.md- Prerequisites, installation methods, authentication, first run
Development Workflows
-
Slash Commands:
references/slash-commands.md- Complete command catalog: /cook, /plan, /debug, /test, /fix:, /docs:, /git:, /design:, /content:*
-
Agent Skills:
references/agent-skills.md- Creating skills, skill.json format, best practices, API usage
Integration & Extension
-
MCP Integration:
references/mcp-integration.md- Configuration, common servers, remote servers
-
Hooks & Plugins:
references/hooks-and-plugins.md- Hook types, configuration, environment variables, plugin structure, installation
Configuration & Settings
- Configuration:
references/configuration.md- Settings hierarchy, key settings, model configuration, output styles
Enterprise & Production
-
Enterprise Features:
references/enterprise-features.md- IAM, SSO, RBAC, sandboxing, audit logging, deployment options, monitoring
-
IDE Integration:
references/ide-integration.md- VS Code extension, JetBrains plugin setup and features
-
CI/CD Integration:
references/cicd-integration.md- GitHub Actions, GitLab CI/CD workflow examples
Advanced Usage
-
Advanced Features:
references/advanced-features.md- Extended thinking, prompt caching, checkpointing, memory management
-
Troubleshooting:
references/troubleshooting.md- Common issues, authentication failures, MCP problems, performance, debug mode
-
API Reference:
references/api-reference.md- Admin API, Messages API, Files API, Models API, Skills API
-
Best Practices:
references/best-practices.md- Project organization, security, performance, team collaboration, cost management
Common Workflows
Feature Implementation
/cook implement user authentication with JWT
# Or plan first
/plan implement payment integration with Stripe
Bug Fixing
/fix:fast the login button is not working
/debug the API returns 500 errors intermittently
/fix:types # Fix TypeScript errors
Code Review & Testing
Factory "review my latest commit"
/test
/fix:test the user service tests are failing
Documentation
/docs:init # Create initial documentation
/docs:update # Update existing docs
/docs:summarize # Summarize changes
Git Operations
/git:cm # Stage and commit
/git:cp # Stage, commit, and push
/git:pr feature-branch main # Create pull request
Design & Content
/design:fast create landing page for SaaS product
/content:good write product description for new feature
Instructions for Factory
When responding to Factory Code questions:
- Identify the topic from the user's question
- Load relevant references from the Quick Reference section above
- Provide specific guidance using information from loaded references
- Include examples when helpful
Loading references:
- Read reference files only when needed for the specific question
- Multiple references can be loaded for complex queries
- Use grep patterns if searching within references
For setup/installation questions: Load references/getting-started.md
For slash command questions: Load references/slash-commands.md
For skill creation: Load references/agent-skills.md
For MCP questions: Load references/mcp-integration.md
For hooks/plugins: Load references/hooks-and-plugins.md
For configuration: Load references/configuration.md
For enterprise deployment: Load references/enterprise-features.md
For IDE integration: Load references/ide-integration.md
For CI/CD: Load references/cicd-integration.md
For advanced features: Load references/advanced-features.md
For troubleshooting: Load references/troubleshooting.md
For API usage: Load references/api-reference.md
For best practices: Load references/best-practices.md
Documentation links:
- llms.txt: https://context7.com/websites/Factory_en_factory-code/llms.txt?tokens=10000
- Search for specific topics:
https://context7.com/websites/Factory_en_factory-code/llms.txt?topic=<topic>&tokens=5000 - Eg. Search for "subagent":
https://context7.com/websites/Factory_en_factory-code/llms.txt?topic=subagent&tokens=5000
- Search for specific topics:
- Main docs: https://docs.Factory.com/en/docs/factory-code/
- GitHub: https://github.com/anthropics/factory-code
- Support: support.Factory.com
Provide accurate, actionable guidance based on the loaded references and official documentation.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/factory-code-expert-mmlj2omu/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/factory-code-expert-mmlj2omu' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/factory-code-expert-mmlj2omu/download' --output '.skill-downloads/factory-code-expert-mmlj2omu/SKILL.md.part' && mv '.skill-downloads/factory-code-expert-mmlj2omu/SKILL.md.part' '.skill-downloads/factory-code-expert-mmlj2omu/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Original excerpt: Quick Reference
Load these references when needed for detailed guidance:
Getting Started
- Installation & Setup:
references/getting-started.md- Prerequisites, installation methods, authentication, first run
Development Workflows
-
Slash Commands:
references/slash-commands.md- Complete command catalog: /cook, /plan, /debug, /test, /fix:, /docs:, /git:, /design:, /content:*
-
Agent Skills:
references/agent-skills.md- Creating skills, skill.json format, best practices, API usage
Integration & Extension
-
MCP Integration:
references/mcp-integration.md- Configuration, common servers, remote servers
-
Hooks & Plugins:
references/hooks-and-plugins.md- Hook types, configuration, environment variables, plugin structure, installation
Configuration & Settings
- Configuration:
references/configuration.md- Settings hierarchy, key settings, model configuration, output styles
Enterprise & Production
-
Enterprise Features:
references/enterprise-features.md- IAM, SSO, RBAC, sandboxing, audit logging, deployment options, monitoring
-
IDE Integration:
references/ide-integration.md- VS Code extension, JetBrains plugin setup and features
-
CI/CD Integration:
references/cicd-integration.md- GitHub Actions, GitLab CI/CD workflow examples
Advanced Usage
-
Advanced Features:
references/advanced-features.md- Extended thinking, prompt caching, checkpointing, memory management
-
Troubleshooting:
references/troubleshooting.md- Common issues, authentication failures, MCP problems, performance, debug mode
-
API Reference:
references/api-reference.md- Admin API, Messages API, Files API, Models API, Skills API
-
Best Practices:
references/best-practices.md- Project organization, security, performance, team collaboration, cost management
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/factory-code-expert-mmlj2omu/SKILL.md' && test -s '.skill-downloads/factory-code-expert-mmlj2omu/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/factory-code' && cp -R '.skill-downloads/factory-code-expert-mmlj2omu' '.claude/skills/factory-code'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/factory-code-expert-mmlj2omu'openskills read 'factory-code-expert-mmlj2omu'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/factory-code-expert-mmlj2omu/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.