You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Unskip custom feed posts test (uses executeGraphql, doesn't need external service)
- Clarify orderBy defaults to algorithmic ranking when not provided
- Improve disableEngagementFilter description to explain what it does
- Remove redundant ranking parameter from custom feed posts endpoint (controlled by feed settings)
- Remove unnecessary profile fields (company, title, readme) from public API
- Move tools search endpoint to stack routes for better organization (/profile/stack/search)
- Update AGENTS.md with guidelines to prevent similar issues:
- Test coverage best practices
- API documentation clarity
- Avoiding redundant query parameters
- Endpoint organization
- Profile field exposure considerations
Co-authored-by: Ido Shamun <idoshamun@users.noreply.github.com>
**Most public API endpoints use `executeGraphql()`** which runs queries directly against the GraphQL schema - no external services needed. Check similar tests to confirm your endpoint works the same way before skipping.
364
+
365
+
### API Documentation Clarity
366
+
367
+
**Clarify technical terms and defaults in field descriptions.** API users may not understand domain-specific jargon:
// No readme, company, title - use main app for those
507
+
};
508
+
}>(...)
509
+
```
510
+
511
+
**Consider the use case**: The public API is for automation and AI agents. Complex or UI-heavy fields should stay in the web app where users can interact with rich editors and previews.
512
+
333
513
### Boolean Parameter Handling
334
514
335
515
**Never use `||` to provide null defaults for boolean parameters** - it incorrectly converts `false` to `null`:
0 commit comments