toml-python

Community

Edit TOML files with comments

AuthorVoldemortGin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of reading, writing, and modifying TOML configuration files in Python projects, ensuring that comments and formatting are preserved.

Core Features & Use Cases

  • Comment-Preserving Edits: Modify TOML files without losing valuable comments or original formatting.
  • Python Integration: Seamlessly work with pyproject.toml, .toml configs, and other TOML files within Python applications.
  • Library Guidance: Provides clear distinctions between tomlkit (for read/write with preservation) and tomllib (stdlib, read-only).
  • Use Case: You need to update the version field in your pyproject.toml file. This Skill helps you do it using tomlkit, ensuring all your carefully added comments about dependencies or build settings remain intact.

Quick Start

Use the toml-python skill to load the configuration from 'config.toml' and update the 'port' value in the 'database' section to 5433.

Dependency Matrix

Required Modules

None required

Components

referencesscripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: toml-python
Download link: https://github.com/VoldemortGin/claude-skills/archive/main.zip#toml-python

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.