source-command-write-code
Migrates slash-command coding workflows into Codex-native procedures.
Install
mkdir -p .claude/skills/source-command-write-code && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18657" && unzip -o skill.zip -d .claude/skills/source-command-write-code && rm skill.zipInstalls to .claude/skills/source-command-write-code
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Converted Codex workflow from Claude slash command `write-code`. Use when the user asks to run the equivalent command or describes this workflow.Key capabilities
- →Maintain project documentation synchronization
- →Enforce policy gates for deployments
- →Enforce policy gates for Git actions
- →Ensure Claude-compatible workflows function in Codex
- →Run `code-writing` skill
How it works
The skill synchronizes project documentation changes between `.claude/**` and `.codex/**` files and applies policy gates for deployments and Git actions.
Inputs & outputs
When to use source-command-write-code
- →Executing write-code commands
- →Syncing project documentation
- →Maintaining Codex workflow compliance
About this skill
Command Workflow: write-code
Treat Claude-only tool names as conceptual workflow steps and use available Codex tools/policies.
Codex Policy Gates
- Ask before external actions such as GitHub repository creation,
git push, deploys, or sending messages unless the user explicitly requested that exact action. - Deployments must go through GitHub CI/CD; direct server access is only for emergency debugging of broken production.
- Never ask the user to paste secrets in chat. Direct them to
.envfiles or GitHub Actions secrets.
Instructions
Project Documentation Autosync
If this command changes any project-local .claude/** file, immediately run:
~/.claude/scripts/sync-to-codex.sh --project "$PWD" --apply
If sync reports a conflict, stop and report it. Include generated .codex/** changes in the same commit as the .claude/** source change.
Use the code-writing skill.
When not to use it
- →When performing external actions without explicit user request
- →When deploying without GitHub CI/CD
- →When asking the user to paste secrets in chat
Limitations
- →Deployments must go through GitHub CI/CD
- →Direct server access is only for emergency debugging
- →Cannot ask the user to paste secrets in chat
How it compares
This skill adapts Claude-specific workflows to a Codex environment by synchronizing documentation and enforcing Codex policy gates, unlike direct execution of Claude commands.
Compared to similar skills
source-command-write-code side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| source-command-write-code (this skill) | 0 | 26d | Review | Intermediate |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
| openspec-onboard | 10 | 5mo | Review | Beginner |
| codex-cli-bridge | 9 | 9mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
openspec-onboard
studyzy
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
codex-cli-bridge
alirezarezvani
Bridge between Claude Code and OpenAI Codex CLI - generates AGENTS.md from CLAUDE.md, provides Codex CLI execution helpers, and enables seamless interoperability between both tools
skill-sync
KyleKing
Syncs Claude Skills with other AI coding tools like Cursor, Copilot, and Codeium by creating cross-references and shared knowledge bases. Invoke when user wants to leverage skills across multiple tools or create unified AI context.
github-workflow-automation
ruvnet
Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management
git-advanced-workflows
wshobson
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.