1c-project-init
Original:🇺🇸 English
Translated
2 scripts
Initialize or enrich a 1C project with AI workspace skills, docs, templates. Use when user says "инициализируем проект", "init project", or asks to set up a 1C project.
2installs
Added on
NPX Install
npx skill4agent add arman-kudaibergenov/1c-ai-development-kit 1c-project-initTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →/1c-project-init — Initialize or enrich 1C project
Source workspace: (path where 1c-ai-development-kit is cloned)
YOUR_KIT_ROOTMode detection
- exists in target → enrich (sync missing/outdated skills & docs)
.claude/skills/ - No → new (full init)
.claude/skills/
Steps
1. Determine target path
- If argument provided → use it
- Otherwise → current working directory ()
pwd
2. Run init script
powershell
powershell.exe -NoProfile -File "YOUR_KIT_ROOT\.claude\skills\1c-project-init\scripts\init.ps1" -TargetPath "<target>" -Mode <new|enrich>Script output lists what was copied/updated.
3. If mode = new — collect project info interactively
Ask user (AskUserQuestion):
- Project name (for CLAUDE.md header)
- 1C base name (e.g. ,
Minim_kg)Buh - Platform version: /
8.3.24/8.3.258.3.27 - Web publication name (e.g. ,
minim) — for HTTP API and playwrightbuh - Project type: /
extension/configurationexternal-processor - EDT project name (Latin, e.g. ) — for edt-mcp reference
MyProject_25
Platform → server mapping (all on CT107 / YOUR_EDT_SERVER):
- → server
8.3.24, containerYOUR_EDT_SERVER:1641, web portonec-server-248081 - → server
8.3.25, containerYOUR_EDT_SERVER:1541, web portonec-server-258080 - → server
8.3.27, containerYOUR_EDT_SERVER:1741, web portonec-server-278082
4. Generate CLAUDE.md
Read template:
Fill all placeholders:
YOUR_KIT_ROOT\.claude\skills\1c-project-init\templates\CLAUDE.md.template- — project name
{{PROJECT_NAME}} - — brief description
{{PROJECT_DESCRIPTION}} - — platform version (e.g.
{{V8_VERSION}})8.3.25 - —
{{SERVER}}YOUR_EDT_SERVER - — from platform map
{{PORT}} - —
{{SERVER_SUFFIX}}/24/2527 - — from platform map
{{WEB_PORT}} - — 1C base name
{{BASE_NAME}} - — web publication name
{{PUBLICATION}} - — EDT project name
{{EDT_PROJECT_NAME}}
Write to .
<target>/CLAUDE.md5. Generate .mcp.json
Read template:
Replace and placeholders.
Write to .
YOUR_KIT_ROOT\.claude\skills\1c-project-init\templates\mcp.json.template{{PROJECT_NAME}}{{PUBLICATION}}<target>/.mcp.json6. Generate .v8-project.json if not exists
Use platform map to fill server/port automatically:
json
{
"v8path": "",
"infobase": {
"server": "YOUR_EDT_SERVER:<PORT>",
"ref": "<BASE_NAME>",
"user": "",
"password": ""
},
"publication": "http://YOUR_EDT_SERVER:<WEB_PORT>/<PUBLICATION>"
}7. Create openspec structure if mode = new
openspec/
project.md ← project context for AI
changes/ ← active proposals
specs/ ← feature specs
archive/ ← done8. Report
List what was created/updated. Remind user to configure:
- in
v8path.v8-project.json - MCP port in if using minimkg-enhanced
.mcp.json - Open project with in target directory
claude
9. Register in EDT (optional)
Ask: "Зарегистрировать проект в EDT на CT107?"
If yes — determine mode:
- Project already has with 1C XML and
src/file → mode=.projectproject - Project has with 1C XML but no
src/→ mode=.projectxml - Only available → mode=
.dtdt
Run:
powershell
powershell.exe -NoProfile -File "YOUR_KIT_ROOT\.claude\skills\1c-project-init\scripts\edt-import.ps1" `
-Mode <mode> -Source "<path-on-CT107>" -ProjectName "<EDT_PROJECT_NAME>" `
-PlatformVersion "<V8_VERSION>" -ServerVersion "<SERVER_SUFFIX>"For dt mode with extensions add .
After import verify with .
-WithExtensionsedt-mcp list_projectsEDT project name rules: Latin only, no Cyrillic, no spaces. Convention: (e.g. ).
<ProjectName>_<ServerSuffix>MyProject_25Enrich mode specifics
Compare skill files by content hash — copy only if workspace version is newer or file missing in target.
Always overwrite (platform specs don't change per-project).
Never overwrite: , , , .
.claude/docs/CLAUDE.md.mcp.json.v8-project.jsonopenspec/