v2.7.0 Change Details¶
Theme: AI-assisted development support — in-package development skill with one-command install, LLM-friendly documentation entries (llms.txt / llms-full.txt), and the AI Development docs page. No runtime behavior changes in v1/v2.
New Features¶
1. In-Package AI Development Skill (Ships with the Package)¶
- New in-package AI assets
asmysql/_ai/:AGENTS.mdin-package AI entry guide + theasmysql-devdevelopment skill (SKILL.md + three references: API quickref, pitfall list, doc map); - The skill matches the installed package version and is available offline; AI reading the installed package source discovers the entry directly;
- The first section of SKILL.md is a mandatory version self-check gate: when an installed copy's version stamp mismatches the installed package (or is absent), it switches to the in-package skill or the latest online version, so stale copies never mislead silently.
2. The python -m asmysql skill Command¶
skill path: prints the absolute path of the in-package built-in skill directory;skill install --target TARGET [--force]: one-command skill install;--targetis required, project-level preferred (run at the project root);--targetsupportsclaude/cursor/agents, the user-leveluser:prefix,all/user:all(symlinks only into existing tool directories), comma-separated multi-targets, and any custom path;- The install model is "single canonical + per-skill symlinks":
.agents/skills/asmysql-dev/is the only entity (with the version stamp.asmysql-skill.json), shared by tool-directory symlinks; symlink failure falls back to an entity copy automatically; - Existing targets are skipped by default; after upgrading asmysql, add
--forceto refresh the canonical and rebuild symlinks.
3. Documentation Site AI Entries¶
- New bilingual AI Development page (Resources navigation group): three ways to use (one-command install / manual zip download / zero-install online reading), AI discovery entries, and skill version matching notes;
- New version-independent assets under the site root
/ai/:llms.txt(LLM-friendly plain-text index),llms-full.txt(concatenated full Chinese docs), skill zip download and per-file online reading; - The root
/llms.txtpointer always points to the latest/ai/llms.txt.
4. PyPI and README Discovery Entries¶
- New "AI-Assisted Development" / "AI 辅助开发" section in README (install command,
--targetvalue table, zero-install reading notes); - New
AI Docslink in PyPI project metadata (pointing to llms.txt); - New Chinese module docstring at the top of
asmysql/__init__.py(docs site, AI entry, built-in skill path and install command).
Scope Boundaries¶
- No changes to any v1/v2 runtime behavior or exports; zero new runtime dependencies (CLI uses only the standard library);
- No console script added; the only entry is
python -m asmysql; - No silent auto-install: installation must be an explicit command, executed by AI with the user's consent.