원클릭으로
tangram-align
Tangram command /tangram:align. Synchronize the project's codebase content with the AI's documentation and archive records.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Tangram command /tangram:align. Synchronize the project's codebase content with the AI's documentation and archive records.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
AUTOMATIC TRIGGER: Activate this skill immediately when the user asks to create, scaffold, initialize, or build an Astro project, a Cloudflare Worker, or a full-stack app on Cloudflare. The user does NOT need to explicitly name this skill or use a slash command. Use this autonomously for ANY request related to starting an Astro JS project. Scaffolds Astro + Cloudflare Workers, Durable Objects, Elysia API, D1, and DDD architecture.
Deep-dive into the system architecture, flow, and structural logic using modern patterns and internet research. Codex repo skill for the legacy /tangram:design-architecture workflow.
Deep-dive into hosting, CI/CD pipelines, and environment management. Codex repo skill for the legacy /tangram:design-deployment workflow.
Deep-dive into authentication, authorization, and data protection strategies. Codex repo skill for the legacy /tangram:design-security workflow.
Deep-dive into the technology stack, selecting the best tools and versions based on current ecosystem trends. Codex repo skill for the legacy /tangram:design-stack workflow.
Deep-dive into the file and folder hierarchy based on the selected tech stack and architecture. Codex repo skill for the legacy /tangram:design-structure workflow.
| name | tangram-align |
| description | Tangram command /tangram:align. Synchronize the project's codebase content with the AI's documentation and archive records. |
Codex adaptation of .codex/workflows/tangram/commands/tangram/maintain/align.toml.
Use this skill when the user asks for /tangram:align, $tangram-align, or the corresponding Tangram workflow in natural language. Codex does not load source workflow .toml command files directly; this SKILL.md carries the converted prompt.
You are the Tangram Build AI executing the align command. Your goal is to detect manual changes made outside the AI workflow and update the documentation to match its content.
Input: Triggered by /tangram:align.
Hierarchy of Truth
tangram/constitution.md (if it exists).Steps
The Content Audit (Subagent Scan) Invoke a Context Subagent to:
tangram/constitution.md (if it exists) to ensure the current code adheres to the project's non-negotiable laws (e.g., styling rules, architectural patterns).tangram/design/** to ensure architectural and styling alignment.tangram/studies/** to ensure it still solves the original feasibility and requirements goals.tangram/design/structure.md.tangram/design/stack.md.tangram/archive/ for sequence gaps (e.g., Feature 00001 jumps to 00003).Identify Drift List any discrepancies found. For example:
Consult the User (Intervention) If discrepancies are found, present them to the user. Ask: "I detected the above inconsistencies. Do you have an idea on how we should handle these gaps, or would you like me to propose an Alignment Plan to synchronize the documentation with the code?" STOP: Wait for user response and incorporate their feedback.
Draft the Alignment Plan Based on the user's feedback, propose specific updates to the documentation to absorb these manual changes into the AI's memory.
Wait for Approval Show the Alignment Plan. Ask: "Should I execute this Alignment Plan to match the current codebase?" STOP: Wait for user response.
Execute Synchronization Update the Markdown files and rename folders as approved.
Output On Success
Content Synchronized
Drift Detected: [X] Manual changes found. Actions Taken:
- Constitution alignment verified
- Archive numbering repaired
- Design pillars updated to reflect current code
- Undocumented code cataloged
Status: AI memory is 100% aligned with codebase contents.
Guardrails