msx:constitution

Generate and update constitution.md from local project context and metadata.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/xxyj/xx-ai-cli --skill msx-constitution
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: msx:constitution
Source: https://github.com/xxyj/xx-ai-cli/tree/main/.cursor/skills/msx-15-constitution
Command: npx skills add https://github.com/xxyj/xx-ai-cli --skill msx-constitution

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of generating or updating the constitution.md file from the local project context, streamlining the project setup and documentation process.

Core Features & Use Cases

  • Auto-population of constitution.md: Automatically fills in mixspec/memory/constitution.md using local project context.
  • Command-First Approach: Works without the need for an API key, ensuring ease of use.
  • Project Context Detection: Identifies project metadata and scripts to update relevant sections of the constitution.
  • Tech Profile Refresh: Builds or refreshes mixspec/memory/tech-profile.json as the project baseline.

Quick Start

Run the command '/msx:constitution' to auto-populate the constitution file.

Frequently Asked Questions about msx:constitution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate a constitution.md file from my local project context?β–Ό

To automatically generate a constitution.md file, run the /msx:constitution command to detect local project context and metadata. The script populates the mixspec/memory/constitution.md file directly without requiring an API key.

What is the best way to update project documentation without using an API key?β–Ό

The best way to update project documentation without an API key is using a command-first approach. This skill automatically detects project metadata and scripts to refresh the constitution.md file locally.

How does auto-populating constitution.md work with local project metadata?β–Ό

Auto-populating constitution.md works by scanning local project context and metadata to identify scripts and configuration details. It then uses this detected information to automatically fill in relevant sections of the constitution file.

Can I use this project setup tool to refresh my tech-profile.json baseline?β–Ό

Yes, you can use this project setup tool to build or refresh your tech-profile.json baseline. Alongside updating the constitution.md file, the script automatically generates or updates the mixspec/memory/tech-profile.json file to establish your project baseline.

Do I need any dependencies to auto-populate constitution.md for project setup?β–Ό

No, you do not need any external dependencies or API keys to auto-populate constitution.md for project setup. The script only requires local project metadata and scripts to execute the documentation automation process.