Repository navigation
feat(agents): let agents use the seven focus skills - #1948
Merged
Merged
Conversation
…son's work areas (W2-22) CHAT-24 §3: the focus picker opens once on the first Chat Home (marked shown as it opens) with the areas the person's work areas suggest, Home's pill reopens it, and Settings › General › Your focus keeps changes at once. Focus only changes suggestions; no migration (00400 focus, 00408 focus_prompted_at). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main hid Answer language, notifications and "Thought for N s" in Chat Settings (ansvisor#1903). Keep them hidden and keep the new Your focus row, in the component, the page comment and the help article. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…uestions and a competitor's rise (W2-23a) CHAT-24 §4: For you now takes the picked areas' shortcuts in turn (five beside Ask anything, CHAT-08 v2's six chips; the three jobs keep their counts and rules), Start with a question offers four in the workspace's own competitor, topic and market or their general wording, the line under the greeting says a competitor's mention rate rose 3+ points this week when nothing needs the person, and the / menu lists the focus's skills first. No migration. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… own settings saveChatFocus, skipChatFocus and markFocusPrompted write only the person's own chat_user_prefs row and cost nothing, like saveChatGeneralSettings, so they join the read-only coverage test's open list with their reasons. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… Home (W2-23b) Adds /questions, /features, /gaps, /markets, /listings, /rivals and /audit-fix (CHAT-24 §5) to the skills library, so it holds twenty-one. Chat Home shows up to four of them under "New for you" for the picked focus areas, and the / menu lists each area's new skills right after its own. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… pill is cancelled From the pill the picker's way out still saved an empty focus, so changing your mind wiped the focus you had. Opened from the pill it now reads Cancel and only closes; Skip for now stays the first opening's answer.
New agent's skill step and its follow-on list offered only the fourteen skills of W2-04. The focus areas' seven (W2-23b: Buyer questions, How AI compares us, No clear leader, Who AI recommends by market, Listing gaps, Rival brief and Site audit fixes) are in Chat's library, so an agent can run them too. - agent-skills.ts: the seven join ANSVISOR_SKILLS in the library's order (SKILL_ORDER). Their SKILL.md files read only Ansvisor's own data and public pages, and save page work as drafts, so none needs a connection: /listings reads the sites AI cites, not a catalog; /audit-fix writes a robots or CMS change for the person to make. - en.json: their titles under chatAgents.skills, as their SKILL.md says. - Tests: agent-skills.test.ts (every library skill, in order, titled as its SKILL.md, the seven with no connection), syncConnections, and the form's skill grid and follow-on list. - Help: agents.md says which skills an agent can use. Stacked on ansvisor#1918 (W2-23b). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…kills # Conflicts: # help/chat/agents.md # web/src/components/chat/agents/agent-form.test.tsx
8 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Agents can now use the focus areas' seven skills from #1918 (W2-23b): /questions, /features, /gaps, /markets, /listings, /rivals and /audit-fix. #1918 is merged, and this branch has current main merged in. No migration.
What changes
ANSVISOR_SKILLS(web/src/lib/chat/agent-skills.ts) in the library's order.[]. Each SKILL.md was read: none reads Search Console, Analytics, a CMS or a catalog.agent-skills.test.tscovers the list, the order and the connections. Form tests andhelp/chat/agents.mdare updated.The business-type and role packs build on this, in a stacked PR.
Related issue
None. Agents plan §8, after Agent Center PR B (#1917).
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
CHAT_AGENTIC=true, open Agent Center › New agent. The skill grid lists 21 Ansvisor skills, the seven new ones included, each with "No connection needed".agent-skills,agent-form(lib and component), skills library,agent-connectionsand help.Checklist
yarn lintpasses (0 errors; 7 old warnings in files this PR doesn't touch)yarn typecheckpassesyarn format:checkpasseshelp/(or no user-visible change)CI passed on this branch (c4c9daf), run on the fork (https://github.com/cihan-gyk/ansvisor/actions/runs/41332930408): schema is up to date; web
format:check, lint, typecheck, all tests andyarn buildpass; server lint,format:checkand all tests pass.🤖 Generated with Claude Code