ワンクリックで
common-style-guide
Initialize docs/ai structure for development workflow
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Initialize docs/ai structure for development workflow
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
This skill should be used when the user asks to "implement X", "add X feature", "create X", "refactor X", "fix X bug", "develop this story", "work on story", or needs guidance on development work - both ad-hoc tasks and story-based workflows with style guide compliance.
Expand a ticket by linking or creating children for subsystems found in findings
Initialize project discovery — scan repo, gather intent, create initial tickets
Loop through open discovery tickets until queue is empty
Scan repository for structure and code ownership signals
Intent-driven discovery — recall existing knowledge or create new investigation tickets
| description | Initialize docs/ai structure for development workflow |
| user-invocable | true |
| disable-model-invocation | true |
| allowed-tools | ["Read","Write","Bash","Glob","Skill"] |
Create the docs/ai/ directory structure for designs, stories, and style guides.
mkdir -p docs/ai/stories docs/ai/designs docs/ai/rules docs/ai/workflows
Only create if file doesn't exist:
Check and create docs/ai/rules/common.md:
test -f docs/ai/rules/common.md && echo "EXISTS" || echo "NEW"
If NEW, create:
---
name: Common Style Guide
applies-to: ["*"]
tags: [style]
description: Universal coding conventions for all languages.
---
# Common Style Guide
Check and create docs/ai/workflows/design.md:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/get-guidelines.sh design docs/ai/workflows > /dev/null && echo "OK"
This creates the design workflow guidelines from template if missing.
Check and create docs/ai/workflows/story.md:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/get-guidelines.sh story docs/ai/workflows > /dev/null && echo "OK"
This creates the story workflow guidelines from template if missing.
Check and create docs/ai/rules/build.md:
test -f docs/ai/rules/build.md && echo "EXISTS" || echo "NEW"
If NEW, create:
---
name: Build Configuration
applies-to: ["*"]
tags: [build]
description: Build, lint, test, and format commands for this project.
---
# Build Configuration
## Build
## Lint
## Test
## Format
Check if gitignore entries already exist:
grep -q "docs/ai/designs/" .gitignore 2>/dev/null && echo "EXISTS" || echo "NEW"
If NEW, append to .gitignore:
# AI development artifacts
docs/ai/designs/
docs/ai/stories/
## Initialized docs/ai/
Structure:
docs/ai/
├── designs/ (gitignored)
├── stories/ (gitignored)
├── rules/
│ ├── common.md [created/existed] - universal style conventions
│ └── build.md [created/existed] - build/lint/test commands
└── workflows/
├── design.md [created/existed] - design workflow guidelines
└── story.md [created/existed] - story workflow guidelines
Next steps:
- Edit docs/ai/rules/build.md with your build/lint/test commands
- Edit docs/ai/rules/common.md with project conventions
- Add language-specific rules (e.g., docs/ai/rules/go.md)
- Run /design-create to start designing