Установка
SKILL.md
Before Making Any Changes
MANDATORY: Before writing or modifying any code in src/vs/sessions/, you must read these documents:
.github/instructions/coding-guidelines.instructions.md— Naming conventions, code style, string localization, disposable management, and DI patterns..github/instructions/source-code-organization.instructions.md— Layers, target environments, dependency injection, and folder structure conventions.
Then read the relevant spec for the area you are changing (see table below). If you modify the implementation, you must update the corresponding spec to keep it in sync.
Specification Documents
| Document | Path | When to read |
|---|---|---|
| Layer rules | src/vs/sessions/LAYERS.md | Before adding any cross-module imports. Defines the internal layer hierarchy (core → services → contrib → providers) with ESLint-enforced import restrictions. Key rule: contrib/* must NOT import from contrib/providers/*. |
| Layout spec | src/vs/sessions/LAYOUT.md | Before changing any part, grid structure, titlebar, or CSS. Documents the fixed grid layout (Sidebar | ChatBar | AuxiliaryBar), part positions, the modal editor system, per-session layout state persistence, and the titlebar's three-section design. |
| Layout controller spec | src/vs/sessions/LAYOUT_CONTROLLER.md | Before changing LayoutController or per-session layout state. Details how the auxiliary bar, panel, and editor working sets are captured/restored when switching sessions, multi-session suppression, the auto-reveal-on-changes flow, workspace-folder ordering, and storage/migration. |
| Sessions spec | src/vs/sessions/SESSIONS.md | Before changing session/provider interfaces or data flow. Covers the pluggable provider model (ISessionsProvider → ISessionsProvidersService → ISessionsManagementService), ISession/IChat interfaces, observable state propagation, workspace/folder model, and session type system. |
| Sessions list spec | src/vs/sessions/SESSIONS_LIST.md | Before changing the sessions sidebar list. Covers the tree widget (WorkbenchObjectTree), renderers, grouping (workspace/date), filtering (type/status/archived/read), pinning, read/unread state, workspace capping, mobile adaptations, storage keys, and registered actions. |
| Mobile spec | src/vs/sessions/MOBILE.md | Before adding any phone-specific UI. Covers the mobile part subclass architecture, viewport classification (phone < 640px), MobileTitlebarPart, drawer-based sidebar, MobilePickerSheet, view/action gating with IsPhoneLayoutContext, and the desktop → mobile component mapping. |
| AI Customizations | src/vs/sessions/AI_CUSTOMIZATIONS.md | Before working on the customization editor or tree view. Documents the management editor (in vs/workbench) and the tree view/overview (in vs/sessions/contrib/aiCustomizationTreeView). |
Common Pitfalls
- A sash element's
left/topis the hit-area edge, not the split boundary:SplitView.getSashPositionreturns the exact boundary after the preceding view, thenSash.layoutsubtracts half the sash size so the draggable element is centered on that boundary. Align the Sessions/Editor and bottom-Panel grid sash hit areas toagents.layout.floatingPanelGap; do not apply that token to independent geometry such as the Auxiliary Bar's leading padding. - Wrong menu IDs: Never use
MenuId.*fromvs/platform/actionsfor Agents window UI. Always useMenus.*frombrowser/menus.ts. - Durable chat source/origin references: Store only
turnIdin durable fork/side-chat references. Active versus historical is mutable lifecycle state that consumers must resolve against the currentactiveTurnand retainedturnswhen needed; do not encode lifecycle state in the reference type. - Selected side-chat text is an immutable snapshot, not a live range:
SideChatSource.selection/ChatOrigin.selectionpreserve the exact text captured at side-chat creation time. Never model it as offsets into the source transcript or try to recompute it from later DOM/protocol state. ChatSourceis fully discriminated: Fork and side-chat sources both require explicitkindplus stable top-levelturnId. Do not add no-kind compatibility helpers or route by structural property presence; switch directly onsource.kind.- Sessions menu ids must live in the shared menu registry: Do not declare sessions-owned
new MenuId(...)constants ad hoc inside individual parts. Add them tobrowser/menus.tsunderMenuswith discoverableSessionsEditor...names so ownership and reuse stay obvious. - Events instead of observables: Session state must flow through
IObservable, notEvent. Useautorun/derivedfor reactive UI, notonDid*event listeners. - Importing from providers: Non-provider
contrib/*code must never import fromcontrib/providers/*. Extract shared interfaces toservices/orcommon/. IAgentSessionsServicein shared code:IAgentSessionsService(vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService) is a Copilot-provider internal and may be imported only by the Copilot chat sessions provider (contrib/providers/copilotChatSessions/). Shared sessions code (core/services/non-provider contribs, e.g. the sessions list or visible-sessions grid) must stay provider-agnostic and go throughISession/ISessionsManagementService— never reach intomodel.observeSession(...)etc. for lazy loading. This is enforced by an ESLintno-restricted-importsban scoped tosrc/vs/sessions/**(Copilot provider exempted).- Missing entry point import: New contribution files must be imported in the appropriate
sessions.*.main.tsentry point to be loaded (for examplesessions.common.main.ts,sessions.desktop.main.ts,sessions.web.main.ts, orsessions.web.main.internal.ts). - Modifying workbench code: Prefer extending/wrapping workbench classes in the sessions layer over modifying shared workbench components.
- Do not repeat subagent identity beside the open-chat pill: The subagent pill's title is the complete inline affordance. Do not render the agent name or a generic "Subagent" phrase before it; that duplicates identity and adds visual noise.
- Editor feedback glyph placement: Use Monaco's
lineNumberClassNamewhen the feedback affordance should replace the number only while its line is hovered; it eliminates a dedicated glyph lane while preserving the number at rest. Style the line-number pseudo-element as the full feedback control, including its themed hover background, so its visual and click target match. - Line-number decoration tooltips belong in Monaco decoration options: A
lineNumberClassNamenode is regenerated as the editor renders and scrolls, so DOM-managed hovers can silently attach to a stale or never-decorated element. Set the localizedlineNumberHoverMessagewith the same decoration instead; Monaco's glyph hover controller follows the rendered line-number lifecycle. - Compact multi-diff control alignment: The file-header twistie, unchanged-region expand control, and fold control form one visual column in the Agents editor. Remove the header content's left padding and use the same small inset for both unchanged-region controls; do not let the shared multi-diff defaults leave each control at a separate horizontal offset.
- Embedded multi-diff gutters need a shared minimum width: Each embedded editor otherwise sizes line numbers from its own largest line number, causing the content and nearby feedback glyph to appear to drift between file entries. Set a common
lineNumbersMinCharswidth for the compact multi-diff; it remains stable through three-digit line numbers and grows only when a file exceeds that reserved capacity. - Timeouts as fixes: Never use
setTimeout/disposableTimeout/arbitrary delays to fix bugs or implement behaviour. They are race-prone guesses that mask the real ordering/state problem. Drive logic off deterministic signals instead — observables (autorun/derived), explicit events (onDidChange*), lifecycle phases, or awaiting the actual async operation. - Sticky prompt navigation must match the rail/title reveal: Previous/Next and the sticky title must all reveal the prompt (request) row aligned to the top via the shared
reveal(requestId)— the same path the dock/ruler rail uses. Do not align the following response to keep the header pinned, and do not add a "navigation pin" that forces the header to stay visible after a jump: the header is atop:0overlay, so it would cover the freshly top-aligned prompt (the prompt shows only a sliver). Let the header follow scroll tracking (it hides once the prompt is at the top), consistent with the dock. Use the chat request-bubble hover background (--vscode-chat-requestBubbleHoverBackground, toolbar hover as fallback), composited over the opaque panel base, for the sticky title affordance rather than an underline. - Sticky prompt header transition is a label roll, not a moving band: on prompt change the label text rolls (WAAPI slide+fade of absolutely-positioned line elements inside an
overflow:hiddenclip viewport), while the opaque band stays fixed. Do NOT translate the whole band to get an Explorer-style push-off: the band would move above the transcript top (its container.interactive-sessionisoverflow:visible, so it'd overlap the session header) and clipping it would cut the band's soft drop-shadow. The roll gives the "header gives way to the next" feel with none of that risk. Gate the roll on the header already being visible (snap on first appearance/jumps) and honorprefers-reduced-motion. - Sticky prompt header must mirror the session header's box model, not the message column: the band lives in a two-level structure — an outer full-width
.prompt-timeline-sticky(positioning + reveal only), a.prompt-timeline-sticky-contentcentered host (max-width: 950px; margin: 0 auto; padding: 0 10px, matching.session-view-centered-content+.chat-composite-bar.session-header-bar's 10px side padding), and an inner.prompt-timeline-sticky-band(flex: 1) that carries the background/border/shadow (mirroring.chat-composite-bar-header). This makes the band's background align exactly with the session header's bottom-border line above it. Do NOT paint the background on the full-width outer (bleeds past the header and over the scrollbar gutter — a ~1px right-edge "bump") or on the 950 message column (20px wider than the header, since the header is inset 10px). The band'spadding-left: 22px(16px icon + 6px gap) reproduces the header's status-icon column so the prompt text lines up with the title and the 32px-inset prompts below. - Grid
onDidChangeis not a sash-drag signal: the workbenchSerializableGrid/GridViewonDidChangefires for size changes and view add/remove, but not internal splitview sash drags. If logic must react to a part node being resized by a sash, route it through that part'slayout(width, ...)callback, which receives the in-progress node width. - Docked detail collapse must use the raw sash width before clamping: the docked auxiliary bar keeps a minimum visible width, so checking the clamped width can never detect a drag-to-zero collapse. Decide collapse from the raw requested sash width, then route the hide through
setPartHidden(AUXILIARYBAR_PART)so context keys and per-session capture stay in sync. - Stashed state read back later (side-channels): Never stash a value on a service during one method call and read it back from a separate query later, assuming it is still valid (e.g. a
Set/flag set inopenSessionand consumed by ashouldX()pull-API). This is fragile temporal coupling. Instead, make it reactive state that is set atomically together with its source of truth and consumed reactively. Example: per-activation intent like "open in background / preserve focus" is exposed as anIObservableset in the same transaction asactiveSession(via a single internal setter so it can never go stale), and read with.read(reader)in the consumer'sautorun— never via a consume-once getter. - Provider-owned model/mode selection belongs in the loaded chat model, with draft persistence driven by debounce: For AHP-backed chats,
setModel/setAgentmust push the selection into the loadedIChatModel.inputModel(like_updateChatSessionState) and let the draft-sync debounce emitchat/draftChanged. Do not immediately dispatch a model/agent-only draft from the provider, because it can overwrite unsaved typed text before the debounced full input-state draft is persisted. - Blocking on a "pending/waiting" state instead of creating + upgrading: When an entity (e.g. a draft session) depends on something that registers asynchronously, don't withhold creation behind a pending/waiting state. Prefer creating immediately with the best available data, then replace/upgrade it once the awaited dependency arrives (driven by an
onDidChange*/observable signal), cancelling the upgrade if the user changes the inputs meanwhile. Do not bound the upgrade with a timeout or even a lifecycle milestone likeLifecyclePhase.Eventually— an agent host connects lazily and can surface its session types arbitrarily late, which would lock in the wrong fallback. Let the upgrade listener live for the consumer's lifetime instead. - Over-commenting: Don't write long explanatory comments narrating what the code does or justifying ordinary patterns. Hard rules: JSDoc = 1–2 short sentences max (never enumerate every branch/feature, restate the signature, or list what the function does NOT do); inline method comments = 1 line max, only for a genuine workaround/non-obvious constraint, never to narrate the next statement. Default to no comment — if code needs a paragraph to explain, rename/extract instead. Before writing any comment longer than one line, delete it or shorten it to one line.
- Inserting/removing DOM on demand for transient UI (e.g. inline rename inputs): Don't
insertBefore/appendChild+remove()a widget on the tab/row element itself when an interaction starts/ends — that churns the parent's child list and depends on event ordering during teardown. Also don't eagerly build a heavy widget (e.g. anInputBox) per row "just in case", since most rows never use it. Instead, create a stable, empty container alongside the label once, toggle its visibility via a CSS class on the row (e.g..editing), and create the widget inside that container lazily only while editing — disposing it and emptying the container (reset(container)) when done (InputBox.dispose()does not detach its own node). Prefer the shared themed widget (InputBox+defaultInputBoxStyles) over a hand-rolled<input>. - Collapsing distinct provider identities in pickers: Do not collapse extension-backed chat session ids (e.g.
copilotcli) and agent-host ids (e.g.agent-host-copilotcli) based only on friendly names or well-known provider enums. They can coexist in the Agents window and route to different infrastructure; keep the exact session type id through selection/delegation and hide ambiguous legacy targets when an agent-host target supersedes them. - Permission picker copy must stay provider-neutral and aligned: Reuse the same labels and descriptions across Copilot Chat and Agent Host permission pickers. Avoid provider-specific phrasing such as "Copilot uses..." when the same choice appears in the Agents window.
- Interactive tool denial must use the SDK's interactive-denial result, not a hard reject: In the Agent Host Copilot provider, a user choosing Skip must resolve the permission request with
denied-interactively-by-userso the SDK feeds the denial back to the model and continues the turn. Reserverejectfor abort, disposal, or requests that cannot be presented to the user; returning it for a renderer decision terminates the session turn. - Internal Agents workspace in recent history: Collapse every internal
User/agent-sessions.code-workspacevariant into one canonical Agents Window entry. Recognize the reserved path across profile and worktree user-data directories, and make the single picker entry point at the current environment's Agents workspace. - Resolving a session's provider via the create-only tracking map: On the agent host, resolve the owning provider for any per-session operation (createChat, disposeChat, sendMessage, …) through
AgentService._findProviderForSession, never the raw_sessionToProvidermap. That map is populated only bycreateSession, so a restored session (alive in the state manager after a host restart but never created in this process) is absent from it — a direct lookup throwsno provider for sessionand silently breaks the feature (e.g. Add Chat did nothing for restored sessions while messaging worked, because messaging already used the fallback)._findProviderForSessionfalls back to the session URI's scheme provider, which is what makes restored sessions work. - Dispatching per-chat side-channel actions (agent/model) to the session URI: An agent-host session can own multiple peer chats, each with its own backend conversation (
CopilotAgent._chatSessions). Conversation side-channel actions likeSessionAgentChanged/SessionModelChangedmust be dispatched to the per-chat turn channel (_resolveTurnDispatchChannel, which carries achatIdfragment for peer chats), notsession.toString(). The session URI resolves to the session's default chat (_sessions), so dispatching there silently applies the change to the wrong conversation and an additional chat never sees the agent/model swap. The host must also forward thechatChannelthroughagentSideEffects.handleAction→changeAgent/changeModel, which apply it to_chatSessionswhen present. The protocol modelssummary.agent/summary.modelat session level only, so equality guards comparing against session summary are valid for the default chat but must be skipped for peer chats. - Do not infer or fall back from a peer chat channel after progress was emitted: Agent progress signals for chat-scoped actions, especially tool-call readiness and permission requests, must be emitted with the exact
ahp-chat://...channel that owns the tool. Do not recover by scanning active turns, remappingChatToolCallConfirmed, or usingparseDefaultChatUri(...) ?? sessionUriinAgentSideEffects; malformed/misrouted chat channels should fail loudly so the producer or dispatch path is fixed.handleToolCallConfirmedand_toolCallAgentsmust use the chat channel URI containing the tool call; keying by the parent session URI makes confirmations miss the pending SDK request. - Do not synthesize default chat URIs in the workbench handler:
AgentHostSessionHandlermust source the upstream default chat URI from hydratedSessionState.defaultChat/SessionState.chatsand store that mapping in its chat-resource-to-upstream-URI map. CallingbuildDefaultChatUri(session)in the handler assumes one server URI shape and hides protocol/provider bugs; dispatch turn lifecycle and pending/input actions through the mapped upstream chat URI instead. - Model subagents as chats, not sessions: A subagent spawned from a tool call belongs to the parent session as an additional chat with
origin.kind === "tool", hidden from the chat tab strip. Do not callrestoreSessionfor subagents; that creates_sessionStateswithout a matching_chatStatesentry, so later chat actions hit "Action for unknown chat". Add a chat on the parent session and dispatch the subagent turn to that chat URI. - Keep case-sensitive ids out of URI authority: URI authorities are case-insensitive, so do not place tool call ids in the
ahp-chatauthority. Subagent chat URIs use a stablesubagentauthority and put the encoded tool call id in the path; usebuildSubagentChatUri(...)instead ofbuildChatUri(..., \subagent-${toolCallId}`)`. - Selected custom agent must be in the SDK's
customAgents, not justpluginDirectories: The Copilot SDK validates the session-startagent:option (passed tocreateSession/resumeSession) against thecustomAgentslist by name only — it does NOT consultpluginDirectories.copilotSessionLauncher._buildSessionConfigdeliberately omits agents from file-dir plugins fromcustomAgents(relying on the SDK'spluginDirectoriesdiscovery to avoid duplicates), so selecting a plugin/extension-contributed agent (e.g. "Inbox") otherwise fails withCustom agent '<name>' not found. The fix (toSdkSessionCustomAgents) force-adds the resolved selected agent intocustomAgentswhile every other file-dir agent still loads viapluginDirectories. Note the agent picker offers VS Code chat modes fromIChatModeService, but onlyplugin/extensionstorage agents are synced to the host (SYNCABLE_STORAGE_SOURCES);user/localagents are never synced, so_resolveAgentNamereturnsundefinedfor them and noagent:is sent. - Derive SDK custom-agent names exactly like
parseAgentFile:_resolveAgentNameresolves the selected agent through the plugin parser, which trims the frontmattername(getStringValue('name')?.trim() || nameFromFile). When building the SDKcustomAgentslist (toSdkCustomAgents), derive the name the same way (?.trim() || agent.name); reading the raw frontmatternamewithout trimming yields a config name that won't match the trimmedresolvedAgentName, so the SDK still rejects the session withCustom agent '<name>' not found. - Peer chats have no server
summary, so dedup side-channel dispatch against the last value sent for that chat: equality guards before dispatchingSessionModelChanged/SessionAgentChangedcompare againstsummary.model/summary.agent, which only exist for the session's default chat. For peer chats, track the last-dispatched model/agent on theAgentHostChatSessioninstance (auto-cleaned on dispose) and diff against that — otherwise every peer-chat turn redundantly re-dispatches (and re-resolves the agent), and an intentional "clear selection" (undefined) can't be detected. - Scrollable transcript surfaces must use workbench scrollbars: Don't make Agents/voice transcript regions scrollable with native
overflow-y: autoon the content node. Wrap transcript content inDomScrollableElement/list widgets so scrollbars match VS Code theming and remain usable in narrow auxiliary-window layouts. - Background-sending a multi-chat composer must reset the composer before dispatching the send, not concurrently: in
NewChatInSessionWidget._send, creating the replacement untitled chat (openNewChatInSession({ forceNew: true })→provider.createNewChat) and the fire-and-forget backgroundsendRequestboth reach into shared chat-session state (acquireOrLoadSession/getOrCreateChatSession) for chats in the same group. Running them concurrently (send first, reset second) raced and left the sent chat stuck spinning with its message never dispatched, plus a second empty "New Chat" tab. Fullyawaitthe composer reset first, then fire the background send so it runs on its own. - Chat tab order is the provider's stable creation order; don't reorder in the renderer: the agent host delivers
state.chatsin stable creation order (append on add, replace-in-place on update — seeagentHostStateManager/the session reducer), and a genuinely new chat is appended last. The renderer's rebuild autorun (chatCompositeBar.ts) must render that order as-is. Do not partition/move in-composerUntitledchats to the end: a draft is already last, and reordering by status makes a tab jump when a draft commits out of creation order (e.g. sending the 3rd of three drafts first moved it to the front). A chat'sUntitledpresentation (viaAdditionalChat._isNew, needed sosessionView.tsshows the composer) is independent of tab order and must not drive it. Also note_restorePeerChats(agentService.ts) must seed restored chats ingetChats()order, not inPromise.allresolution order, or the catalog scrambles on reload. - A new chat must report
SessionStatus.Untitleduntil its first request is sent, regardless of how the provider creates it:sessionView.tsonly shows the new-chat composer (which owns the Alt+Enter background-send handler) whenactiveChat.status === Untitled. The agent host commits a new peer chat eagerly, so its host status isCompleted— surfacing the standard chat widget and breaking background send. Gate the chat's presented status on a provider-sideisNewflag (AdditionalChat.markNew/markSent, set increateNewChatand cleared insendRequest's committed-chat branch), not on the host-reported status. - Service operations should return a result or throw, not
undefinedfor unsupported cases: capability-gated operations likeforkChatInSessionmust throw when the provider/session cannot perform them. Keep fallback decisions in the caller before invoking the service instead of encoding fallback as anundefinedservice result. - A provisional session abandoned during commit detection must not be returned as successful: its status can remain
InProgressafter its lifecycle owner is disposed, so consumers waiting for a terminal status never settle. Clean up the provisional session and reject the send when commit detection times out or the connection is lost. - Drop a fork when its turn point is unknown, don't forward it empty: in
AgentService.createChat/createSession, if the requested forkturnId/turnIndexresolves to no source turns, setfork: undefinedand fall through to a fresh create. Forwarding the fork with an empty turn slice makes the Copilot provider callsessions.forkwith notoEventId, inheriting the entire backend conversation while the new chat UI is seeded with zero turns — an inconsistent hidden-history chat. - Side-chat context belongs to the provider, not AgentService message mutation:
AgentServicerecords and forwards the side-chat origin, but must not synthesize a first-turnChatattachment or strip provider-added context on restore. Each supporting provider establishes hidden backend context and removes inherited/provider-added history from the turns it returns. MessageAttachmentKind.Chatis generic and may reference unloaded chats: resolve chat attachments through a generic async path, enforce same-session ownership before hydration, and restore the referenced session/chat when it is absent from the state manager. Do not name this logic after side chats or assume/btwis its only producer.- Agent capabilities are provider-specific: do not implement side chats for an agent merely because the protocol supports them. Advertise
multipleChats.sideChatand run shared side-chat tests only for providers with a complete provider-owned context/restore implementation. - User-created side chats use the standard peer-chat tab model; only tool-origin subagents stay hidden by default: a
ChatOriginKind.SideChatchat is a normal user-facing peer chat, so it must flow throughvisibleChatTabs, the Conversations menu, pickers, and close/reopen like any other peer chat. Do not create a separate editor/detail surface for it; reserve the hidden/read-only default only for tool-origin subagents. /btwmust bypass queue/steer, may anchor toactiveTurn, and should activate the new peer chat through the normal sessions API: mark the silent slash commandexecuteDuringRequestso the chat widget invokes it independently, validate its anchor against completed turns or the current active turn, and after creating the side chat activate it viaISessionsService.openChat(...)before sending on that chat. Provider side-chat creation must lock on the new chat, not the source send key. Wrap the first provider prompt with a succinct instruction to prefer explanation over action and avoid work unless explicitly requested; include bounded user-visible active-turn markdown when native forks omit it, then strip the private wrapper from reconstructed visible history. Never inject reasoning or tool payloads.- A responsive-layout autorun must re-baseline (not react) to controller-driven restores, holding the flag across the async reveal: the desktop [D7] responsive sidebar hides the sessions sidebar when small + editor + aux-bar are all open. Switching sessions restores layout via two async paths — the desktop aux-bar restore (
openView/openViewContainer) and the base controller's editor working-set apply (_applyWorkingSet, which reveals the editor part after anawaitand runs on aSequencermicrotask). Both reveal parts in a later autorun run, so an inline "same-run session changed" check only absorbs the synchronous transition and the async reveal still auto-hid the sidebar on navigation. Fix: a shared base-controller_withSessionLayoutRestore(work)epoch wraps both restore paths (the working-set wrap is the critical one for non-modal editors); the D7 autorun re-baselines_previousSpaceConstrainedwhile_isRestoringSessionLayoutis true. Also gate the constrained derivation on!multipleSessionsVisibleObsso the feature is disabled with multiple sessions visible. Never use asetTimeoutto bridge the async reveal — tie the flag to the actual promise. - A promise-tied "epoch" helper must decrement synchronously for void/sync work, only deferring for real Promises:
_withSessionLayoutRestoreincrements a depth counter, runswork(), and decrements when done. If it always schedules the decrement on a microtask (Promise.resolve(result).finally(...)) — even whenwork()returnsundefined(the common no-op restore, e.g. a session with no workspace) — the depth stays elevated for the entire synchronous caller/test body, so_isRestoringSessionLayoutreadstrueforever and the consumer (D7) silently stops acting. Only defer the decrement whenwork()returns a thenable; for void/sync (or throwing) work, decrement in thefinally. - A quick-chat's workspace-less kind is fixed at adapter construction — every construction path must carry
_meta:AgentHostSessionAdapterresolves its session-kind (QuickChatSessionKindvsWorkspaceSessionKind) once, fromreadSessionWorkspaceless(metadata._meta)in the constructor;_computeWorkspace()andisQuickChatdelegate to that fixed kind and cannot be flipped by a laterupdate/setMeta. So the_meta.workspacelesstag must be present in the metadata passed to every adapter-construction path:_refreshSessions()/listSessionsand the live_handleSessionAdded(summary)notification (carrysummary._meta). Dropping_metaon either locks a committed quick chat intoWorkspaceSessionKindand leaks its<userHome>/.copilot/chats/<id>scratch dir as aworkspace(breaking the archive-on-delete fallback, list badges, changes/files). On the host,CopilotAgent.listSessions()must re-emit_meta.workspacelessfrom persistedcopilot.workspacelessmetadata (mirroringgetSessionMetadata) so restored sessions carry the tag once the state-manager live summary is gone. The host still keeps the tag on both the summary_metaandSessionState._meta(createSessionState(summary)copies it) so the channels stay consistent. - Don't infer "quick chat" from
workspace === undefined: a session's workspace observable isundefinedfor genuine quick chats but also transiently/edge-case for workspace-bound sessions, so keying quick-chat UI (context keys, list grouping) on it is imprecise. Expose the intent explicitly via the optionalISession.isQuickChat: IObservable<boolean>(only quick-chat-capable providers set it; absent ⇒false). The agent-host adapter derives it fromreadSessionWorkspaceless(_metaObs); non-quick-chat providers omit it. Consume it throughisQuickChatSession(session)/session.isQuickChat?.read(reader) ?? false. - Workspace-less is inferred from absent
workingDirectory— exclude forks from that inference: inCopilotAgent.createSession,isWorkspacelessmust be!sessionConfig.fork && !sessionConfig.workingDirectory. A fork that arrives without an explicitworkingDirectoryshould inherit the source session's context, not be taggedcopilot.workspacelessand dropped into a scratch dir + quick-chat system prompt. - On a failed quick-chat create, don't activate an unrelated draft:
SessionsService.openQuickChatmust, oncreateQuickChatthrowing, log and returnundefinedwithout falling back to_activate(newSession.get())— that observable can hold a workspace-bound draft from a different call site, so activating it is surprising. Return the activatedIActiveSessionfrom_activate/openQuickChat(setActive is synchronous and yields the wrapper) and have the caller focus that exact value, rather than re-readingactiveSession.get()afterwards. - Hide an aux-bar view CONTAINER via
hideIfEmpty: true+ a viewwhen, not a containerwhen:IViewContainerDescriptorhas nowhenproperty (onlyIViewDescriptordoes). To conditionally hide a whole container (its tab/title) — e.g. the Agents-window Changes/Files containers for workspace-less sessions — put the context-keywhenon the inner view(s) and sethideIfEmpty: trueon the container. Container visibility ishideIfEmpty && activeViewDescriptors.length === 0(viewsService.updateViewContainerEnablementContextKey), andactiveViewDescriptorsalready respects each view'swhen, so the container hides reactively when all its views'whengo false. - Don't gate "is this a quick chat?" routing on
isCreated && isQuickChat: a quick-chat draft isUntitled, soisCreated(= status !== Untitled,visibleSessions.ts) isfalse— yet it is still a quick chat. Gating quick-chat routing onisCreated && isQuickChat(e.g. the "New" action) makes a draft fall through to the workspace path (scratch-dir composer, no session-type picker, "No models available"). Route onisQuickChatalone so drafts and committed quick chats behave identically; useisCreatedonly when you genuinely need to distinguish a committed session from an in-composer draft. - Cmd+N in the Agents window is a new-session gesture only — don't fold quick-chat/peer-chat creation into it: session creation (Cmd+N,
NewChatInSessionsWindowAction/workbench.action.sessions.newChat→ alwaysopenNewSession), quick-chat creation (Chats-section "+", Cmd+K Cmd+N,NewQuickChatAction→openQuickChat), and peer-chat creation (chat "+", Cmd+T,AddChatToSessionAction) are three distinct keybindable actions. Keep them separate — Cmd+N must not become context-aware/mirror-route to a quick chat based on the active session's kind. - The New action must never inherit a quick chat's folder into the workspace composer:
openNewSessionFromActiveseeds the new-session composer withactiveSession.workspace.get()?.uri. A quick chat is workspace-less by intent, but if itsworkspaceobservable is ever non-undefined (e.g. a stale-build/coupling leak where_kindresolved toWorkspaceSessionKindbecause_meta.workspacelesswas dropped, exposing the host's scratch~/.copilot/chats/<id>cwd as a workspace), Cmd+N would carry that scratch dir intocreateNewSession→ "New session in<scratch>", single/no session type, no picker, "No models available". Gate the folder inheritance onactiveSession.isQuickChatso a quick chat always falls to the clean folder-picker composer regardless of any leaked workspace value. - A reused new-session composer must re-seed its workspace draft when it swaps out of quick-chat mode: the session-type picker hides itself when it has no folder types (
sessionTypePicker_folderSessionTypes.length === 0), which is the case whenever the composer has no active session (refresh(undefined)clears the types). A freshly opened new-session composer avoids this by seeding a workspace draft from the restored folder in its constructor — but the sameNewChatWidgetinstance is reused across the quick-chat→new-session transition (sessionView.tskeepskind==='newSession'), and Cmd+N'sopenNewSessiondiscard branch only_activate(undefined), leaving the reused composer session-less → picker hidden. Fix by re-running the constructor's seed (_seedWorkspaceDraft()) from an autorun when_isQuickChatComposerflips true→false with no active session, so the reused composer matches a fresh one (folder + visible picker). Don't assume the constructor-time restore covers a reused composer. - Every untitled-session-title fallback must be quick-chat aware: an untitled session's title observable is
'', so a hardcodedlocalize(…, "New Session")fallback shows "New Session" even for a quick chat (whose composer says "New Chat"). Route all such fallbacks through the sharedgetUntitledSessionTitle(isQuickChat)helper (services/sessions/common/session.ts, boolean param so each caller controls reader-tracked.read(reader)vs.get()). There are ≥5 sites — titlebar (sessionsTitleBarWidget), session header (×2: title + rename placeholder), list-row hover (sessionHoverContent), sessions picker (sessionsActions) — keep them on the helper; never hardcode "New Session". (The Cmd+N action title stays "New Session" — that action creates a session, unrelated to a session's own title.) NeedsInputis still an active turn for live turn UI: agent-host tool and input confirmations intentionally transition a running chat fromInProgresstoNeedsInputwithout endingactiveTurn. Live status surfaces such as the chat input pills must useisActiveSessionStatusso they do not disappear until the next output returns the chat toInProgress.- Agent-host-only exclusions for built-in client tools belong in
ClientToolSetsContribution, not the global tool registration:AgentHostActiveClientService.getClientToolsadvertises enabled members of every non-deprecated tool set, including extension-contributed sets. Omit an unsupported built-in tool from the client tool sets so normal Copilot chat can continue using it; do not treat this contribution as the sole Agent Host allowlist. - Non-interactive MCP authentication probes must not create dynamic authentication providers: Provider creation can prompt for manual client registration when dynamic registration is unsupported. With
allowInteraction: false, only inspect existing providers and sessions; defer metadata discovery and provider creation until the user invokes themcpAuthenticationRequiredaction. - Use structured maps for the state that is actually multi-keyed, not for an incidental cache: If MCP tracking is addressed by session + server, model that source of truth directly with
NKeyMap. Do not add a separateNKeyMapthat merely caches serialized storage keys while leaving the real tracking state in nested or synchronized maps.
Capturing Feedback (meta-rule)
Whenever the user flags a wrong pattern, rejects an approach, or gives design/rules feedback, automatically add it as a concise pitfall/learning to this Common Pitfalls section (or the most relevant spec doc) in the same change — without being asked again. Keep each entry 1–3 sentences: the anti-pattern, why it is wrong, and the preferred pattern.
-
Shared commands must delegate behavior to the layout service, not inspect a layout implementation:
workbench.action.toggleAuxiliaryBarmust call the semanticIWorkbenchLayoutService.toggleSecondarySideBar()operation. Do not branch on optional layout properties or concrete workbench shape in the shared action; each workbench owns how its secondary-sidebar affordance maps to visible parts. -
Name semantic layout operations after the user-facing surface: a shared operation must use the stable UI concept (
toggleSecondarySideBar()), not the implementation term (AuxiliaryBar) that happens to back it in classic layouts. This keeps single-pane mappings clear and avoids leaking layout internals through the API. -
Semantic layout commands need matching visibility and focus semantics: when a shared command maps to a different surface, expose a semantic visibility query for its toggled state and transfer focus before hiding the currently focused mapped surface. Otherwise menu labels lie about the action and keyboard users retain focus in hidden content.
-
Expose a mapped visible surface through a named public operation: when a shared layout operation maps to a different surface in the single-pane workbench, delegate through a public method named for that surface (for example,
toggleEditorPane()), rather than embedding its implementation in the unrelated override. Use the surface's established user-facing terminology in accessibility announcements. -
Default/main chat title persistence differs per provider — don't unify them: For the agent host, the default (main) chat title is independent of the session title (
AgentHostSessionAdapter._defaultChatTitleOverride, persisted on the host ascustomChatTitle:<defaultChatUri>); it must be seeded back on restore viarestoreSession/_ensureDefaultChat(mirroring_restorePeerChats), or it reverts to the session title after a process restart / idle eviction. For the local chat sessions provider (localChatSessionsProvider), the primary chat and the session intentionally share one_titleobservable, so renaming the first/main chat updates the session title live — this is by design; do not "fix" it to be independent. Only additional (non-primary) local chats have their own title. -
ISession.capabilitiesmust be observable, not a live plain getter: capabilities can hydrate/change after a session first surfaces (e.g. an agent host whose root state arrives after the session's firstSessionState). A plain getter cannot be tracked by the context-key autorun (setActiveSessionContextKeysreads it inside anautorun), sosupportsMultipleChats/sessionSupportsForkwould stay stale, and a multi-chat catalog processed whilesupportsMultipleChatswas stillfalsewould stay collapsed to[defaultChat]. ExposecapabilitiesasIObservable<ISessionCapabilities>(agent host derives it fromconnection.rootStateviaobservableFromEvent+derivedOptswithstructuralEquals; static providers useconstObservable), have consumers read.read(reader)/.get(), and re-apply the chat catalog from the lastSessionStatein anautorunon capability change. Do not fix this by firing_onDidChangeSessions— the active-session context autorun tracks the session's own observables, not the provider's session-list event. -
A managed/default editor tab must be re-ensured every sync, not opened once: the per-session editor working-set restore (
baseSessionLayoutController[B2]_applyWorkingSet) runs on session activation and is not docked-gated, so it reinstates the session's saved editor set and will close any tab not in it (e.g. a set persisted before a new tab existed). A controller that opens a default tab once (guarded by aSetof initialized sessions) therefore loses it permanently after the restore. Ensure managed tabs (the pinned Changes tab, the default File tab) idempotently on every sync (group.editors.some(e => e instanceof X)→ open if absent), exactly like the Changes tab — never with an open-onceSet. Also:IEditorService.openEditor(input, group)on a typedEditorInputbindsgroupto theoptionsparam (overload is(editor, options?, group?)); passopenEditor(input, undefined, group). -
A "keep the editor closed" rule must not react to the editor's visibility transition: the single-pane new-session rule (R1,
_registerSinglePaneNewSessionRules) must drive its hide off the session + active editor, never offonDidChangePartVisibility/aneditorVisibleObs.onWillOpenEditorreveals the editor before the opened file becomes the active editor, and toggling the detail panel off reveals the empty editor viasetAuxiliaryBarHidden— both fire the visibility event synchronously with the active editor still stale (managed empty tab). A rule that re-runs on that transition re-hides the editor the user just asked to show (file never appears; the whole side pane vanishes on detail-toggle). Hide only when the active editor is non-real content, read the current visibility untracked when deciding to hide, and block spurious width-based reveals at the source withsetSuppressDockedEditorRevealSync(true)rather than a visibility backstop. Refinement: dropping the visibility trigger entirely loses the backstop for automatic post-activation reveals (working-set restore, an editor left visible across a session switch), so the editor can appear in a fresh new-session view. Keep the visibility trigger but gate the hide on an explicit-reveal flag: the workbench records_editorRevealedExplicitly(set true only ononWillOpenEditorand the detail-toggle reveal, cleared on any hide and on the suppress false->true transition so a stale cross-session flag can't leak) and exposesisEditorRevealedExplicitly(); R1 re-hides only when the editor is visible and the reveal was not explicit. -
When the docked editor is hidden while the detail stays visible, clear the sidebar-grow snapshots: hiding the editor resizes the docked node down to the detail width (
_dockedAuxiliaryBarWidth). Any_editorSizeGrownForSidebarHide/_detailWidthGrownForSidebarHidesnapshot captured earlier (while the editor was visible and the sessions list was hidden) is now stale — restoring it when the sessions list is later shown re-inflates the node so the detail fills the whole side pane instead of the chat reclaiming the freed editor width.setEditorHidden(true)must drop both snapshots in the detail-still-visible branch. -
Overriding a workbench toolbar hover needs matching specificity: the core rule
.monaco-workbench .monaco-action-bar:not(.vertical) .action-label:not(.disabled):hover(and the:hoveroutline rule) sets the toolbar hover background/outline at ~6-7 class specificity. An action-item label that needs to override that hover (either to suppress it for a non-interactive label, or to re-skin it) must use an equal-or-higher-specificity selector (prefix.monaco-workbench ... .monaco-action-bar:not(.vertical) .action-item.<class> .action-label:hover), not a short.<class> .action-label:hoverthat loses the cascade. (The single-pane diff-stats pill was once suppressed this way while static; it is now a clickable action that opens the multi-file diff, so it keeps the standard--vscode-toolbar-hoverBackgroundhover.) -
A docked-detail editor must not reveal the editor area while the detail panel is already showing its content — model it as a base editor input the single-pane workbench recognises: the empty Files placeholder (
EmptyFileEditorInput) and the Changes multi-diff (SessionChangesEditorInput) surface their content in the docked detail panel (auxiliary bar). Activating one (closing a neighbouring tab so the workbench auto-opens the next editor viaeditorGroupView.doCloseActiveEditor→doOpenEditor, or clicking the tab) firesonWillOpenEditorunsuppressed and would otherwise reveal the hidden editor area. Both inputs extend the abstract baseDockedEditorInput(src/vs/sessions/common/dockedEditorInput.ts, extendsEditorInput). The baseWorkbench.revealEditorOnOpen(e)(theonWillOpenEditorhandler — a protected method, renamed from_handleWillOpenEditor) does the generic reveal;SinglePaneWorkbenchoverridesrevealEditorOnOpenand returns early (no reveal) whene.editor instanceof DockedEditorInput && partVisibility.auxiliaryBar && !partVisibility.editor— i.e. only when the detail panel is open and the editor area is closed — otherwise it callssuper.revealEditorOnOpen(e). So the docked-editor policy lives inSinglePaneWorkbench(the only workbench with a docked detail panel) via a proper type + the current part visibility, not a per-input marker, a contrib-registered predicate, or a remembered set. Note the condition means that when the detail panel is closed (whole side pane closed), opening a docked editor does reveal the editor area so its content is visible. Caveat: a deliberate open of the already-open Changes tab (session-header pillViewAllChangesAction) or a file diff (_openMultiFileDiffEditor) while the detail panel is open is still suppressed by this rule, so those must explicitly reveal viarevealEditorPartExplicitly()before opening (revealing before the open also avoids the multi-diff hanging while laid out in a hidden 0-size editor part). KeeprevealEditorOnOpena named protected method so it is unit-testable viaReflect.get(...prototype, ...). -
Gate single-pane editor-title layout/view actions on
MainEditorAreaVisibleContext; the Create Pull Request bar lives in the title bar, not the editor: single-pane (config.<DOCK_DETAIL_PANEL_SETTING>-gated) editor-title layout/view items (Maximize/Restore, Toggle Details, Hide Editor, Open in Modal, the diff-view actions collapse/expand/toggle-inline/list-tree) must includeMainEditorAreaVisibleContextso they disappear when the editor content is closed. The Create Pull Request anchor (CHANGES_HEADER_ACTIONS_ID) is not an editor-title action: it is contributed toMenus.TitleBarSessionMenu(the sessions title bar's session-actions area) byChangesHeaderActionsActioninchangesViewActions.ts, gated onIsSessionsWindowContext+IsAuxiliaryWindowContext.toNegated()+config.<DOCK_DETAIL_PANEL_SETTING>+SessionHasChangesContext(independent of editor-area visibility), and itsChangesActionsBarview item is registered for(Menus.TitleBarSessionMenu, CHANGES_HEADER_ACTIONS_ID)viaIActionViewItemService. The docked reveal-sync (_syncDockedEditorVisibility) must be symmetric: it reveals when the node widens past the detail width and hides (setspartVisibility.editor=false, flipsMainEditorAreaVisibleContext) when a sash drag squeezes the editor content back down to the detail width — same guards (_syncingDockedEditorVisibility,_suppressDockedEditorRevealSync,_dockDetailPanel, and only while the detail is visible). -
The managed Files placeholder tab is conditional, not always-on:
SinglePaneManagedTabsStrategyopens the empty Files placeholder (with the Changes tab) only when the editor group is empty on a view-open trigger (see the "add only when the group is empty" pitfall below), and removes it while a real (non-managed) file/diff is open in a visible editor area. It is not re-added when that file closes — the defaults return only when the group empties and the side pane is reopened. Drive the removal as a one-shot reaction ononWillOpenEditor(a genuinely new real-file open — skip re-activations wheregroup.contains(editor)is already true, non-main-part groups, and restore-driven opens), not a standingautorun/editor-change invariant (that would re-remove a Files tab the user just added via+). Close/open the placeholder undersuppressEditorPartAutoVisibility(). -
A per-session aux-bar (detail) capture must be skipped during a session-switch restore: the D2
onDidChangePartVisibilitylistener that records a created session's detail visibility must bail while_isRestoringSessionLayoutis true. During restore an external component (e.g.DetailPanelController) can transiently reveal the aux bar for the incoming active editor; capturing that overwrites the session's saved detail-hidden state, so switching back shows the detail even though the user had closed it. Keep the aux-bar sync work synchronous (fire-and-forget the view-open calls) so the restore epoch ends promptly and legitimate post-restore user toggles are still captured. -
The detail-panel forced reveal must be gated on the editor content being visible:
DetailPanelController._syncForcedTargetreveals the docked detail (aux bar) when a Changes/File editor becomes active while the detail is hidden. That reveal must additionally requireisVisible(EDITOR_PART, mainWindow)— otherwise, on a window reload where the user had closed the whole side pane (editor + detail both hidden, persisted), the restored managed tab becoming active re-reveals the detail and the closed state is lost. Reveal the detail only to accompany a visible editor; when the whole pane is intentionally closed, leave it closed. -
Auto-managed tabs stay user-closable via "add only when the group is empty" — not a dismissal set:
SinglePaneManagedTabsStrategyowns the managed Changes/Files docked tabs. They re-ensure on many signals (session state, editor visibility, editor changes), so naively re-creating them makes a close feel un-closable (they are non-previewpinEditor, NOT sticky — they do have close buttons; the blocker is the re-ensure). The clean rule that needs no_dismissedManagedTabsbookkeeping: open the default tabs only when the editor group is completely empty (group.editors.length === 0), and only on a "view opened" trigger — a session switch (the add-allowed session-state autorun) or the layout service'sonDidRevealSidePaneevent (fired by the workbench whenever the docked editor part and/or aux-bar detail transitions from fully hidden to visible). A plain editor-list / visibility change reconciles (e.g. removes the Files placeholder while a real file is open) but is add-disallowed. Why this is close-respecting for free: closing one managed tab while another (or a real file) remains leaves the group non-empty → not re-added; closing the last one closes the side pane → reopening it (empty group) restores the defaults. Opening a file firesonDidRevealSidePanetoo, but the sync is deferred on the docked-tab sequencer (which runs afteronWillOpenEditorhas added the editor), so the group is non-empty when it runs → defaults are not forced back → closing that file still closes the side pane. The add-disallowed editor-change trigger is essential: without it, closing the last tab (group empty) would immediately re-add the defaults and the pane could never close. The layout-driven add is done on the settled restore, not during it: the base controller firesonDidEndSessionLayoutRestorewhen the restore depth returns to 0 (after the — possibly async — working-set apply completes), exposed viaISinglePaneLayoutContext; the strategy reconciles off that ([Trigger D],openDefaultsIfEmpty: true). This is required for a new session, whose empty working set closes the previous session's docked tabs after the switch — reading the group during the async apply (an editor-change trigger) races the empty state and drops the Files tab; reconciling on the settled restore-end reads the reliably-empty group. Do not gate the add onisRestoringSessionLayoutcaptured in the editor-change autorun — that fires mid-apply and is fragile. A user file-open/close is not a restore, so it stays add-disallowed and a close still sticks. One exception — new-session submit: when the active session transitionsisCreatedfalse → true (in place, or via a resource-replace commit), the new-session view already holds the Files placeholder, so the empty-group rule would skip opening Changes; the submit transition is treated as a one-shot "ensure the Changes tab (pinned first, opened active)" even when the group is non-empty — opening it active (notinactive) is what makes the detail panel map to the Changes container rather than the still-present Files placeholder; it is a genuine one-time transition, so it never fights a later user close. Because submit fires two triggers (the session-state autorun'sensureChangesActiveand, via the submit restore,onDidEndSessionLayoutRestore's Trigger D), a single shared generation counter would let the later trigger's reconcile supersede and drop the earlier's intent — so the triggers' intents are accumulated (mergeTriggers, OR-combined into a pending trigger consumed by the surviving reconcile, re-merged infinallyif superseded mid-run) rather than replaced. Scope the pending intents to the session they were queued for (IPendingReconcile.sessionKey= the active session resource): a reconcile can be superseded mid-await(e.g. it stalls opening the Changes editor) by a session switch; if the superseded reconcile'sfinallymerged its old trigger back unconditionally, anensureChangesActive/ensureAllInputsintent for session A would leak onto session B and reopen a user-closed tab or activate Changes for the wrong session. Merge back (and accumulate on queue) only when the successor targets the samesessionKey; a session switch drops the previous session's stale intents. Second exception — a details-only reveal: whenonDidRevealSidePanefires with the aux-bar detail panel visible but the editor area hidden (isVisible(AUXILIARYBAR_PART) && !isVisible(EDITOR_PART)), the docked details panel shows the managed docked inputs, so they are ensured (Changes if created + Files) even when the group is non-empty — restoring one the user had closed earlier. This is tied to the reveal gesture (a close within an open details view still sticks until the next reveal); an editor-included reveal keeps the strict empty-group rule. Do NOT re-introduce a_dismissedManagedTabsset, anonDidCloseEditordismissal listener, infer the reopen from aux-bar visibility, or gate on a generic "side pane became visible (editor || aux)" check. The empty Files placeholder is tidied away when a real workspace file opens — a one-shot reaction ononWillOpenEditor(a realfile/vscode-remoteinput, skipped during a restore), not a standing "no placeholder while a real file is open" invariant enforced every reconcile. The standing invariant broke+Files: adding the placeholder while a file was open re-triggered the reconcile which immediately removed it again. Because+Files opens anEmptyFileEditorInput(not a real file), the one-shot listener ignores it, so a user-added Files tab survives while a real file is open (a tidy[Changes][file]strip still results from a real-file open). -
Editor-area collapse (closing non-docked tabs) fires only on a detail-only hide, never when the whole side pane closes:
SinglePaneEditorAreaCollapseStrategyreacts to the editor part hiding by closing every non-docked editor (capturing reopenable ones, dropping non-restorable ones). It must gate that on the aux bar still being visible (isVisible(AUXILIARYBAR_PART)): a Detail-only hide (Hide Editor keeps the detail) collapses the editors, but closing the whole side pane (both editor + aux hidden) must leave the editors intact so they return when the pane is reopened. The gate is reliable because the two hide paths order theirsetPartHiddencalls consistently —toggleSidePanehides the aux bar before the editor, so when the editor-hidden event fires the aux is already hidden (⇒ skip collapse);Hide Editorsets the aux visible before hiding the editor (⇒ aux visible ⇒ collapse). Don't collapse purely off "editor part hidden" — that also dropped dirty/non-restorable editors when the user just closed the side pane.
This skill's SKILL.md continues beyond what is shown here; read the rest in its source repository.
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: sessions](https://darkplay.ru/ai/skills/microsoft-vscode-sessions)
Описание
Архитектура окна Agents — охватывает приложение с приоритетом агентов, слои, структуру папок, виджет чата, меню, контрибуции, точки входа и рекомендации по разработке. Используйте при реализации функций или исправлении проблем в окне Agents.
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
claude-memthedotmack · Система постоянной памяти для Claude Code — сжатие контекста между сессиями.
dash0anthropics · Наблюдаемость OpenTelemetry для сессий Claude Code. Записывает вызовы инструментов…
outputaianthropics · Набор инструментов для разработки рабочих процессов Output.ai в Claude Code. Добавляет 5…
agentmemoryrohitg00 · Долгая память для ИИ-агентов: захват инструментов, сжатие и контекст сессий.
deep-workalirezarezvani · Планировщик Deep Work: разделение задач и расписание с блоками фокуса.
handoff-productivityalirezarezvani · Сжатие беседы в документ-передачу для другого агента.
skillopt-sleepalirezarezvani · Ночная офлайн-самоэволюция агента: сбор сессий, поиск повторяющихся задач, консолидация в…
worktrunkmax-sixty · Worktrunk — CLI для управления Git worktree, рассчитанный на параллельные рабочие…
law-studentanthropics · Сократический метод, разбор дел, составление планов, сессии подготовки к экзамену по…
workshop-facilitationdeanpeters · Проведение воркшопов с ровным темпом, вариантами и отслеживанием прогресса.Лучшие ИИ-инструменты для программирования
Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные
GenAPIGenapi
Notepad++ AINotepad-plus-plus
Creatium MaxCremax
Emacs AIGnu
KiteKite
Amazon Q DeveloperAmazonЛучшие ИИ-инструменты для автоматизации и ассистентов
Подборка ИИ-ассистентов для автоматизации рутины и ускорения рабочих процессов. Сервисы, которые берут на себя переписку, анализ данных, ведение базы знаний и подготовку продаж, эк
Give Me Public
AITunnelAitunnel
STIVAStiva
Wikibot (Викибот)Wikibot
mymeet.aiMymeet
InsighterInsighter
TGHuntTghunt
LegiscanLegiscan
RouterAIRouterai
Wikibot 1.0 (Викибот)WikibotЛучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-maker