This release is a pre-release and may not be stable for production use.
create-promptex-py(alpha 原型)
promptex 專案鷹架的最小原型。產出一個可立即建置的專案骨架:宣告一份
skill,建置後得到 Claude Code 的 SKILL.md。
這不是什麼
本套件是早期 alpha。骨架只有四個檔案、一份範例宣告,沒有多單元配置、沒有
多平台選擇、沒有外掛與轉接器。正式版把骨架收在核心(promptex init),
本原型自帶一份副本,正式版發布時會被整份取代。
介面與骨架內容在正式版之前都會變,不保證任何相容性。
用法
不需要事先安裝,uvx(或 pipx run)會取得後直接執行。需要 Python 3.10 以上。
uvx create-promptex-py my-prompts
產出:
my-prompts/
├── .gitignore
├── README.md
├── package.json
└── prompts/skill.ts
(上為 --lang ts 的形態;--lang python 產出 pyproject.toml 與
prompts/skill.py,--lang rust 產出 Cargo.toml 與 src/main.rs。)
選項
uvx create-promptex-py <目錄> [--lang ts|python|rust] [--yes]
--lang <語言> 骨架語言,預設 ts
--yes 目標目錄已有同名檔案時仍覆寫
非互動:全部輸入取自位置參數與旗標,與正式版 promptex init 的介面一致。
目標目錄已有同名檔案且未帶 --yes 時一個檔案都不寫,不留半套骨架。
三生態等價
create-promptex-js、create-promptex-py、create-promptex-rs 對同一組
參數產出逐字相同的檔案樹。正式版靠骨架住核心由結構保證,本原型是三份獨立
實作,等價由產物比對承擔。
授權
MIT OR Apache-2.0,見 LICENSE-MIT 與 LICENSE-APACHE。
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file create_promptex_py-0.0.1a1.tar.gz.
File metadata
- Download URL: create_promptex_py-0.0.1a1.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1af6f1c09e670a463d0819ca0e84e0f4db10a2ca9e1360f5b71237383589d0f6
|
|
| MD5 |
42031ede3948d9fd4550d98a31364e80
|
|
| BLAKE2b-256 |
e5a12ea3e9fce9ad57acb179ca80dc835f9c2e2d8d1aa1d9c27549d882c2c2f9
|
File details
Details for the file create_promptex_py-0.0.1a1-py3-none-any.whl.
File metadata
- Download URL: create_promptex_py-0.0.1a1-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed7bf9651487e5c39723bb7d1759c3133a98d60097b2b77b6a6662d8f0f5cabe
|
|
| MD5 |
4a0d103669bd80058d2bd1eb44a7ec56
|
|
| BLAKE2b-256 |
f5e9623e275c9fb8bdb22110c33a985a96919bf6910f3fe4adb2d5b320f64737
|