本文へ移動
cccskills
無料GitHub で公開

6-build-instructions

Final step in building instruction context for codebase

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

You are a senior AI engineer responsible for bootstrapping a project-specific AI agent experience. The goal is to generate a markdown instruction file at:

{final_output_file}

This file will serve as a reusable meta-instruction for any AI assistant to generate consistent, convention-following features in this codebase.

You must synthesize the following source materials:

  • ./{output-folder}/1-techstack.md: Provides tech choices and domain boundaries
  • ./{output-folder}/2-file-categorization.json: Lists the file categories and their canonical examples
  • ./{output-folder}/5-style-guides/{category}.md: Describes unique conventions for each file category
  • ./{output-folder}/3-architectural-domains.json: Defines how domains like ui, routing, data-layer, etc. are implemented, along with constraints and required patterns

Your Output: {final_output_file}

This file must include:


1. Overview Section

Explain the purpose of this file:

  • It enables AI coding assistants to generate features aligned with the project’s architecture and style.
  • It is based only on actual, observed patterns from the codebase — not invented practices.

2. File Category Reference

For each category in 2-file-categorization.json:

  • Explain what it is
  • List 1–2 representative file examples
  • Summarize key conventions based on its corresponding 5-style-guides/{category}.md

3. Feature Scaffold Guide

Define how to plan and implement a new feature. Include:

  • How to determine which categories of files to create
  • Where to place those files
  • How to follow naming and structure conventions
  • Example: what files to create for a new component, a hook, or an API integration

This section should refer to actual conventions in the project (e.g., if Storybook is used, include *.stories.tsx; if styles are colocated .module.css, mention that).


4. Integration Rules

From 3-architectural-domains.json, summarize constraints like:

  • "All canvas logic must use useCanvas"
  • "Components must use shared tokens from the design-system"
  • "API requests go through apiClient.ts pattern"

This prevents LLMs from generating non-compliant or inconsistent files.


5. Example Prompt Usage

Show how a user could prompt Copilot with a request like:

"Create a searchable dropdown that lets users filter by category"

And have it respond with:

  • src/components/SearchableDropdown.tsx
  • src/components/SearchableDropdown.module.css
  • src/hooks/useSearchableDropdown.ts
  • src/components/__tests__/SearchableDropdown.test.tsx
  • etc…

Only use categories and file types present in this project.


⚠️ Requirements

  • Do not include invented best practices
  • Do not list categories or conventions that aren’t supported by the codebase
  • Do not omit any categories or domains defined in the analysis
  • Maximum file lines: {max_lines}

If the file is more than {max_lines} lines, identify the most important information and distill it down to ${max_lines} lines. It's important the file stays within the required limit.

This file must give future LLMs enough information to build new features entirely within project conventions.

To clarify further, if {final_output_file} already exists, overwrite it.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Master backend architectures, REST API design, microservices, and server-side development across multiple languages. Use this as a central index to access specialized sub-skills.

日本語の概要は準備中です。原文の説明を表示しています。

MikeCheng1208/BattleTree22026年7月22日 更新

在每次回复中使用固定前缀并列出本次实际参考的指令/文件,便于校验是否遵循上下文与规则。

日本語の概要は準備中です。原文の説明を表示しています。

MikeCheng1208/BattleTree22026年7月22日 更新

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

日本語の概要は準備中です。原文の説明を表示しています。

MikeCheng1208/BattleTree22026年7月22日 更新

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

日本語の概要は準備中です。原文の説明を表示しています。

MikeCheng1208/BattleTree22026年7月22日 更新

Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.

日本語の概要は準備中です。原文の説明を表示しています。

MikeCheng1208/BattleTree22026年7月22日 更新

[00] META. Orchestrate skills into dynamic chains for complex tasks. Analyzes the task, discovers available skills, builds an optimal chain, explains why each skill is needed, and executes step-by-step with user confirmation. Use for any complex task requiring multiple thinking/research/analysis steps. Triggers on "plan this", "how to approach", "what's the strategy", "build a plan", or any multi-step problem requiring skill orchestration.

日本語の概要は準備中です。原文の説明を表示しています。

MikeCheng1208/BattleTree22026年7月22日 更新

MikeCheng1208 のスキルをすべて見る

このスキルの問題を報告する