Skip to main content

MSL — Muradian Skill Languages: Generate platform-specific skill files for AI coding assistants

Project description

🚀 MSL — Muradian Skill Languages

PyPI version License: MIT Python 3.9+

MSL is a powerful CLI tool that generates platform-specific skill and rule files for AI coding assistants (Cursor, VS Code, Claude Code, etc.) with a single command. It features MSL AI integration to create perfectly tailored, project-aware instructions in seconds, plus comprehensive git utilities.

🎯 Why MSL?

  • 🚀 One-Command Setup: Generate AI-optimized skill files instantly
  • 🧠 Smart Context Analysis: Reads your project to create tailored instructions
  • 🔧 Complete Git Suite: Branch management, commit operations, and remote handling
  • 🛡️ Safety First: Interactive confirmations and change previews
  • 📦 Zero Configuration: Works out of the box with no API keys needed

Install globally in macos pip3 install --user --break-system-packages --upgrade msl

✨ Key Features

  • 🤖 AI-Powered Generation (--ai): Connects to MSL API to analyze your project (README, package.json, etc.) and write custom rules.
  • ⚡ Smart Push (--gph): One-command git workflow. Stages files, uses AI to write a perfect commit message, and pushes with built-in retry logic.
  • 🔧 Git Utilities: Complete git management suite including branch creation, commit removal, and remote management.
  • 🔍 Intelligent Scanning: Automatically detects frameworks (Next.js, Flutter, Fastify, etc.) and project types.
  • 🛠️ Platform Support: Generates the correct files for Cursor (.cursor/rules.md), VS Code (.github/copilot-instructions.md), Claude Code (CLAUDE.md), and Codex (AGENTS.md).
  • 📦 Zero-Config Setup: Works instantly with Node.js, Python, Rust, Go, and Flutter projects.

🚀 Installation

Install msl globally using pip:

# macOS / Linux
python3 -m pip install --user msl

# Windows
py -m pip install --user msl

Recommended: Use pipx for a clean, isolated installation:

pipx install msl

🕹️ Quick Start

1. Interactive Wizard

Run the wizard to scan your project and generate rules step-by-step:

msl

2. AI-Enhanced Generation

Generate a tailor-made skill file using MSL AI by reading your project's context:

msl --ai --platform cursor --project-path .

3. Smart Git Push

Stage, commit (with AI-generated messages), and push in one go:

msl --gph

4. Git Utilities

Complete git management suite with safety features:

# Create and switch to new branch
msl --gbs

# Reset last N commits (interactive mode selection)
msl --gsr 3

# Show remote URLs
msl --gru

# Set/update remote URL
msl --grs https://github.com/user/repo.git

Safety Features:

  • Interactive confirmation for destructive operations
  • Uncommitted changes detection
  • Commit preview before removal
  • Multiple reset modes (soft/mixed/hard)

🧠 Using MSL AI

The --ai flag uses the MSL API directly - no API keys required! The AI analyzes your project files and generates tailored instructions automatically.

Note: MSL AI works out of the box with no configuration needed. Just run msl --ai and get instant, project-aware results.


� Publishing to PyPI

For maintainers releasing a new version, ensure your .pypirc or token file is configured, then run:

rm -rf dist/* && \
python3 -m build && \
twine upload --verbose --username __token__ --password "$(cat .pypi-token)" dist/* --non-interactive

This cleans previous artifacts, builds both wheel and source distributions, and uploads them with a PyPI token stored in .pypi-token.


🛠️ Complete Command Reference

Flag Description
--ai Generate a project-tailored skill file using MSL AI.
--gph Smart Git Push: Add, AI-commit, and Push with retry.
--gbs Create and switch to a new branch.
--gsr N Git reset last N commits (prompts for reset mode).
--gru Show configured git remote URLs.
--grs URL Set or update git remote URL.
--platform Target platform (cursor, vscode, claude-code, codex).
--stdout Print the generated content instead of writing to a file.
--perfect Optimize package.json with industry-standard scripts.
--force Overwrite existing files without confirmation.

🌍 Supported Stacks

  • Web: Next.js (App/Pages), React/Vite
  • Backend: Node.js (Express, Fastify, Hono), Python (FastAPI, Django, Flask), Go, Rust (Axum, Actix)
  • Mobile: Flutter

� Quick Install & Use

# Install
pip install msl

# Generate AI skill file for your project
msl --ai --platform cursor

# Smart git push with AI commit message
msl --gph

# Interactive wizard (recommended for first time)
msl

Perfect for:

  • Developers using AI coding assistants
  • Teams wanting consistent coding standards
  • Projects needing quick AI assistant setup
  • Git workflow automation

�📄 License

Distributed under the MIT License. See LICENSE for more information.


🇧🇩 বাংলা (Bengali Quick-Start)

msl একটি CLI টুল যা আপনার প্রজেক্টের জন্য সঠিক AI Skill বা Rule ফাইল তৈরি করে দেয়। এখন এতে আছে DeepSeek AI পাওয়ার, যা আপনার প্রজেক্টের কোড বুঝে অটোমেটিক নিয়ম লিখে দেবে।

ইন্সটল:

pipx install msl

ব্যবহার:

  • উইজার্ড চালাতে: msl
  • এআই দিয়ে জেনারেট করতে: msl --ai --platform cursor
  • অটোমেটিক গিট পুশ: msl --gph
  • নতুন ব্রাঞ্চ তৈরি: msl --gbs
  • কমিট রিসেট: msl --gsr 3
  • রিমোট URL দেখুন: msl --gru
  • রিমোট URL সেট করুন: msl --grs https://github.com/user/repo.git . project path নেবে, current directory অথবা custom path
  1. project type suggest করবে
  2. preference level নিতে বলবে, যেমন Simple, Intermediate, Industry Standard
  3. শেষে সঠিক path-এ সঠিক file generate করবে
  4. চাইলে --perfect দিয়ে package.json scripts update করতে পারবে

Supported Platforms

  • Cursor: .cursor/rules.md
  • VS Code: .github/copilot-instructions.md
  • Claude Code: CLAUDE.md
  • Codex: AGENTS.md

Supported Project Types

  • Flutter
  • Web (Next.js)
  • Web (React/Vite)
  • Rust (Server)
  • Node.js (Server)
  • Python
  • Go (Server)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

msl-0.3.4.tar.gz (57.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

msl-0.3.4-py3-none-any.whl (63.1 kB view details)

Uploaded Python 3

File details

Details for the file msl-0.3.4.tar.gz.

File metadata

  • Download URL: msl-0.3.4.tar.gz
  • Upload date:
  • Size: 57.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for msl-0.3.4.tar.gz
Algorithm Hash digest
SHA256 298a677fdf5c3ec3a7959e9b85075375dbb1f39f5d4782eb9d5fb64743d33288
MD5 05aad9230f714d65cdf944c152658859
BLAKE2b-256 702608f0142f21642d8c7504b07d36558cdaae6a524b1d74b40d8de4bb4bf853

See more details on using hashes here.

File details

Details for the file msl-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: msl-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 63.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for msl-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b890832773aa9bfacadfefe76df0c288484b6e5cd8b3a595c2ad150a514c167b
MD5 5066afc1d285093ab3e2cc2478250203
BLAKE2b-256 2437d6473c55b1dc23bd18c63773f5136119f2d5b6e42939d3a6a0afb5eed1d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page