appinterface-check
Skill2 starsChanged 19 days agoApache-2.0View on GitHub
Validate app-interface configuration and release readiness. Validates YAML, compares refs to live cluster, shows quotas, pending MRs. Use when user says "check app-interface", "app-interface validation".
In this repository124 other files it gives its agents.
- add-projectSkill
- ansible-configure-vmSkill
- api-smoke-testSkill
- attach-session-to-jiraSkill
- aws-rds-debugSkill
- beerSkill
- bootstrap-all-knowledgeSkill
- bootstrap-knowledgeSkill
- build-persona-styleSkill
- cancel-pipelineSkill
- cert-checkSkill
- check-ci-healthSkill
- check-integration-testsSkill
- check-mr-feedbackSkill
- check-my-prsSkill
- check-secretsSkill
- ci-retrySkill
- cleanup-branchesSkill
- cleanup-stale-executionsSkill
- clone-jira-issueSkill
- close-issueSkill
- close-mrSkill
- cloud-inventorySkill
- coffeeSkill
- compare-optionsSkill
- create-jira-issueSkill
- create-mrSkill
- create-slide-deckSkill
- data-migration-verifySkill
- debug-local-dbSkill
- debug-prodSkill
- deploy-to-ephemeralSkill
- dev-workflow-orchestratorSkill
- discovered-work-summarySkill
- edit-slide-deckSkill
- email-digestSkill
- environment-overviewSkill
- explain-codeSkill
- export-presentationSkill
- extend-ephemeralSkill
- find-similar-codeSkill
- gather-contextSkill
- gdrive-researchSkill
- gke-cluster-opsSkill
- hello-worldSkill
- hotfixSkill
- inscope-researchSkill
- investigate-alertSkill
- investigate-service-issuesSkill
- investigate-slack-alertSkill
- jira-hygiene-allSkill
- jira-hygieneSkill
- knowledge-refreshSkill
- konflux-statusSkill
- learn-architectureSkill
- learn-patternSkill
- list-presentationsSkill
- local-build-testSkill
- local-dev-environmentSkill
- manage-local-servicesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Check $ref paths point to /services/ or /dependencies/
- Distinctive: line 35
Check required fields: name, app, resourceTemplates
- Very specific: line 75
No route to host → learn_tool_fix("kubectl_get_deployments", "no route to host", "VPN not connected", "Run vpn_connect()")
- Very specific: line 76
No such host → learn_tool_fix("gitlab_mr_list", "no such host", "VPN not connected", "Run vpn_connect()")
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
App-Interface Check
Inputs
| Input | Type | Default | Purpose |
saas_file | string | tower-analytics | SaaS file name |
namespace_stage | string | tower-analytics-stage | Stage namespace |
namespace_prod | string | tower-analytics-prod | Production namespace |
deployment | string | automation-analytics-api-fastapi-v2 | Deployment to check for live SHA |
stale_days | int | 7 | Alert if deployed SHA older than this |
gitlab_project | string | automation-analytics/automation-analytics-backend | Project for pending MRs |
app_name | string | automation-analytics | Application name for search |
Workflow
1. Bootstrap
persona_load("release")— appinterface toolscheck_known_issues("appinterface", ""),check_known_issues("release", "")knowledge_query(project="automation-analytics-backend", persona="release", section="gotchas")
2. Get SaaS File
appinterface_search(query="{app_name}")appinterface_get_saas(service_name="{saas_file}")- Parse refs: stage_ref, prod_ref (40-char SHAs), $ref paths
3. Validation
- Validate SHA format: 40-char hex or 'main'
- Check $ref paths point to /services/ or /dependencies/
- Check required fields: name, app, resourceTemplates
4. Live State (switch to devops)
persona_load("devops")kubectl_get_deployments(namespace="{namespace_stage}", environment="stage")— extract deployed image SHAkubectl_get_deployments(namespace="{namespace_prod}", environment="prod")— prod SHA
5. Compare State
- stage_in_sync = app-interface stage_ref matches live cluster
- prod_in_sync = app-interface prod_ref matches live cluster
- stage_ahead_of_prod = stage has newer ref
- ready_to_promote = stage_ahead and stage_in_sync
6. Diff & Resources
appinterface_diff()— uncommitted changesappinterface_resources(namespace="{namespace_stage}")kubectl_get(resource="resourcequota", namespace="{namespace_stage}", environment="stage")kubectl_get(resource="limitrange", namespace="{namespace_stage}", environment="stage")
7. Pending MRs (switch to developer)
persona_load("developer")gitlab_mr_list(project="{gitlab_project}", state="opened", per_page=10)
8. Release Readiness
- ready = validation_ok and stage_ahead and no_pending_changes
- blockers: validation issues, stage not ahead, uncommitted changes
- warnings: open MRs, stage drift
9. Report
- Validation status
- Live state comparison (stage vs prod)
- Pending changes
- Resource quotas/limits
- Pending MRs
- Release readiness
- Log:
memory_session_log("Checked app-interface", "Ready: {ready}")
10. Failure Learning
- Not found →
learn_tool_fix("appinterface_get_saas", "not found", "SaaS file missing", "Check saas_file input") - Forbidden →
learn_tool_fix("kubectl_get_deployments", "forbidden", "K8s auth expired", "Run kube_login('stage') and kube_login('prod')") - No route to host →
learn_tool_fix("kubectl_get_deployments", "no route to host", "VPN not connected", "Run vpn_connect()") - No such host →
learn_tool_fix("gitlab_mr_list", "no such host", "VPN not connected", "Run vpn_connect()")
Key MCP Tools
persona_load,appinterface_search,appinterface_get_saas,appinterface_diff,appinterface_resourceskubectl_get_deployments,kubectl_getgitlab_mr_listcheck_known_issues,learn_tool_fix,knowledge_query,memory_session_log
Key Namespaces
- tower-analytics-stage — stage
- tower-analytics-prod — production
If Ready to Release
skill_run("release_to_prod", '{"commit_sha": "{stage_ref}"}')Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

