New tools added across multiple domains: - Sales: lead-score, proposal-outline, objection-response - Marketing: competitor-brief, campaign-brief, social-post-draft, email-subject-score, audience-persona, content-calendar-plan, pricing-page-copy - HR: job-description-draft, interview-questions, performance-review-draft, onboarding-checklist, compensation-band, survey-analyze, org-chart-format, offer-letter-draft, exit-interview-summarize, policy-doc-format - Legal: contract-clause-scan, nda-template-draft, tos-readability, risk-clause-highlight, invoice-terms-extract, gdpr-data-map, copyright-notice, trademark-check - Finance: expense-categorize, invoice-data-extract, budget-variance, cash-flow-project, revenue-breakdown, ratio-analysis, tax-deduction-scan, reconciliation-match - Customer Experience: feedback-themes, churn-risk-score, nps-analysis, ticket-categorize, response-template-suggest, health-score-calculate, renewal-forecast - Education: lesson-plan-outline, quiz-generate, rubric-create, syllabus-format, progress-report-draft, learning-objective-write, curriculum-map Also includes improvements to 68 existing tool implementations. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
81 lines
2.8 KiB
JSON
81 lines
2.8 KiB
JSON
{
|
|
"name": "@tpmjs/social-post-draft",
|
|
"version": "0.1.0",
|
|
"description": "Draft social media posts optimized for specific platforms with hashtags and call-to-action",
|
|
"type": "module",
|
|
"keywords": ["tpmjs", "social-media", "marketing", "content", "ai"],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": ["dist"],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"type-check": "tsc --noEmit",
|
|
"clean": "rm -rf dist .turbo"
|
|
},
|
|
"devDependencies": {
|
|
"@tpmjs/tsconfig": "workspace:*",
|
|
"tsup": "^8.3.5",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ajaxdavis/tpmjs.git",
|
|
"directory": "packages/tools/official/social-post-draft"
|
|
},
|
|
"homepage": "https://tpmjs.com",
|
|
"license": "MIT",
|
|
"tpmjs": {
|
|
"category": "marketing",
|
|
"frameworks": ["vercel-ai"],
|
|
"tools": [
|
|
{
|
|
"exportName": "socialPostDraftTool",
|
|
"description": "Drafts social media posts optimized for specific platforms (Twitter, LinkedIn, Instagram, Facebook) with appropriate hashtags, CTAs, and platform-specific best practices. Respects character limits and engagement patterns.",
|
|
"parameters": [
|
|
{
|
|
"name": "message",
|
|
"type": "string",
|
|
"description": "Core message to communicate in the social post",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "platform",
|
|
"type": "'twitter' | 'linkedin' | 'instagram' | 'facebook'",
|
|
"description": "Target social media platform",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "tone",
|
|
"type": "string",
|
|
"description": "Desired tone (professional, casual, friendly, etc.)",
|
|
"required": false
|
|
}
|
|
],
|
|
"returns": {
|
|
"type": "SocialPost",
|
|
"description": "Platform-optimized social post with content, hashtags, character count, suggestions, and CTA"
|
|
},
|
|
"aiAgent": {
|
|
"useCase": "Use this tool when users need to create social media posts optimized for specific platforms. Handles character limits, hashtag generation, and platform-specific best practices.",
|
|
"limitations": "Does not include AI content generation - you must provide the core message. Only optimizes and formats existing content for platforms.",
|
|
"examples": [
|
|
"Draft a Twitter post about our new product launch",
|
|
"Create a LinkedIn post about our latest blog article",
|
|
"Generate an Instagram caption for our event photos"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"ai": "6.0.0-beta.124"
|
|
}
|
|
}
|