Agent skill
appfolio-upgrade-migration
Migrate between AppFolio API versions and handle endpoint changes. Trigger: "appfolio upgrade".
Install this agent skill to your Project
npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/main/plugins/saas-packs/appfolio-pack/skills/appfolio-upgrade-migration
SKILL.md
appfolio upgrade migration | sed 's/\b(.)/\u\1/g'
API Version Migration
// Adapter pattern for API version changes
class AppFolioVersionAdapter {
private version: "v1" | "v2";
private client: any;
constructor(version: "v1" | "v2" = "v1") {
this.version = version;
}
async getProperties(): Promise<any[]> {
if (this.version === "v2") {
// v2 may return paginated results
return this.paginatedGet("/properties");
}
return (await this.client.get("/properties")).data;
}
private async paginatedGet(path: string): Promise<any[]> {
const results: any[] = [];
let cursor: string | null = null;
do {
const { data } = await this.client.get(path, { params: { cursor } });
results.push(...data.results);
cursor = data.next_cursor;
} while (cursor);
return results;
}
}
Resources
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
dockerfile-generator
Dockerfile Generator - Auto-activating skill for DevOps Basics. Triggers on: dockerfile generator, dockerfile generator Part of the DevOps Basics skill category.
branch-naming-helper
Branch Naming Helper - Auto-activating skill for DevOps Basics. Triggers on: branch naming helper, branch naming helper Part of the DevOps Basics skill category.
readme-generator
Readme Generator - Auto-activating skill for DevOps Basics. Triggers on: readme generator, readme generator Part of the DevOps Basics skill category.
makefile-generator
Makefile Generator - Auto-activating skill for DevOps Basics. Triggers on: makefile generator, makefile generator Part of the DevOps Basics skill category.
gitignore-generator
Gitignore Generator - Auto-activating skill for DevOps Basics. Triggers on: gitignore generator, gitignore generator Part of the DevOps Basics skill category.
pre-commit-hook-setup
Pre Commit Hook Setup - Auto-activating skill for DevOps Basics. Triggers on: pre commit hook setup, pre commit hook setup Part of the DevOps Basics skill category.
Didn't find tool you were looking for?