Repository navigation
docs(skills): document AI traffic tracking, audit force and draft reviewer - #1964
Merged
Merged
Conversation
…iewer The MCP tools changed in ansvisor#1920, ansvisor#1927 and ansvisor#1916; the skills and the MCP guide still described the old answers. - get_ai_traffic / GET /ai-traffic: `tracking` (not_detected, installed_quiet, active); a 0 with not_detected means nothing is measured yet. Coach skills (MCP + REST), mcp-server.mdx and api-reference/metrics.mdx (GET /api/v1/ai-traffic returns it too). - run_site_audit / POST /site-audits: a running page's audit comes back with alreadyRunning and no credit; a page audited in the last 10 minutes returns recently_audited and starts nothing unless force. Coach skills, audit-fix (Chat) and mcp-server.mdx; library.json refreshed. - get_content_draft_package: the qualified reviewer (reviewer) and its WebPage reviewedBy JSON-LD once the page names them. mcp-server.mdx. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
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
Docs-only follow-up to #1920, #1927 and #1916, which changed MCP tool answers. Skill docs follow MCP tool changes in a separate PR.
What the docs now describe
get_ai_traffic'strackingstate (fix(traffic): say whether the tracking snippet is installed, not a bare 0 (00433) #1927):not_detected,installed_quietoractive. 0 visits withnot_detectedmeans nothing is measured yet, not "no AI traffic".run_site_audit's one audit per page (fix(audit): run one audit per page at a time, so the same page never costs twice (00431) #1920):alreadyRunning, using no credit;recently_audited;force: trueaudits it again.get_content_draft_package'sreviewerfield (feat(content): publish qualified reviewers on regulated pages #1916), with its WebPagereviewedByJSON-LD.Files
skills/ansvisor-aeo-coach/SKILL.mdandskills/ansvisor-aeo-coach-standalone/SKILL.md(MCP and REST): tool notes and a Pitfalls line about reading 0 visits.skills/audit-fix/SKILL.md: step 1 handles a running or recent audit, asking beforeforce.web/src/lib/chat/skills/library.jsonis refreshed for this, withyarn test -u src/lib/chat/skills.docs/guides/mcp-server.mdxanddocs/api-reference/metrics.mdx.The tools from #1877, #1880, #1882 and #1890 are Chat-only, not on the MCP server, so the tool count (65) is unchanged. #1922 changed no schema.
Related issue
None. Follow-up to #1916, #1920 and #1927.
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
Read the changed docs against the tools' answers. Unit tests: the Chat skills library tests and
agent-skillspass (3 files / 52 tests).Checklist
help/(or no user-visible change)CI passed on this branch (2eb87a5), run on the fork (https://github.com/cihan-gyk/ansvisor/actions/runs/41351173452): 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