@elevasis/sdk 1.30.2 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +111 -5
- package/dist/index.d.ts +54 -5
- package/dist/index.js +40 -3
- package/dist/node/index.d.ts +1 -0
- package/dist/test-utils/index.d.ts +1 -0
- package/dist/test-utils/index.js +14 -2
- package/package.json +2 -2
- package/reference/claude-config/skills/om/SKILL.md +42 -25
- package/reference/claude-config/skills/om/operations/scaffold.md +1 -1
- package/reference/claude-config/sync-notes/2026-05-28-om-snapshot-sdk-workflow-config.md +33 -0
- package/reference/index.mdx +7 -3
- package/reference/sdk/concepts.mdx +1 -1
- package/reference/sdk/framework/agent.mdx +156 -156
- package/reference/sdk/framework/index.mdx +4 -4
- package/reference/sdk/framework/project-structure.mdx +280 -280
- package/reference/sdk/framework/resource-documentation.mdx +2 -2
- package/reference/sdk/getting-started.mdx +7 -7
- package/reference/sdk/index.mdx +2 -1
- package/reference/sdk/platform-tools/index.mdx +7 -7
- package/reference/sdk/resources/index.mdx +3 -3
- package/reference/sdk/templates/data-enrichment.mdx +162 -162
- package/reference/sdk/templates/lead-scorer.mdx +175 -175
- package/reference/sdk/templates/text-classifier.mdx +147 -147
|
@@ -22,7 +22,7 @@ This page covers core Elevasis concepts in plain English. It is the teaching voc
|
|
|
22
22
|
| Handler | The function inside a step that does the actual work. It receives input data and returns output data. |
|
|
23
23
|
| Entry Point | The first step that runs when a workflow is executed. Every workflow must have one. |
|
|
24
24
|
| Resource ID | A unique lowercase name for your resource (e.g., `lead-scorer`, `send-welcome-email`). Must be unique within your organization. |
|
|
25
|
-
| Workspace | Your Elevasis project directory. Contains resources (workflows and agents), documentation, and optionally a database connection and custom apps.
|
|
25
|
+
| Workspace | Your Elevasis project directory. Contains resources (workflows and agents), documentation, and optionally a database connection and custom apps. |
|
|
26
26
|
| Data Table | A table in your database (e.g., Supabase) that stores structured data your workflows can read and write. Defined in `data/schema.ts` as documentation for the agent. |
|
|
27
27
|
|
|
28
28
|
---
|
|
@@ -1,156 +1,156 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Agent System
|
|
3
|
-
description: CLAUDE.md drives all agent behavior -- project instructions, slash commands, memory-based developer profile, and three-tier adaptive guidance
|
|
4
|
-
loadWhen: "Configuring agent behavior or capabilities"
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
The agent system is the set of files that shape how Claude Code behaves in your SDK project. It consists of four parts: `CLAUDE.md` (the instruction file), slash commands (structured task entry points), the developer profile stored in `memory/profile/`, and the adaptive guidance rules that translate profile data into concrete agent behavior.
|
|
8
|
-
|
|
9
|
-
Nothing here requires configuration. The agent reads these files at session start and adapts automatically.
|
|
10
|
-
|
|
11
|
-
## CLAUDE.md
|
|
12
|
-
|
|
13
|
-
`CLAUDE.md` is the project instruction file for Claude Code. It is read at the start of every session and governs all agent behavior. In an Elevasis SDK project, it
|
|
14
|
-
|
|
15
|
-
The file is instruction-driven by design. Non-technical developers should never need to edit it. When the agent learns a new rule worth preserving -- such as an error pattern that recurs three times -- it promotes that rule into `CLAUDE.md` automatically.
|
|
16
|
-
|
|
17
|
-
### Sections
|
|
18
|
-
|
|
19
|
-
The generated `CLAUDE.md` contains these sections:
|
|
20
|
-
|
|
21
|
-
- **Session Initialization** -- Checks the `<!-- initialized: false -->` auto-init flag; if false, runs `/meta init` automatically. Otherwise reads `memory/profile/skills.md` for adaptive behavior, reads `memory/index.md` for project context, checks if the template version is current, and suggests `/tutorial` for users with no Platform Navigation experience.
|
|
22
|
-
- **Identity** -- Project orientation: what an Elevasis SDK project is, the developer's role, and how to adapt to non-technical users.
|
|
23
|
-
- **Navigation** -- A table mapping concepts to file paths with load conditions (when to load each file). Includes SDK reference docs, credential model, error history, `docs/project-map.mdx`, and `docs/priorities.mdx`.
|
|
24
|
-
- **Rules** -- Points to auto-loaded rule files in `.claude/rules/`. SDK patterns load automatically; project-specific patterns live in `workspace-patterns.md`. Includes error handling protocol.
|
|
25
|
-
- **Interaction Guidance** -- Per-dimension behavior rules derived from `memory/profile/skills.md`. Covers vocabulary, code completeness, explanation depth, and growth logging.
|
|
26
|
-
- **Commands** -- Table of the 4 slash commands (`/meta`, `/docs`, `/work`, `/tutorial`) with one-line purpose descriptions.
|
|
27
|
-
- **Skills** -- Auto-trigger conditions for the `creds` skill.
|
|
28
|
-
- **Maintaining Memory** -- Hierarchical structure, pruning rules, and what belongs in memory vs. `docs/` vs. `.claude/rules/`.
|
|
29
|
-
|
|
30
|
-
### Session Initialization
|
|
31
|
-
|
|
32
|
-
At the start of every session the agent runs these steps silently before responding:
|
|
33
|
-
|
|
34
|
-
0. Check the `<!-- initialized: ... -->` flag at the top of `CLAUDE.md`. If `false`, run the `/meta init` flow automatically. If `true`, proceed with steps below.
|
|
35
|
-
1. Read `.claude/memory/profile/skills.md` -- adapt all responses to the user's assessed skill levels (see Interaction Guidance below).
|
|
36
|
-
2. Read `.claude/memory/index.md` if it exists -- drill into relevant topic files as needed, balancing context relevance against token usage.
|
|
37
|
-
3. Check the installed `@elevasis/sdk` template version against `templateVersion` in `elevasis.config.ts`. If the SDK has a newer version, notify the user and suggest running `/meta fix`.
|
|
38
|
-
4. If `.claude/memory/` does not exist, suggest running `/meta init` to set up the project.
|
|
39
|
-
5. If the user's Platform Navigation level is none (from skills.md) and `.claude/memory/tutorial-progress.md` does not exist, suggest `/tutorial`.
|
|
40
|
-
|
|
41
|
-
## Slash Commands
|
|
42
|
-
|
|
43
|
-
Skills are Markdown instruction files in `.claude/skills/`. When you type `/skill-name` in a Claude Code session, the agent reads the corresponding `SKILL.md` and follows its instructions.
|
|
44
|
-
|
|
45
|
-
The following skills
|
|
46
|
-
|
|
47
|
-
| Skill | File | Purpose |
|
|
48
|
-
| ----------- | -------------------------- | -------------------------------------------------------- |
|
|
49
|
-
| `/work` | `skills/work/SKILL.md` | Task tracking -- list, create, save, resume, complete |
|
|
50
|
-
| `/elevasis` | `skills/elevasis/SKILL.md` | SDK operations -- check, deploy, exec |
|
|
51
|
-
| `/deploy` | `skills/deploy/skill.md` | Full deploy pipeline (test, build, commit, push) |
|
|
52
|
-
| `/setup` | `skills/setup/SKILL.md` | First-time project setup (placeholder replacement, deps) |
|
|
53
|
-
| `/status` | `skills/status/SKILL.md` | Quick project health check |
|
|
54
|
-
| `/continue` | `skills/continue/SKILL.md` | Resume in-progress work from docs |
|
|
55
|
-
| `/project` | `skills/project/SKILL.md` | Route project management to `elevasis-sdk project:*` |
|
|
56
|
-
| `/sync` | `skills/sync/SKILL.md` | Pull latest, wipe caches, fresh reinstall |
|
|
57
|
-
| `/explore` | `skills/explore/SKILL.md` | Codebase exploration anchored to docs |
|
|
58
|
-
| `/save` | `skills/save/SKILL.md` | Auto-manage docs from conversation context |
|
|
59
|
-
| `/dsp` | `skills/dsp/SKILL.md` | Parallel agent dispatch for implementation tasks |
|
|
60
|
-
|
|
61
|
-
### Key Skills
|
|
62
|
-
|
|
63
|
-
**`/setup`** -- First-time project setup. Replaces template placeholders, installs dependencies, configures `.env`, verifies the project, and optionally runs a first deploy.
|
|
64
|
-
|
|
65
|
-
**`/deploy`** -- Full deploy pipeline: type-check, validate resources, commit, deploy (auto-regenerates `docs/index.md` and `docs/resources.md`), verify platform, and optionally push.
|
|
66
|
-
|
|
67
|
-
**`/elevasis`** -- SDK operations entry point: `check` validates resource definitions, `deploy` bundles and uploads, `exec` runs a resource with input.
|
|
68
|
-
|
|
69
|
-
**`/work`** -- File-based task lifecycle. Creates, resumes, saves, and completes task docs in `docs/in-progress/`. It tracks in-progress work state, not project records.
|
|
70
|
-
|
|
71
|
-
**`/status`** -- Quick project health check: shows SDK version, deployed resources, last deploy date, and environment status.
|
|
72
|
-
|
|
73
|
-
**`/save`** -- Auto-manages docs from conversation context: writes or updates docs based on what was discussed in the session.
|
|
74
|
-
|
|
75
|
-
**`/explore`** -- Codebase exploration anchored to `docs/`. Reads the doc map first, then drills into source as needed.
|
|
76
|
-
|
|
77
|
-
**`/continue`** -- Resumes in-progress work by reading `docs/in-progress/` and picking up where the last session left off.
|
|
78
|
-
|
|
79
|
-
**`/project`** -- Project-management routing for milestones, tasks, notes, and status. It should call the canonical `elevasis-sdk project:*` CLI surface rather than inventing a parallel workflow.
|
|
80
|
-
|
|
81
|
-
That routing is interface-first, not a separate semantic model. `/project` should treat the SDK CLI as the operational entrypoint for the Organization OS delivery/projects contract: `deliveryManifest` in the shared UI, `featureId: 'projects'` in the organization model, and `organizationModel.delivery` for project/milestone/task status semantics.
|
|
82
|
-
|
|
83
|
-
When these command families overlap conceptually, use this boundary:
|
|
84
|
-
|
|
85
|
-
- `/project` -- update or inspect project data in the shared Projects system
|
|
86
|
-
- `/work` -- capture implementation progress and resume context in docs
|
|
87
|
-
- `/adev` -- build, debug, test, or execute resources
|
|
88
|
-
|
|
89
|
-
**`/dsp`** -- Dispatches subagents in parallel for implementation tasks that can run concurrently.
|
|
90
|
-
|
|
91
|
-
**`/sync`** -- Pulls latest changes, wipes all `node_modules` and caches, and runs a fresh reinstall.
|
|
92
|
-
|
|
93
|
-
## Developer Profile
|
|
94
|
-
|
|
95
|
-
The developer profile is stored in `.claude/memory/profile/` as a set of markdown files. It is gitignored -- personal to each developer, not shared with collaborators. Profile data lives in the memory system alongside error patterns, deployment state, and decisions.
|
|
96
|
-
|
|
97
|
-
### Onboarding Flow
|
|
98
|
-
|
|
99
|
-
Profile data is created during `/meta init`. The command runs a 6-question assessment and writes the responses to `memory/profile/`:
|
|
100
|
-
|
|
101
|
-
- **Identity & Goals (3 questions):** What the business does, what to automate, which tools are already in use.
|
|
102
|
-
- **Competency (2 questions):** Command Center familiarity (maps to `platformNavigation`), automation tool familiarity (maps to `automation`). Two additional dimensions (`apiIntegration`, `domainExpertise`) are inferred from these answers.
|
|
103
|
-
- **Communication (1 question):** Step-by-step explanations vs. concise answers.
|
|
104
|
-
|
|
105
|
-
### Profile Structure
|
|
106
|
-
|
|
107
|
-
```
|
|
108
|
-
.claude/memory/profile/
|
|
109
|
-
├── index.md # Profile summary with links to sub-files
|
|
110
|
-
├── identity.md # Organization, industry, goals, integrations
|
|
111
|
-
├── skills.md # Skill dimensions (platformNavigation, apiIntegration, automation, domainExpertise)
|
|
112
|
-
└── preferences.md # Verbosity, guidance style, interaction patterns
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
`identity.md` records the organization name, industry, size, project goals, and known tool integrations. `skills.md` stores four skill dimensions as structured values (`platformNavigation`, `apiIntegration`, `automation`, `domainExpertise`) along with a Growth Log table. See [Interaction Guidance](interaction-guidance.mdx) for the full set of per-dimension adaptation rules. `preferences.md` stores verbosity (`detailed / concise`) and proactive guidance preference.
|
|
116
|
-
|
|
117
|
-
### Auto-Update Triggers
|
|
118
|
-
|
|
119
|
-
The agent updates `memory/profile/` files when it observes:
|
|
120
|
-
|
|
121
|
-
- The user successfully completes an advanced task (level upgrade candidate in `skills.md`)
|
|
122
|
-
- The user mentions new tools or integrations not in `identity.md`
|
|
123
|
-
- The user explicitly asks to change preferences
|
|
124
|
-
|
|
125
|
-
The agent does not prompt for confirmation on minor updates. Major changes (level upgrades) are surfaced to the user before writing.
|
|
126
|
-
|
|
127
|
-
## Rules System
|
|
128
|
-
|
|
129
|
-
Ten rule files are scaffolded in `.claude/rules/`. Rule files are auto-injected by Claude Code when their path patterns match the current file being edited -- no manual loading needed.
|
|
130
|
-
|
|
131
|
-
Rules injected for operations source files (`operations/src/`):
|
|
132
|
-
|
|
133
|
-
- **`platform.md`** -- SDK adapter patterns, typed adapters, platform tool usage.
|
|
134
|
-
- **`error-handling.md`** -- Error types (`ExecutionError`, `PlatformToolError`), retry behavior.
|
|
135
|
-
- **`execution.md`** -- Worker thread model, timeouts, concurrency, org isolation.
|
|
136
|
-
- **`observability.md`** -- Logging with `context.logger`, step-level auto-logging, debugging.
|
|
137
|
-
- **`deployment.md`** -- Deploy commands, dev vs prod, version bumping, common errors.
|
|
138
|
-
|
|
139
|
-
Rules injected for docs files (`docs/`):
|
|
140
|
-
|
|
141
|
-
- **`docs.md`** -- Documentation structure, frontmatter conventions, auto-generated files.
|
|
142
|
-
- **`task-tracking.md`** -- Task doc conventions, injected for in-progress files.
|
|
143
|
-
|
|
144
|
-
Additional contextual rules:
|
|
145
|
-
|
|
146
|
-
- **`frontend.md`** -- React/Mantine patterns, injected for UI source files.
|
|
147
|
-
- **`shared-types.md`** -- Cross-runtime type conventions, injected for foundations files.
|
|
148
|
-
- **`organization-os.md`** -- Organization model and feature shell conventions.
|
|
149
|
-
|
|
150
|
-
## Interaction Guidance
|
|
151
|
-
|
|
152
|
-
The `CLAUDE.md` Interaction Guidance section translates skill dimensions from `memory/profile/skills.md` into concrete behavior rules -- adapting vocabulary, code completeness, explanation depth, and growth logging per dimension. For the full set of per-dimension adaptation rules, see [Interaction Guidance](interaction-guidance.mdx).
|
|
153
|
-
|
|
154
|
-
---
|
|
155
|
-
|
|
156
|
-
**Last Updated:** 2026-04-17
|
|
1
|
+
---
|
|
2
|
+
title: Agent System
|
|
3
|
+
description: CLAUDE.md drives all agent behavior -- project instructions, slash commands, memory-based developer profile, and three-tier adaptive guidance
|
|
4
|
+
loadWhen: "Configuring agent behavior or capabilities"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
The agent system is the set of files that shape how Claude Code behaves in your SDK project. It consists of four parts: `CLAUDE.md` (the instruction file), slash commands (structured task entry points), the developer profile stored in `memory/profile/`, and the adaptive guidance rules that translate profile data into concrete agent behavior.
|
|
8
|
+
|
|
9
|
+
Nothing here requires configuration. The agent reads these files at session start and adapts automatically.
|
|
10
|
+
|
|
11
|
+
## CLAUDE.md
|
|
12
|
+
|
|
13
|
+
`CLAUDE.md` is the project instruction file for Claude Code. It is read at the start of every session and governs all agent behavior. In an Elevasis SDK project, it lives at the project root.
|
|
14
|
+
|
|
15
|
+
The file is instruction-driven by design. Non-technical developers should never need to edit it. When the agent learns a new rule worth preserving -- such as an error pattern that recurs three times -- it promotes that rule into `CLAUDE.md` automatically.
|
|
16
|
+
|
|
17
|
+
### Sections
|
|
18
|
+
|
|
19
|
+
The generated `CLAUDE.md` contains these sections:
|
|
20
|
+
|
|
21
|
+
- **Session Initialization** -- Checks the `<!-- initialized: false -->` auto-init flag; if false, runs `/meta init` automatically. Otherwise reads `memory/profile/skills.md` for adaptive behavior, reads `memory/index.md` for project context, checks if the template version is current, and suggests `/tutorial` for users with no Platform Navigation experience.
|
|
22
|
+
- **Identity** -- Project orientation: what an Elevasis SDK project is, the developer's role, and how to adapt to non-technical users.
|
|
23
|
+
- **Navigation** -- A table mapping concepts to file paths with load conditions (when to load each file). Includes SDK reference docs, credential model, error history, `docs/project-map.mdx`, and `docs/priorities.mdx`.
|
|
24
|
+
- **Rules** -- Points to auto-loaded rule files in `.claude/rules/`. SDK patterns load automatically; project-specific patterns live in `workspace-patterns.md`. Includes error handling protocol.
|
|
25
|
+
- **Interaction Guidance** -- Per-dimension behavior rules derived from `memory/profile/skills.md`. Covers vocabulary, code completeness, explanation depth, and growth logging.
|
|
26
|
+
- **Commands** -- Table of the 4 slash commands (`/meta`, `/docs`, `/work`, `/tutorial`) with one-line purpose descriptions.
|
|
27
|
+
- **Skills** -- Auto-trigger conditions for the `creds` skill.
|
|
28
|
+
- **Maintaining Memory** -- Hierarchical structure, pruning rules, and what belongs in memory vs. `docs/` vs. `.claude/rules/`.
|
|
29
|
+
|
|
30
|
+
### Session Initialization
|
|
31
|
+
|
|
32
|
+
At the start of every session the agent runs these steps silently before responding:
|
|
33
|
+
|
|
34
|
+
0. Check the `<!-- initialized: ... -->` flag at the top of `CLAUDE.md`. If `false`, run the `/meta init` flow automatically. If `true`, proceed with steps below.
|
|
35
|
+
1. Read `.claude/memory/profile/skills.md` -- adapt all responses to the user's assessed skill levels (see Interaction Guidance below).
|
|
36
|
+
2. Read `.claude/memory/index.md` if it exists -- drill into relevant topic files as needed, balancing context relevance against token usage.
|
|
37
|
+
3. Check the installed `@elevasis/sdk` template version against `templateVersion` in `elevasis.config.ts`. If the SDK has a newer version, notify the user and suggest running `/meta fix`.
|
|
38
|
+
4. If `.claude/memory/` does not exist, suggest running `/meta init` to set up the project.
|
|
39
|
+
5. If the user's Platform Navigation level is none (from skills.md) and `.claude/memory/tutorial-progress.md` does not exist, suggest `/tutorial`.
|
|
40
|
+
|
|
41
|
+
## Slash Commands
|
|
42
|
+
|
|
43
|
+
Skills are Markdown instruction files in `.claude/skills/`. When you type `/skill-name` in a Claude Code session, the agent reads the corresponding `SKILL.md` and follows its instructions.
|
|
44
|
+
|
|
45
|
+
The following skills ship with every Elevasis SDK project and are committed to version control so collaborators get the same experience:
|
|
46
|
+
|
|
47
|
+
| Skill | File | Purpose |
|
|
48
|
+
| ----------- | -------------------------- | -------------------------------------------------------- |
|
|
49
|
+
| `/work` | `skills/work/SKILL.md` | Task tracking -- list, create, save, resume, complete |
|
|
50
|
+
| `/elevasis` | `skills/elevasis/SKILL.md` | SDK operations -- check, deploy, exec |
|
|
51
|
+
| `/deploy` | `skills/deploy/skill.md` | Full deploy pipeline (test, build, commit, push) |
|
|
52
|
+
| `/setup` | `skills/setup/SKILL.md` | First-time project setup (placeholder replacement, deps) |
|
|
53
|
+
| `/status` | `skills/status/SKILL.md` | Quick project health check |
|
|
54
|
+
| `/continue` | `skills/continue/SKILL.md` | Resume in-progress work from docs |
|
|
55
|
+
| `/project` | `skills/project/SKILL.md` | Route project management to `elevasis-sdk project:*` |
|
|
56
|
+
| `/sync` | `skills/sync/SKILL.md` | Pull latest, wipe caches, fresh reinstall |
|
|
57
|
+
| `/explore` | `skills/explore/SKILL.md` | Codebase exploration anchored to docs |
|
|
58
|
+
| `/save` | `skills/save/SKILL.md` | Auto-manage docs from conversation context |
|
|
59
|
+
| `/dsp` | `skills/dsp/SKILL.md` | Parallel agent dispatch for implementation tasks |
|
|
60
|
+
|
|
61
|
+
### Key Skills
|
|
62
|
+
|
|
63
|
+
**`/setup`** -- First-time project setup. Replaces template placeholders, installs dependencies, configures `.env`, verifies the project, and optionally runs a first deploy.
|
|
64
|
+
|
|
65
|
+
**`/deploy`** -- Full deploy pipeline: type-check, validate resources, commit, deploy (auto-regenerates `docs/index.md` and `docs/resources.md`), verify platform, and optionally push.
|
|
66
|
+
|
|
67
|
+
**`/elevasis`** -- SDK operations entry point: `check` validates resource definitions, `deploy` bundles and uploads, `exec` runs a resource with input.
|
|
68
|
+
|
|
69
|
+
**`/work`** -- File-based task lifecycle. Creates, resumes, saves, and completes task docs in `docs/in-progress/`. It tracks in-progress work state, not project records.
|
|
70
|
+
|
|
71
|
+
**`/status`** -- Quick project health check: shows SDK version, deployed resources, last deploy date, and environment status.
|
|
72
|
+
|
|
73
|
+
**`/save`** -- Auto-manages docs from conversation context: writes or updates docs based on what was discussed in the session.
|
|
74
|
+
|
|
75
|
+
**`/explore`** -- Codebase exploration anchored to `docs/`. Reads the doc map first, then drills into source as needed.
|
|
76
|
+
|
|
77
|
+
**`/continue`** -- Resumes in-progress work by reading `docs/in-progress/` and picking up where the last session left off.
|
|
78
|
+
|
|
79
|
+
**`/project`** -- Project-management routing for milestones, tasks, notes, and status. It should call the canonical `elevasis-sdk project:*` CLI surface rather than inventing a parallel workflow.
|
|
80
|
+
|
|
81
|
+
That routing is interface-first, not a separate semantic model. `/project` should treat the SDK CLI as the operational entrypoint for the Organization OS delivery/projects contract: `deliveryManifest` in the shared UI, `featureId: 'projects'` in the organization model, and `organizationModel.delivery` for project/milestone/task status semantics.
|
|
82
|
+
|
|
83
|
+
When these command families overlap conceptually, use this boundary:
|
|
84
|
+
|
|
85
|
+
- `/project` -- update or inspect project data in the shared Projects system
|
|
86
|
+
- `/work` -- capture implementation progress and resume context in docs
|
|
87
|
+
- `/adev` -- build, debug, test, or execute resources
|
|
88
|
+
|
|
89
|
+
**`/dsp`** -- Dispatches subagents in parallel for implementation tasks that can run concurrently.
|
|
90
|
+
|
|
91
|
+
**`/sync`** -- Pulls latest changes, wipes all `node_modules` and caches, and runs a fresh reinstall.
|
|
92
|
+
|
|
93
|
+
## Developer Profile
|
|
94
|
+
|
|
95
|
+
The developer profile is stored in `.claude/memory/profile/` as a set of markdown files. It is gitignored -- personal to each developer, not shared with collaborators. Profile data lives in the memory system alongside error patterns, deployment state, and decisions.
|
|
96
|
+
|
|
97
|
+
### Onboarding Flow
|
|
98
|
+
|
|
99
|
+
Profile data is created during `/meta init`. The command runs a 6-question assessment and writes the responses to `memory/profile/`:
|
|
100
|
+
|
|
101
|
+
- **Identity & Goals (3 questions):** What the business does, what to automate, which tools are already in use.
|
|
102
|
+
- **Competency (2 questions):** Command Center familiarity (maps to `platformNavigation`), automation tool familiarity (maps to `automation`). Two additional dimensions (`apiIntegration`, `domainExpertise`) are inferred from these answers.
|
|
103
|
+
- **Communication (1 question):** Step-by-step explanations vs. concise answers.
|
|
104
|
+
|
|
105
|
+
### Profile Structure
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
.claude/memory/profile/
|
|
109
|
+
├── index.md # Profile summary with links to sub-files
|
|
110
|
+
├── identity.md # Organization, industry, goals, integrations
|
|
111
|
+
├── skills.md # Skill dimensions (platformNavigation, apiIntegration, automation, domainExpertise)
|
|
112
|
+
└── preferences.md # Verbosity, guidance style, interaction patterns
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
`identity.md` records the organization name, industry, size, project goals, and known tool integrations. `skills.md` stores four skill dimensions as structured values (`platformNavigation`, `apiIntegration`, `automation`, `domainExpertise`) along with a Growth Log table. See [Interaction Guidance](interaction-guidance.mdx) for the full set of per-dimension adaptation rules. `preferences.md` stores verbosity (`detailed / concise`) and proactive guidance preference.
|
|
116
|
+
|
|
117
|
+
### Auto-Update Triggers
|
|
118
|
+
|
|
119
|
+
The agent updates `memory/profile/` files when it observes:
|
|
120
|
+
|
|
121
|
+
- The user successfully completes an advanced task (level upgrade candidate in `skills.md`)
|
|
122
|
+
- The user mentions new tools or integrations not in `identity.md`
|
|
123
|
+
- The user explicitly asks to change preferences
|
|
124
|
+
|
|
125
|
+
The agent does not prompt for confirmation on minor updates. Major changes (level upgrades) are surfaced to the user before writing.
|
|
126
|
+
|
|
127
|
+
## Rules System
|
|
128
|
+
|
|
129
|
+
Ten rule files are scaffolded in `.claude/rules/`. Rule files are auto-injected by Claude Code when their path patterns match the current file being edited -- no manual loading needed.
|
|
130
|
+
|
|
131
|
+
Rules injected for operations source files (`operations/src/`):
|
|
132
|
+
|
|
133
|
+
- **`platform.md`** -- SDK adapter patterns, typed adapters, platform tool usage.
|
|
134
|
+
- **`error-handling.md`** -- Error types (`ExecutionError`, `PlatformToolError`), retry behavior.
|
|
135
|
+
- **`execution.md`** -- Worker thread model, timeouts, concurrency, org isolation.
|
|
136
|
+
- **`observability.md`** -- Logging with `context.logger`, step-level auto-logging, debugging.
|
|
137
|
+
- **`deployment.md`** -- Deploy commands, dev vs prod, version bumping, common errors.
|
|
138
|
+
|
|
139
|
+
Rules injected for docs files (`docs/`):
|
|
140
|
+
|
|
141
|
+
- **`docs.md`** -- Documentation structure, frontmatter conventions, auto-generated files.
|
|
142
|
+
- **`task-tracking.md`** -- Task doc conventions, injected for in-progress files.
|
|
143
|
+
|
|
144
|
+
Additional contextual rules:
|
|
145
|
+
|
|
146
|
+
- **`frontend.md`** -- React/Mantine patterns, injected for UI source files.
|
|
147
|
+
- **`shared-types.md`** -- Cross-runtime type conventions, injected for foundations files.
|
|
148
|
+
- **`organization-os.md`** -- Organization model and feature shell conventions.
|
|
149
|
+
|
|
150
|
+
## Interaction Guidance
|
|
151
|
+
|
|
152
|
+
The `CLAUDE.md` Interaction Guidance section translates skill dimensions from `memory/profile/skills.md` into concrete behavior rules -- adapting vocabulary, code completeness, explanation depth, and growth logging per dimension. For the full set of per-dimension adaptation rules, see [Interaction Guidance](interaction-guidance.mdx).
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
**Last Updated:** 2026-04-17
|
|
@@ -4,13 +4,13 @@ description: The SDK scaffolds a complete development environment for Claude Cod
|
|
|
4
4
|
loadWhen: "Understanding the agent framework structure"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Your Elevasis SDK project ships with more than code. It builds a development environment designed around Claude Code as the primary interface. Most external SDK developers are non-technical -- they write workflows through conversation, not by reading API docs. The framework gives the agent everything it needs to guide those users effectively from the first session onward.
|
|
8
8
|
|
|
9
9
|
The framework lives entirely in `.claude/`. It is never deployed and never touches the `docs/` directory, which ships to the platform.
|
|
10
10
|
|
|
11
|
-
## What
|
|
11
|
+
## What Ships With Your Project
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Your Elevasis SDK project includes the following agent infrastructure alongside your source files:
|
|
14
14
|
|
|
15
15
|
```
|
|
16
16
|
.claude/
|
|
@@ -103,7 +103,7 @@ The Growth Log in `memory/profile/skills.md` keeps approximately 20 recent entri
|
|
|
103
103
|
- [Agent System](agent.mdx) - CLAUDE.md sections, slash commands, developer profile, and adaptive guidance tiers
|
|
104
104
|
- [Memory System](memory.mdx) - Architecture, error tracking format, scaling rules, and maintenance guidelines
|
|
105
105
|
- [Interaction Guidance](interaction-guidance.mdx) - Dimensional adaptation rules per skill axis with growth tracking protocol
|
|
106
|
-
- [Tutorial System](tutorial-system.mdx) -
|
|
106
|
+
- [Tutorial System](tutorial-system.mdx) - Two-track onboarding (8 vibe-coder + 19 technical lessons), skill-adaptive lesson variants, and progress tracking
|
|
107
107
|
- [Resource Documentation](resource-documentation.mdx) - Docs directory structure, frontmatter schema, size limits, deploy behavior, and /docs command reference
|
|
108
108
|
|
|
109
109
|
---
|