dev-setup
Skill135 starsChanged 2 months agoMITView on GitHub
Set up the local development environment for APIView Copilot. Use for: dev setup, environment setup, install dependencies, create venv, configure env, permissions, get started, onboarding, new developer, RBAC setup, .env file.
- Reads credentials
- Installs packages
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Create a .env file in the project root with:
- Distinctive: line 39
All other settings (Cosmos DB, Search, Key Vault, etc.) are resolved from App Configuration at runtime.
- Very specific: line 72
Always activate the venv: before running any commands (avc, pytest, pylint, etc.)
- Very specific: line 73
avcnot found?: Use .\avc on Windows PowerShell, or ensure the project root is in your PATH
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Development Environment Setup
Procedure
1. Create and activate a virtual environment
# Windows
python -m venv .venv
.venv\Scripts\activate
# Linux/macOS
python -m venv .venv
source .venv/bin/activate2. Install dependencies
# Runtime + dev + eval dependencies
pip install -r dev_requirements.txt
# Runtime only
pip install -r requirements.txt3. Create the .env file
Create a .env file in the project root with:
ENVIRONMENT_NAME="staging"All other settings (Cosmos DB, Search, Key Vault, etc.) are resolved from App Configuration at runtime.
4. Grant Azure RBAC permissions
avc ops grantThis grants your identity the required roles:
- App Configuration Data Reader on
avc-appconfig-staging - Search Index Data Reader on Azure AI Search
- Cosmos DB Contributor on
avc-cosmos-staging - Key Vault access on
avc-vault-staging - Cognitive Services OpenAI User on
azsdk-engsys-openai - Azure AI User on
azsdk-engsys-ai
Pass --assignee-id <ID> to grant to a specific user instead of yourself.
5. Verify the setup
# Run unit tests
pytest tests
# Generate a review (needs a test API view file in scratch/apiviews/<lang>/)
avc review generate -l python -t scratch/apiviews/python/test.txt
# Health check the deployed service
avc ops checkGotchas
- Always activate the venv before running any commands (
avc,pytest,pylint, etc.) avcnot found? Use.\avcon Windows PowerShell, or ensure the project root is in your PATHModuleNotFoundError: prompty— You're running outside the venv. Activate it first.- Azure auth errors — Run
az loginfirst, thenavc ops grantto set up RBAC - Staging vs production — The
.envdefaults to staging. To use production, swap to the production App Config endpoint and setENVIRONMENT_NAME="production"
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- open-metadata/OpenMetadata★ 16ksame name
- google/capsem★ 169same name
- nwiizo/claudelytics★ 88same name
- my-chiefmind/ai-maestro★ 4same name
- mavrovde/bookvault★ 2same name
- gildasfremont/claude-skills★ 0same name
- tttdddkkk/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository43 other files it gives its agents.
- packages/python-packages/apiview-copilot/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- azsdk-common-apiview-feedback-resolutionSkill
- azsdk-common-generate-sdk-locallySkill
- azsdk-common-generate-sdk-pipelineSkill
- azsdk-common-pipeline-analysisSkill
- azsdk-common-pipeline-fixerSkill
- azsdk-common-prepare-release-planSkill
- azsdk-common-sdk-breaking-changeSkill
- azsdk-common-sdk-releaseSkill
- azsdk-common-typespec-namingSkill
- azure-typespec-assessmentSkill
- azure-typespec-authorSkill
- code-reviewSkill
- eval-authoring-skillSkill
- eval-authoring-toolSkill
- eval-authoring-workflowSkill
- markdown-token-optimizerSkill
- sdk-ai-bot-eval-datasetSkill
- sdk-ai-bot-run-evaluationSkill
- skill-authoringSkill
- add-endpointSkill
- audit-filtersSkill
- kb-searchSkill
- report-active-reviewsSkill
- report-apiview-metricsSkill
- report-architect-commentsSkill
- report-feedbackSkill
- report-memorySkill
- report-revisionsSkill
- run-evalsSkill
- run-metricsSkill
- update-guidelinesSkill
- apiview-feedback-resolutionSkill
- azure-typespec-authorSkill
- generate-sdk-locallySkill
- azsdk-common-live-and-recorded-testsSkill
- markdown-token-optimizerSkill
- pipeline-troubleshootingSkill
- azsdk-common-prepare-release-planSkill
- azsdk-common-sdk-releaseSkill
- skill-authoringSkill
- pr-review-helpSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

