diff --git a/HOW_TO_PUBLISH_A_TOOL.md b/HOW_TO_PUBLISH_A_TOOL.md index 9a7b913..565cb8c 100644 --- a/HOW_TO_PUBLISH_A_TOOL.md +++ b/HOW_TO_PUBLISH_A_TOOL.md @@ -133,13 +133,6 @@ Complete metadata for maximum visibility: } ], "frameworks": ["vercel-ai", "langchain"], - "links": { - "documentation": "https://docs.example.com", - "repository": "https://github.com/yourname/tool", - "homepage": "https://yourwebsite.com" - }, - "tags": ["sentiment", "nlp", "emotions", "ai"], - "status": "stable", "aiAgent": { "useCase": "Use this tool when users need to analyze sentiment in text, detect emotions, or understand the tone of customer feedback, reviews, or social media posts.", "limitations": "Only supports English and Spanish. Maximum 10,000 characters per request.", @@ -307,13 +300,6 @@ Here's the complete `package.json` from the published example: "description": "A structured blog post object with frontmatter, content, and metadata including slug, wordCount, readingTime, and formattedOutput" }, "frameworks": ["vercel-ai", "langchain"], - "links": { - "documentation": "https://tpmjs.com/tools/createblogpost", - "repository": "https://github.com/ajaxdavis/tpmjs/tree/main/packages/tools/createBlogPost", - "homepage": "https://tpmjs.com" - }, - "tags": ["blog", "content", "markdown", "mdx", "writing", "seo"], - "status": "stable", "aiAgent": { "useCase": "Use this tool when users need to generate blog posts, articles, or structured content with proper frontmatter and metadata. Ideal for content management systems, static site generators, and documentation sites.", "limitations": "Does not include AI content generation - you must provide the content. Only formats and structures existing content.", @@ -349,9 +335,6 @@ Here's the complete `package.json` from the published example: |-------|------|-------------| | `env` | array | Required environment variables | | `frameworks` | array | Compatible frameworks | -| `links` | object | Related URLs | -| `tags` | array | Additional tags | -| `status` | string | `stable`, `beta`, or `experimental` | | `aiAgent` | object | AI agent integration info | ### Categories @@ -401,7 +384,7 @@ Higher scores = better visibility on tpmjs.com! 1. **Use descriptive names** - Make your package name clear and searchable 2. **Complete metadata** - Tier 3 (Rich) tools get 4x the base score -3. **Good documentation** - Link to docs in the `links.documentation` field +3. **Good documentation** - Add documentation URL to package.json homepage or repository fields 4. **Active maintenance** - Regular updates boost download counts 5. **AI-friendly descriptions** - Write the `aiAgent.useCase` field as guidance for AI agents diff --git a/apps/web/src/app/publish/page.tsx b/apps/web/src/app/publish/page.tsx index 882b98c..4625baf 100644 --- a/apps/web/src/app/publish/page.tsx +++ b/apps/web/src/app/publish/page.tsx @@ -170,13 +170,6 @@ export default function PublishPage(): React.ReactElement { } ], "frameworks": ["vercel-ai", "langchain"], - "links": { - "documentation": "https://docs.example.com", - "repository": "https://github.com/yourname/tool", - "homepage": "https://yourwebsite.com" - }, - "tags": ["sentiment", "nlp", "emotions"], - "status": "stable", "aiAgent": { "useCase": "Use when users need to analyze sentiment or detect emotions", "limitations": "English and Spanish only. Max 10,000 characters", @@ -305,9 +298,7 @@ npm publish --access public "type": "BlogPost", "description": "Structured blog post with frontmatter" }, - "frameworks": ["vercel-ai", "langchain"], - "tags": ["blog", "content", "markdown"], - "status": "stable" + "frameworks": ["vercel-ai", "langchain"] } }`} /> @@ -331,7 +322,7 @@ npm publish --access public { icon: '📚', title: 'Good documentation', - desc: 'Link to docs in the links.documentation field', + desc: 'Add documentation URL to package.json homepage or repository fields', }, { icon: '🔄', diff --git a/apps/web/src/app/spec/page.tsx b/apps/web/src/app/spec/page.tsx index 8d4d0ef..1984d61 100644 --- a/apps/web/src/app/spec/page.tsx +++ b/apps/web/src/app/spec/page.tsx @@ -327,56 +327,6 @@ export default function SpecPage(): React.ReactElement { -
links
- - External links. Optional fields: -
-documentation - Full
- documentation URL
- playground - Interactive demo URL
- repository - Source code URL
- homepage - Project website
- tags
- - Array of additional tags for searchability. Maximum 10 tags, each 2-30 - characters. -
-status
- - Tool maturity level. One of: -
-aiAgent
@@ -422,13 +372,6 @@ export default function SpecPage(): React.ReactElement {
}
],
"frameworks": ["vercel-ai", "langchain"],
- "links": {
- "documentation": "https://docs.example.com",
- "repository": "https://github.com/yourname/tool",
- "homepage": "https://yourwebsite.com"
- },
- "tags": ["sentiment", "nlp", "emotions", "ai"],
- "status": "stable",
"aiAgent": {
"useCase": "Use when users need to analyze sentiment or detect emotions in text",
"limitations": "English and Spanish only. Max 10,000 characters per request.",
@@ -545,45 +488,6 @@ export default function SpecPage(): React.ReactElement {
links
- tags
- status
- aiAgent
@@ -761,14 +665,6 @@ export default function SpecPage(): React.ReactElement {
Invalid env: Each environment
variable must have a name and description
-